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
When I python3 main.py, it occur the problem:
train finished
Traceback (most recent call last):
File "main.py", line 42, in
trainer.evaluate(val_loader)
File "/home/coollove/SemanticSegmentation/DFANet-master/train.py", line 251, in evaluate
inputs, labels = data['image'], data['gt_map']
TypeError: list indices must be integers or slices, not str
What can I do to solve this problem!
The text was updated successfully, but these errors were encountered:
When I python3 main.py, it occur the problem:
train finished
Traceback (most recent call last):
File "main.py", line 42, in
trainer.evaluate(val_loader)
File "/home/coollove/SemanticSegmentation/DFANet-master/train.py", line 251, in evaluate
inputs, labels = data['image'], data['gt_map']
TypeError: list indices must be integers or slices, not str
What can I do to solve this problem!
The text was updated successfully, but these errors were encountered: