Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to Solve My Problem? #26

Open
CoolLoveBoy opened this issue Mar 5, 2020 · 3 comments
Open

How to Solve My Problem? #26

CoolLoveBoy opened this issue Mar 5, 2020 · 3 comments

Comments

@CoolLoveBoy
Copy link

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
Copy link
Owner

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

@CoolLoveBoy
Copy link
Author

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

@huaifeng1993
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants