megvii-research / FSCE

Apache License 2.0
274 stars 47 forks source link

python setup.py build develop #60

Open jiaoxue52 opened 2 years ago

jiaoxue52 commented 2 years ago

Hello, thank you for your work, I ran python setup.py build develop this line of code, encountered the following problem, is there any way to solve it?

文件 “setup.py”, line 99, in package_data={“fsdet.model_zoo”: get_model_zoo_configs()}, 文件 “setup.py”, 第 80 行, 在 get_model_zoo_configs shutil.rmtree(destination) 文件 “/home/anaconda/miniconda3/envs/fsce/lib/python3.8/shutil.py”, 第 718 行, 在 rmtree _rmtree_safe_fd(fd, path, onerroror) ) 文件 “/home/anaconda/miniconda3/envs/fsce/lib/python3.8/shutil.py”, 第 631 行, 在 _rmtree_safe_fd onerror(os.scandir, path, sys.exc_info()) File “/home/anaconda/miniconda3/envs/fsce/lib/python3.8/shutil.py”, 第 627 行, _rmtree_safe_fd os.scandir(topfd) as scandir_it: NotADirectoryError: [Errno 20] Not a directory: '/home/usst/huyu/FSCE-main/fsdet/model_zoo/configs'

We look forward to hearing from you

2563895797 commented 2 years ago

i miss the same problem. have you fix it?

jiaoxue52 commented 2 years ago

i miss the same problem. have you fix it?

在这个路径里配置一个configs文件就可以了,我能问一下,你是用Windows系统还是Linux系统复现的?

2563895797 commented 2 years ago

linux

HM-W commented 2 years ago

windows下复现build fsdet时出现编译的问题 fatal error LNK1181: 无法打开文件\FSCE-main\build\temp.win-amd64-3.8\Release\Dev\workspace\FSCE-main\fsdet\layers\csrc\vision.obj 我看了看它生成的ninja文件,去手动编译生成vision.obj也出现问题,该怎么解决

jiaoxue52 commented 2 years ago

windows下复现build fsdet时出现编译的问题 致命错误 LNK1181: 无法打开文件\FSCE-main\build\temp.win-amd64-3.8\Release\Dev\workspace\FSCE-main\fsdet\layers\csrc\vision.obj 我看了看它生成的ninja文件,去手动生成编译vision.obj也出现问题,该怎么解决

很抱歉,我没有遇到过这个问题,请问你用windows跑通了这个代码吗?

Victory8858 commented 1 year ago

i miss the same problem. have you fix it?

you can use ln -s /home/..../FSCE/configs ./fsdet/model_zoo

wqian11 commented 1 year ago

i miss the same problem. have you fix it?

在这个路径里配置一个configs文件就可以了,我能问一下,你是用Windows系统还是Linux系统复现的?

你好,具体是怎么配置的呢,没有太看懂你是什么意思

wqian11 commented 1 year ago

i miss the same problem. have you fix it?

you can use ln -s /home/..../FSCE/configs ./fsdet/model_zoo

我试了一下这个,但是并没有解决,不知道是我不是我哪里有问题呢 image

initialqing commented 1 year ago

i miss the same problem. have you fix it?

在这个路径里配置一个configs文件就可以了,我能问一下,你是用Windows系统还是Linux系统复现的?

请问是如何配置的呢能否详细的说一下,我把model_zoo下面的configs文件中的路径换成自己的路径还是报你图所示的错误

initialqing commented 1 year ago

image同时将configs下面的路径换成自己的路径就可以了

wqian11 commented 1 year ago

python setup.py build develop;error: command '/usr/local/cuda/bin/nvcc' failed with exit code 1-人工智能-CSDN问答你可以看看这个,我之前配环境写的,这个环境我上学期配出来的,现在具体操作已经王的差不多了  

1812636781 @.***

 

------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2023年2月23日(星期四) 下午3:12 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [megvii-research/FSCE] python setup.py build develop (Issue #60)

i miss the same problem. have you fix it?

在这个路径里配置一个configs文件就可以了,我能问一下,你是用Windows系统还是Linux系统复现的?

请问是如何配置的呢能否详细的说一下,我把model_zoo下面的configs文件中的路径换成自己的路径还是报你图所示的错误

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

initialqing commented 1 year ago

还需要改一下setup.py中的代码,将destination的configs换成config

initialqing commented 1 year ago

python setup.py build develop;error: command '/usr/local/cuda/bin/nvcc' failed with exit code 1-人工智能-CSDN问答你可以看看这个,我之前配环境写的,这个环境我上学期配出来的,现在具体操作已经王的差不多了   1812636781 @.   ------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2023年2月23日(星期四) 下午3:12 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [megvii-research/FSCE] python setup.py build develop (Issue #60) i miss the same problem. have you fix it? 在这个路径里配置一个configs文件就可以了,我能问一下,你是用Windows系统还是Linux系统复现的? 请问是如何配置的呢能否详细的说一下,我把model_zoo下面的configs文件中的路径换成自己的路径还是报你图所示的错误 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.>

谢谢