From what I was able to find online this seems to be related to CUDA.
In your import code I saw you have alternative imports set up:
try:
from utils.pybox import *
except ImportError as e:
print(e)
print('Warning: C++ module import failed! This should only happen in deployment')
from utils.util import py_nms as torch_nms
from utils.util import py_box_overlap as torch_overlap
Hello, I have tried using your code to run a trained model on the CPU, however when I import box I get the following error:
From what I was able to find online this seems to be related to CUDA.
In your import code I saw you have alternative imports set up:
However I couldn't find that part of the code on GitHub: https://github.com/uci-cbcl/NoduleNet/blob/master/utils/util.py.
Could you please provide it?
Thank you so much!