RotationDetection icon indicating copy to clipboard operation
RotationDetection copied to clipboard

请问有人用windows配置环境吗

Open daili650 opened this issue 3 years ago • 11 comments

python setup.py build_ext --inplace命令报错 Traceback (most recent call last): File "setup.py", line 55, in CUDA = locate_cuda() File "setup.py", line 43, in locate_cuda raise EnvironmentError('The nvcc binary could not be ' OSError: The nvcc binary could not be located in your $PATH. Either add it to your path, or set $CUDAHOME

daili650 avatar Oct 19 '21 07:10 daili650

hi @daili650 ,

Have you added cuda to your environment variable?

sandhyacs avatar Oct 19 '21 09:10 sandhyacs

cuda and cudnn package setup needs to be there. set the path in Environment Variable.

sandhyacs avatar Oct 19 '21 09:10 sandhyacs

AttributeError: 'MSVCCompiler' object has no attribute 'compiler_so'

hi, i face the following error as well when trying to compile in windows system.

zhao-lun avatar Oct 29 '21 01:10 zhao-lun

遇到了同样的问题,请问您是怎么解决的

Anonymous-ace avatar Dec 20 '21 13:12 Anonymous-ace

You need to add the cuda path to bashrc. export CUDA_HOME=/usr/local/cuda-8.0 export LD_LIBRARY_PATH=${CUDA_HOME}/lib64

PATH=${CUDA_HOME}/bin:${PATH} export PATH

LUO77123 avatar Dec 27 '21 02:12 LUO77123

可以训练,但是无法测试。出现以下问题: Traceback (most recent call last): File "I:/projects/RotationDetection-new/tools/r3det/test_dota.py", line 33, in tester.eval() File "I:/projects/RotationDetection-new/tools/r3det/test_dota.py", line 25, in eval self.test_dota(det_net=r3det, real_test_img_list=real_test_img_list, txt_name=txt_name) File "I:\projects\RotationDetection-new\tools\test_dota_base.py", line 299, in test_dota proc.start() File "D:\Anaconda\envs\rod\lib\multiprocessing\process.py", line 112, in start self._popen = self._Popen(self) File "D:\Anaconda\envs\rod\lib\multiprocessing\context.py", line 223, in _Popen return _default_context.get_context().Process._Popen(process_obj) File "D:\Anaconda\envs\rod\lib\multiprocessing\context.py", line 322, in _Popen return Popen(process_obj) File "D:\Anaconda\envs\rod\lib\multiprocessing\popen_spawn_win32.py", line 65, in init reduction.dump(process_obj, to_child) File "D:\Anaconda\envs\rod\lib\multiprocessing\reduction.py", line 60, in dump ForkingPickler(file, protocol).dump(obj) TypeError: can't pickle module objects 可能是由于windows的多进程问题,但是不知道如何解决。

daili650 avatar Jan 11 '22 03:01 daili650

你可以改一个不用多进程的测试脚本。

PS:挺多人问我windows下面怎么跑这个repo的,我也不会,方便的话请你写一个教程。

yangxue0827 avatar Jan 11 '22 03:01 yangxue0827

大佬好,感谢大佬回复。我要是可以跑了,就把win教程发在您这里

---原始邮件--- 发件人: @.> 发送时间: 2022年1月11日(周二) 中午11:08 收件人: @.>; 抄送: @.@.>; 主题: Re: [yangxue0827/RotationDetection] 请问有人用windows配置环境吗 (Issue #52)

你可以改一个不用多进程的测试脚本。

PS:挺多人问我windows下面怎么跑这个repo的,我也不会,方便的话请你写一个教程。

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you commented.Message ID: @.***>

LUO77123 avatar Jan 11 '22 03:01 LUO77123

非常感谢 @LUO77123

yangxue0827 avatar Jan 11 '22 03:01 yangxue0827

I experience above the problem. I think the solution is cpp to py. because, rbbox_overlaps.cpp module don't read on train.py of each tools. please, if you can translation cpp to py, upload code for us.

what is path of each parameter below capture. (cudaconfig)

image

window cuda toolkit bin is below capture

image

and I want to know what kind of cuda toolkit file for composition parameters of cudaconfig

i download cuda toolkit url is https://developer.nvidia.com/cuda-10.1-download-archive-base?target_os=Windows&target_arch=x86_64&target_version=10&target_type=exelocal.

if, you can download cuda toolkit, tell me about file name consistent with parameters of cudaconfig.

sangheonEN avatar Mar 11 '22 08:03 sangheonEN

请教您一下关于rotationDetection这个代码如何可以在Windows跑通,我尝试搜索解决方案,但都没有效果,特向您请教!谢谢@LUO77123

1xinyi avatar Aug 04 '23 04:08 1xinyi