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

I need some help about Qualitative Results and validation #29

Open
seokyeongbaek opened this issue Nov 20, 2023 · 4 comments
Open

I need some help about Qualitative Results and validation #29

seokyeongbaek opened this issue Nov 20, 2023 · 4 comments

Comments

@seokyeongbaek
Copy link

seokyeongbaek commented Nov 20, 2023

hello.

I proceeded from QCNet train to validation for path prediction.

Could you please provide the ipynb file and code for visual testing such as Qualitative Results?

And, I am trying to validate a model already trained with num_future_steps =60, num_historical_steps=50.
Can you please suggest the code to get minADE, minFDE for num_future_steps 0 to 10 or 0 to 20 in validation?

@ZikangZhou
Copy link
Owner

The qualitative results are generated with matplotlib. You can, for example, write the prediction results to a pickle file via test.py, and then plot the waypoints stored in the pickle file using matplotlib.

@ZikangZhou
Copy link
Owner

To obtain the metrics for shorter horizons, you can modify the input sent to the metric calculator. For example during updating min ADE, you can modify the code to be:

self.minADE.update(pred=traj_eval[:, :, :20, :self.output_dim], target=gt_eval[:, :20, :self.output_dim], prob=pi_eval, valid_mask=valid_mask_eval[:, :20])

to obtain minADE from 0 to 20.

@seokyeongbaek
Copy link
Author

Thank you for your response. I'll proceed as you suggested with the feedback!

@Mastersrange
Copy link

Hi @seokyeongbaek
Could you please share the code file if you have got the quantitative results(visualization).

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

3 participants