huaifeng1993 / DFANet

reimpliment of DFANet: Deep Feature Aggregation for Real-Time Semantic Segmentation
255 stars 66 forks source link

How to Solve My Problem? #26

Open CoolLoveBoy opened 4 years ago

CoolLoveBoy commented 4 years ago

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!

huaifeng1993 commented 4 years ago

The function of evaluating has not completed,but you can finished it easily by refereing of training function.

CoolLoveBoy commented 4 years ago

Could you provide the function of evaluating? If you have done, I will thanks very much.

huaifeng1993 commented 4 years ago

This project is being reconstructed and the function will be accomplished.