sam-hq icon indicating copy to clipboard operation
sam-hq copied to clipboard

demo_hqsam

Open Dreamer-LRZ opened this issue 2 years ago • 4 comments

When I run demo_hqsam, the following problem arises: _pick. UnpicklingError: A load persistent id instruction was encountered, but no persistent_load function was specified. How can I solve it?****

Dreamer-LRZ avatar Jul 05 '23 07:07 Dreamer-LRZ

hi, you can refer to the codalab notebook on how to run demo_hqsam.py. But this seems more like a pickle file problem.

lkeab avatar Jul 05 '23 09:07 lkeab

Hello, Did you find a solution to your problem? I faced a similar issue when running the code on CPU.

shersoni610 avatar Jul 07 '23 14:07 shersoni610

does this suggestion solve your problem?

lkeab avatar Jul 08 '23 06:07 lkeab

@shersoni610 @lkeab I think this problem is caused by the incompatibility of the torch version in the training and testing stages.

Dreamer-LRZ avatar Jul 09 '23 02:07 Dreamer-LRZ