-
Notifications
You must be signed in to change notification settings - Fork 31
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
Comments
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? |
In order to save the tuples I use Python 3.8.5 and save_data_bdw.py is the
file I run .
To train Ithemal I use docker so the python version there is Python 2.7.16
Could a solution be to use 2.7.16 and on my own computer to save the
tuples??
|
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. |
Thanks maybe that was the problem |
I am trying to train the model with bhive dataset and I take the following result.
That's how I save the tuples on a .pkl file
Has anybody the same problem and succeed to solve it??
The text was updated successfully, but these errors were encountered: