AttributeError: Caught AttributeError in DataLoader worker process 0.
msun67 opened this issue · 9 comments
Hi
Running this in a Colab Notebook.
All is well until running the demo.
I get:
File "/usr/local/lib/python3.10/dist-packages/torch/_utils.py", line 722, in reraise
raise exception
AttributeError: Caught AttributeError in DataLoader worker process 0.
Can you help me?
what is the cmd that you trying to run?
%%shell
cd /content/shapy/regressor
python demo.py --save-vis true --save-params true --save-mesh true --split test --datasets openpose --output-folder samples/shapy_fit/ --exp-cfg configs/b2a_expose_hrnet_demo.yaml --exp-opts output_folder=../data/trained_models/shapy/SHAPY_A part_key=pose datasets.pose.openpose.data_folder=../samples datasets.pose.openpose.img_folder=images datasets.pose.openpose.keyp_folder=openpose datasets.batch_size=1 datasets.pose_shape_ratio=1.0
I am trying to run the cmd command.
I can't see it because I don't have access to it :(
did you try to install pytorch ?
The error message says that np.int does not exist. I assume your install numpy version is different from the version we use in SHAPY. Make sure you have numpy==1.19.5 installed.
this work for me: see https://colab.research.google.com/drive/1vcMP4e8QALFUNzadKAz5fE7_3Gu90EDj#scrollTo=1naSpmZGIg_t
Hey is it possible for you to grant me access to the collab?
I am having some issues with mine.