lilanxiao/Rotated_IoU

Not able to run Rotated_IoU in Spyder but works in Anaconda Prompt

dominikj2 opened this issue · 2 comments

Hi,

I managed to run Rotated_IoU in the Anaconda Prompt by first running setup.py and then running demo.py.

I am not experienced with CUDAExtensions but when I try to run in spyder, i get the following error with setup.py:

DistutilsArgError: no commands supplied


During handling of the above exception, another exception occurred:

SystemExit: usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
   or: setup.py --help [cmd1 cmd2 ...]
   or: setup.py --help-commands
   or: setup.py cmd --help

error: no commands supplied

What are the required commands?

I am an R user that is trying to translate Rotated_IoU code into R. Can you explain why I can not get it to run in spyder?

Hi, I'm not familiar with Spyder since I use VS Code. Here is my guess. Did you use this in Spyder?
%run ./setup.py
The proper command should be
%run ./setup.py install

Fantastic. That worked. Thank you