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

关于predict.py的问题 #16

Open
Chen65010445 opened this issue Jan 10, 2020 · 6 comments
Open

关于predict.py的问题 #16

Chen65010445 opened this issue Jan 10, 2020 · 6 comments

Comments

@Chen65010445
Copy link

我用自己的dataset做了训练也在config和predict中做了相应的路径和class修改,但是运行predict后会提示我下面这个错误
FileNotFoundError: [Errno 2] No such file or directory: './test/abnormal '
我明明这个路径下是有文件的,一开始我以为是单一文件,但是发现你提供的试验用打dataset中也是不只一张图,我想请问我该如何解决这个问题?

@tslgithub
Copy link
Owner

我用的Ubuntu,和win的路劲格式不一样,要是你用win,要该路径格式,
或者你换成绝对路劲试一下

@Chen65010445
Copy link
Author

我就是用的Ubuntu啊 改了路径之后不行

@tslgithub
Copy link
Owner

问题解决啦吗

@Chen65010445
Copy link
Author

没有 我改成绝对路径以后依然会报错找不到路径内文件

@tslgithub
Copy link
Owner

你发邮箱,取得联系方式,我给你调一下

@Chen65010445
Copy link
Author

Chen65010445 commented Jan 14, 2020 via email

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

2 participants