You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are some bugs in the script.
such as in Class Data_Loader, with open(os.path.join(path,"train.pickle"),"r") as f: would raise an error. As the pickle file was save in byte mode, but in this line, it was opened in str mode. So the 'r' should be replaced by 'rb'.
In other parts, there are some other bugs. Please fix it if you have time. 3Q.
P.S. I don't yet know how to pull a request, sorry for that.
The text was updated successfully, but these errors were encountered:
Sorry for the late reply. I've rerun the code but cannot reproduce the error you mentioned. I think it is due to the python version. In python 2.7, it should be fine. But I have to admit that it is better to use "rb" when reading the pickle file as you pointed out.
Please let me know any other issues you found. Thank you again for your time.
There are some bugs in the script.
such as in Class Data_Loader, with open(os.path.join(path,"train.pickle"),"r") as f: would raise an error. As the pickle file was save in byte mode, but in this line, it was opened in str mode. So the 'r' should be replaced by 'rb'.
In other parts, there are some other bugs. Please fix it if you have time. 3Q.
P.S. I don't yet know how to pull a request, sorry for that.
The text was updated successfully, but these errors were encountered: