model = net() test.py 和train.py中的这行代码net()下边一直有红线,是哪里出现问题了呢?
test.py运行结果:
TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType
train.py 运行结果如下
FileNotFoundError: [Errno 2] No such file or directory: './Data\DUTS-TR/ILSVRC2012_test_00000004.jpg'
model = net()
test.py 和train.py中的这行代码net()下边一直有红线,是哪里出现问题了呢? test.py运行结果: TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType train.py 运行结果如下 FileNotFoundError: [Errno 2] No such file or directory: './Data\DUTS-TR/ILSVRC2012_test_00000004.jpg'