Open CoolLoveBoy opened 4 years ago
The function of evaluating has not completed,but you can finished it easily by refereing of training function.
Could you provide the function of evaluating? If you have done, I will thanks very much.
This project is being reconstructed and the function will be accomplished.
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!