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

Data loading error: No persistent_load function #12

Open
bowen-upenn opened this issue Mar 16, 2024 · 0 comments
Open

Data loading error: No persistent_load function #12

bowen-upenn opened this issue Mar 16, 2024 · 0 comments

Comments

@bowen-upenn
Copy link

bowen-upenn commented Mar 16, 2024

Nice work! We would like to make a comparison between our VQA algorithm and yours in our ongoing research paper. However, after downloading the dictionary.pkl file and running the test.sh script, I encountered an error message stating "no persistent_load function was specified" when attempting to load the dataset. It seems that a persistent ID is required to load the dataset, but it is not provided. I would appreciate your help. Thank you.

loading dictionary from data/gqa/dictionary.pkl
Traceback (most recent call last):
  File "evaluate.py", line 133, in <module>
    dictionary = Dictionary.load_from_file('data/gqa/dictionary.pkl')
  File "/home/cfr/src/FFOE/dataset.py", line 86, in load_from_file
    word2idx, idx2word = pickle.load(open(path, 'rb'))
_pickle.UnpicklingError: A load persistent id instruction was encountered,
but no persistent_load function was specified.
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

1 participant