Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python setup.py build develop #60

Open
jiaoxue52 opened this issue Apr 7, 2022 · 13 comments
Open

python setup.py build develop #60

jiaoxue52 opened this issue Apr 7, 2022 · 13 comments

Comments

@jiaoxue52
Copy link

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
Copy link

i miss the same problem. have you fix it?

@jiaoxue52
Copy link
Author

i miss the same problem. have you fix it?

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

@2563895797
Copy link

linux

@HM-W
Copy link

HM-W commented Apr 23, 2022

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
Copy link
Author

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
Copy link

i miss the same problem. have you fix it?

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

@wqian11
Copy link

wqian11 commented Sep 22, 2022

i miss the same problem. have you fix it?

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

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

@wqian11
Copy link

wqian11 commented Sep 22, 2022

i miss the same problem. have you fix it?

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

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

@initialqing
Copy link

i miss the same problem. have you fix it?

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

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

@initialqing
Copy link

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

@wqian11
Copy link

wqian11 commented Feb 23, 2023 via email

@initialqing
Copy link

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

@initialqing
Copy link

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: @.***>

谢谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants