I tried to run this command : python setup.py build develop but these error raised :
D:/Artificial Intelligence/Object Detection/FreeAnchor-master/FreeAnchor-master/maskrcnn_benchmark/csrc/cuda/ROIAlign_cuda.cu(275): error: no instance of function template "THCCeilDiv" matches the argument list
argument types are: (long long, long)
D:/Artificial Intelligence/Object Detection/FreeAnchor-master/FreeAnchor-master/maskrcnn_benchmark/csrc/cuda/ROIAlign_cuda.cu(275): error: no instance of overloaded function "std::min" matches the argument list
argument types are: (<error-type>, long)
D:/Artificial Intelligence/Object Detection/FreeAnchor-master/FreeAnchor-master/maskrcnn_benchmark/csrc/cuda/ROIAlign_cuda.cu(320): error: no instance of function template "THCCeilDiv" matches the argument list
argument types are: (int64_t, long)
D:/Artificial Intelligence/Object Detection/FreeAnchor-master/FreeAnchor-master/maskrcnn_benchmark/csrc/cuda/ROIAlign_cuda.cu(320): error: no instance of overloaded function "std::min" matches the argument list
argument types are: (<error-type>, long)
4 errors detected in the compilation of "C:/Users/127051/AppData/Local/Temp/tmpxft_000021a0_00000000-10_ROIAlign_cuda.cpp1.ii".
error: command 'C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v10.1\\bin\\nvcc.exe' failed with exit status 1
I have not tested compile on Windows, this error may be due to the pytorch or cuda version. Fortunately, since ROIAlign is not required in FreeAnchor, you can try to remove the ROIAlign layer.
I tried to run this command :
python setup.py build develop
but these error raised :