Open CODERED555 opened 8 months ago
I encountered the same error and resolved it. The error originated from python3 setup.py install
. If you replace install
with build
, it will work for you.
Here is my solution:
Install Ninja:
apt-get install ninja-build
Build using a different command:
python3 setup.py build
pip3 install .
Test:
python3 test.py
when I try to sh ./make.sh,it shows that ModuleNotFoundError: No module named 'torch',how can i solve this problem.![1705336100203](https://github.com/fundamentalvision/Deformable-DETR/assets/150223457/2e2fda6e-f4b8-4300-8625-2fb0a87bed97)