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

Visualize Prediction Failure following the docs #42

Closed
wbjsamuel opened this issue Mar 19, 2023 · 2 comments
Closed

Visualize Prediction Failure following the docs #42

wbjsamuel opened this issue Mar 19, 2023 · 2 comments

Comments

@wbjsamuel
Copy link

wbjsamuel commented Mar 19, 2023

Hi, thanks for the nice work! I strictly followed the docs you provided and completed the part of training and evaluation(maptr_tiny_r50_24e.py). However, when I want to visualize the prediction, I meet this problem

Traceback (most recent call last):
  File "tools/maptr/vis_pred.py", line 401, in <module>
    main()
  File "tools/maptr/vis_pred.py", line 235, in main
    pts_filename = img_metas[0]['pts_filename']
KeyError: 'pts_filename'

It seems to be caused by something with the data. Could you please tell me how can I modify the raw code to get it right? Thanks a lot.

@LegendBC
Copy link
Member

I have fixed this problem, you can pull the repo and try it again. It is due to the modification of supporting the multi-modality

@wbjsamuel wbjsamuel changed the title Visual Prediction Failure following the docs Visualize Prediction Failure following the docs Mar 20, 2023
@wbjsamuel
Copy link
Author

I have fixed this problem, you can pull the repo and try it again. It is due to the modification of supporting the multi-modality

Thanks for the update! The visualization problem has been settled!

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