DecaYale / RNNPose

RNNPose: Recurrent 6-DoF Object Pose Refinement with Robust Correspondence Field Estimation and Pose Optimization, CVPR 2022
Apache License 2.0
160 stars 17 forks source link

ModuleNotFoundError: No module named 'thirdparty.nn._ext' #18

Closed lululovecode closed 1 year ago

lululovecode commented 1 year ago

hi! I use docker to run RNNPose. But I met this error: Traceback (most recent call last): File "/home/workspace/tools/eval.py", line 34, in from utils.eval_metric import * File "/home/workspace/utils/eval_metric.py", line 7, in from thirdparty.nn import nn_utils File "/home/workspace/thirdparty/nn/nn_utils.py", line 2, in from thirdparty.nn._ext import lib, ffi ModuleNotFoundError: No module named 'thirdparty.nn._ext' I found that "_ext" thirdparty is a .c and .h file. How could I use it? Thank you very much!

DecaYale commented 1 year ago

Hi! Have you run the following commands? You need to compile the library before usage.

cd RNNPose/scripts
bash compile_3rdparty.sh