Closed monajalal closed 10 months ago
Hello Mona,
Thanks for your interest in our work! To run the inference, you do not need to have the synthetic data. Feel free to remove the part that uses Blender data (i.e., this line, this line, and take out blender_set
from this line). You do not need any of the training data to run the inference. If you are having trouble setting up other parts of the training data (e.g., fuse_set
), please feel free to remove them as well.
I hope this helps! Let me know if you have further concerns.
@chensong1995 thanks a lot for your response. Isn't fuse_set also dependent on the blender dataset?
I commented both blender_set and fuse_set and get the following error:
(hybridpose) mona@mona-ThinkStation-P7:~/HybridPose$ python src/train_core.py --load_dir saved_weights/linemod/ape/checkpoints/0.001/199 --object_name ape
number of model parameters: 12959563
Successfully loaded model from saved_weights/linemod/ape/checkpoints/0.001/199
Traceback (most recent call last):
File "/home/mona/HybridPose/src/train_core.py", line 112, in <module>
trainer.generate_data(val_loader)
File "/home/mona/HybridPose/./trainers/coretrainer.py", line 548, in generate_data
regressor = load_wrapper()
File "/home/mona/HybridPose/lib/regressor/regressor.py", line 13, in load_wrapper
regressor = CDLL('wrapper.so')
File "/home/mona/anaconda3/envs/hybridpose/lib/python3.10/ctypes/__init__.py", line 374, in __init__
self._handle = _dlopen(self._name, mode)
OSError: wrapper.so: cannot open shared object file: No such file or directory
Hi Mona,
Thanks for your follow-up! The error message suggests the program cannot find the file wrapper.so
. Please follow README and compile the pose regressor. I hope this helps! Let me know if you have further concerns.
I am trying to get an inference on trained weights of ape however it tells me that I need the
blender_linemod
. Have you shared this data somewhere or are you able to share the link to downloading the data that is produced usingPVNet-Rendering
?Also, why is there a need for synthetic data access in order to run the inference?
https://github.com/chensong1995/HybridPose/issues/43#issuecomment-1586262802