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

_pickle.UnpicklingError: the STRING opcode argument must be quoted #4

Closed
salmaShahid opened this issue Apr 4, 2020 · 2 comments
Closed

Comments

@salmaShahid
Copy link

salmaShahid commented Apr 4, 2020

Hey while running the following command
python spatial_cnn_cpu.py --resume model_best.pth.tar --demo

I got this pickle error
File "spatial_cnn_cpu.py", line 38, in main
train_loader, test_loader, test_video = data_loader.run()
File "C:\Users\LeNoVo T430\Desktop\Real-Time-Action-Recognition\dataloader\spatial_dataloader.py", line 96, in run
self.load_frame_count()
File "C:\Users\LeNoVo T430\Desktop\Real-Time-Action-Recognition\dataloader\spatial_dataloader.py", line 85, in load_frame_count
dic_frame = pickle.load(file)

_pickle.UnpicklingError: the STRING opcode argument must be quoted

plz guide me how can i solve this problem

@danbochman
Copy link
Owner

Hey,

It seems like a compatibility / version problem, and not a problem with the code itself.
In an e-mail you've sent me you mentioned that you're using Python 3.6.8
This repository was written on Python 2.7, so maybe try that?

@salmaShahid
Copy link
Author

thank you so much sir for your reply!
Sir can you please guide me any alternative solution of this issue...!

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