You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2019-11-23 22:45:28,078 mobilenetv3_large INFO: Start validation, Total sample: 500
Traceback (most recent call last):
File "eval.py", line 108, in
evaluator.eval()
File "eval.py", line 60, in eval
for i, (image, target, filename) in enumerate(self.val_loader):
ValueError: not enough values to unpack (expected 3, got 2)
现在他一运行总是报这个错误
就这一段代码里面,原来for循环里面不是有一个filename的吗?然后他总是报错。后来我就迫不得已把他删掉, mask.save(os.path.join(outdir, str(i) + '.png'))改成用i循环命名的方法?有什么办法可以解决吗?求助了!
The text was updated successfully, but these errors were encountered: