Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem when running run_ithemal.py #65

Open
teoaivalis opened this issue Jan 22, 2023 · 4 comments
Open

Problem when running run_ithemal.py #65

teoaivalis opened this issue Jan 22, 2023 · 4 comments

Comments

@teoaivalis
Copy link

I am trying to train the model with bhive dataset and I take the following result.
Screenshot from 2023-01-22 18-03-48

That's how I save the tuples on a .pkl file
Screenshot from 2023-01-22 18-06-56

Has anybody the same problem and succeed to solve it??

@alexrenda
Copy link
Collaborator

I've had that issue before when using different versions of software in the different parts of the system. Could you send both the code you're using to save the tuples (just the actual save is fine), along with the python version you're using for Ithemal and for saving tuples?

@teoaivalis
Copy link
Author

teoaivalis commented Jan 29, 2023 via email

@alexrenda
Copy link
Collaborator

Yes, using Python 2.7 on your computer to save the tuples would likely fix the issue. You may also be able to use Python 3.8 with pickle protocol version 2 (https://docs.python.org/3/library/pickle.html), though I haven't tested this myself.

@teoaivalis
Copy link
Author

Thanks maybe that was the problem
now the training started!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants