YoungXIAO13 / PoseFromShape

(BMVC 2019) PyTorch implementation of Paper "Pose from Shape: Deep Pose Estimation for Arbitrary 3D Objects"
http://imagine.enpc.fr/~xiaoy/PoseFromShape/
MIT License
170 stars 34 forks source link

Question and errors #31

Open JaouadROS opened 1 year ago

JaouadROS commented 1 year ago

Hello, Thank you for sharing the source code. I've noticed that all the images used in your article are cropped around the object. Did you try your approach otherwise?

I've also started running the code on my machine but I'm getting some errors when running the script python render.py

Color management: using fallback mode for management
  0%|                                                                                                                                                                                                                                                                                            | 0/12 [00:00<?, ?it/sP(  0.0000 sec |   0.0000 sec) Importing OBJ 'CAD/aeroplane/aeroplane.mat'...                                                                                                                                                                                                                      | 0/1 [00:00<?, ?it/s]
  (  0.0001 sec |   0.0001 sec) Parsing OBJ file...
Progress:   0.00%

Error: Traceback (most recent call last):
  File "/home/jaouadros/anaconda3/envs/PoseFromShape/lib/python3.6/site-packages/2.77/scripts/addons/io_scene_obj/__init__.py", line 147, in execute
    return import_obj.load(context, **keywords)
  File "/home/jaouadros/anaconda3/envs/PoseFromShape/lib/python3.6/site-packages/2.77/scripts/addons/io_scene_obj/import_obj.py", line 1066, in load
    context_multi_line = b'l' if strip_slash(line_split) else b''
  File "/home/jaouadros/anaconda3/envs/PoseFromShape/lib/python3.6/site-packages/2.77/scripts/addons/io_scene_obj/import_obj.py", line 835, in strip_slash
    if line_split[-1][-1] == 92:  # '\' char
IndexError: list index out of range

location: /home/jaouadros/anaconda3/envs/PoseFromShape/lib/python3.6/site-packages/2.77/scripts/modules/bpy/ops.py:189

Do you have an idea about what could be the problem?