Open GYE19970220 opened 4 years ago
请问各位前辈,训练成功了,测试时报错: imgs = sorted(imgs, key=lambda x: int(x.split('.')[-2].split('/')[-1])) ValueError: invalid literal for int() with base 10: 'test1\\1' 是什么意思?
imgs = sorted(imgs, key=lambda x: int(x.split('.')[-2].split('/')[-1]))
ValueError: invalid literal for int() with base 10: 'test1\\1'
把dataset中split中/换成\试试
主函数中import models出错该怎么改啊
解决了吗
请问各位前辈,训练成功了,测试时报错:
imgs = sorted(imgs, key=lambda x: int(x.split('.')[-2].split('/')[-1]))
ValueError: invalid literal for int() with base 10: 'test1\\1'
是什么意思?