megvii-research / Iter-E2EDET

Official implementation of the paper "Progressive End-to-End Object Detection in Crowded Scenes"
MIT License
88 stars 8 forks source link

No module named 'win32con' #14

Open Aliweka2020 opened 2 years ago

Aliweka2020 commented 2 years ago

I am running the repo on RTX2060 with pytorch1.10 + cuda 10.2 environment and got this error File "C:\Users\Ali\anaconda3\envs\detr\lib\site-packages\portalocker-2.4.0-py3.10.egg\portalocker\portalocker.py", line 10, in import win32con ModuleNotFoundError: No module named 'win32con'

ang suggestions

yexiguafuqihao commented 2 years ago

Hope this may help U.

Aliweka2020 commented 2 years ago

It helps me thanks, but during installing dectron2, I got this error. I using pytorch1.10 + cuda 10.2 version

C:\Users\Ali\crowdhuman-main\DETR\Iter-E2EDET-main\detectron2\layers\csrc\nms_rotated\nms_rotated_cuda.cu(68): error: identifier "single_box_iou_rotated" is undefined detected during instantiation of "void nms_rotated_cuda_kernel(int, float, const T , unsigned long long ) [with T=float]" (105): here

C:\Users\Ali\crowdhuman-main\DETR\Iter-E2EDET-main\detectron2\layers\csrc\nms_rotated\nms_rotated_cuda.cu(68): error: type name is not allowed detected during instantiation of "void nms_rotated_cuda_kernel(int, float, const T , unsigned long long ) [with T=float]" (105): here

C:\Users\Ali\crowdhuman-main\DETR\Iter-E2EDET-main\detectron2\layers\csrc\nms_rotated\nms_rotated_cuda.cu(68): warning: expression has no effect detected during instantiation of "void nms_rotated_cuda_kernel(int, float, const T , unsigned long long ) [with T=float]" (105): here

C:\Users\Ali\crowdhuman-main\DETR\Iter-E2EDET-main\detectron2\layers\csrc\nms_rotated\nms_rotated_cuda.cu(58): warning: variable "cur_box" was set but never used detected during instantiation of "void nms_rotated_cuda_kernel(int, float, const T , unsigned long long ) [with T=float]" (105): here

5 errors detected in the compilation of "C:/Users/Ali/crowdhuman-main/DETR/Iter-E2EDET-main/detectron2/layers/csrc/nms_rotated/nms_rotated_cuda.cu". error: command 'C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.3\bin\nvcc.exe' failed with exit code 1

any advices