-
Notifications
You must be signed in to change notification settings - Fork 84
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
Blacklist Pickle Error (Invalid load key) #36
Comments
@desegura what version of Python are you using? For reference, I pickled the file on Python 3.7 |
(and for reference, you do need to un-gzip before trying to load it in) |
Hi @turtlesoupy I'm using python 3.7.6 and I already un-gzip the blacklist with GNUWin32 / gzip obtaining a .pickle of 90.310 KB but I get a similar error: I'm on windows 10 v.2004 + every deps installed on my miniconda3 title_maker_pro environment 🤔 |
@desegura I think this has to do with your network set-up on that machine, I'm able to access that URL without any issue: https://s3.amazonaws.com/models.huggingface.co/bert/gpt2-config.json |
Thank you @turtlesoupy idk why but python is giving me some random errors: Can you please indicate the exact configuration you used to run the scripts? Thanks! |
@desegura that error is in the transformers library, it looks like the GPT-2 base model archive it is trying to load is corrupt in some way; perhaps the download was broken? Anyway, here's a dump of my conda environment: https://gist.github.com/turtlesoupy/aae757ec70f2efd2cc71083255adf4e2. It's running on Ubuntu 20.04 and Python 3.7.6 |
@desegura I notice that your forward and inverse models still have |
Hi friends,
When executing it in my Anaconda prompt I got this error:
I tried:
Finally I guess '\x1f' refers to an error reading '\b' in the blacklist_path but I don't really know how to solve it.
Any help please? 😕
The text was updated successfully, but these errors were encountered: