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

error when run test_kitti #8

Closed
tracykim opened this issue Jun 20, 2020 · 4 comments
Closed

error when run test_kitti #8

tracykim opened this issue Jun 20, 2020 · 4 comments

Comments

@tracykim
Copy link

hi,when i run test_kitti.py use pretrained model your provided, there is an error in
/utils/tester.py, line 326, in test_kitti
T_gth = inputs['trans']
KeyError: 'trans'

i have checked inputs do not have a key 'trans', so how to solve it, thank you.

@XuyangBai
Copy link
Owner

XuyangBai commented Jun 20, 2020

Hi, @tracykim I just tried the code, and the code went well on my server. So could you check it again? The trans will be saved at this line so there should be a key trans.

@tracykim
Copy link
Author

hi,thanks for your reply in time, i can save npz,what i means is this line

@XuyangBai
Copy link
Owner

XuyangBai commented Jun 20, 2020

Sorry I misunderstood your question, the ground truth transformation was saved in model.anchor_inputs in here so there should be a key named trans for KITTI, did you changed the name of the dataset in test_kitti.py? It should be working if you use the default test_kitti.py

Hope that helps.

@tracykim
Copy link
Author

hi,you got it,thanks a lot!

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