image_class icon indicating copy to clipboard operation
image_class copied to clipboard

关于predict.py的问题

Open Chen65010445 opened this issue 5 years ago • 6 comments

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

Chen65010445 avatar Jan 10 '20 07:01 Chen65010445

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

tslgithub avatar Jan 13 '20 01:01 tslgithub

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

Chen65010445 avatar Jan 13 '20 01:01 Chen65010445

问题解决啦吗

tslgithub avatar Jan 14 '20 03:01 tslgithub

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

Chen65010445 avatar Jan 14 '20 03:01 Chen65010445

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

tslgithub avatar Jan 14 '20 08:01 tslgithub

[email protected]

| | 陈佳庚 邮箱:[email protected] |

签名由 网易邮箱大师 定制

在2020年01月14日 16:29,tslgithub 写道:

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

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

Chen65010445 avatar Jan 14 '20 08:01 Chen65010445