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

not predicting trajectory for every agent; validation data #74

Open
ahsan155 opened this issue Oct 15, 2023 · 3 comments
Open

not predicting trajectory for every agent; validation data #74

ahsan155 opened this issue Oct 15, 2023 · 3 comments

Comments

@ahsan155
Copy link

I trained the model and have checkpoints. I make prediction by running test.py in tools folder. I checked the config file and it looks like prediction is made on validation data. Running test.py creates output folder which contains result.pkl file. But the issue I have is, this result.pkl file does not contain predicted trajectory for all the agents that are in validation data for a particular scenario. In one scenario of validation data, I have 83 agents but for the same scenario, in result.pkl file there are only 3 agents with trajectory. How can I get trajectory for all agents?

@FQYQC
Copy link

FQYQC commented Oct 19, 2023

Have you pulled the newest commit? Previous codes seem to have this issue, but the newest commit changes the data structure of result.pkl, which should have solve this.

@BJHYZJ
Copy link

BJHYZJ commented Oct 24, 2023

I also encountered this problem and it seems still not been solved.

@ahsan155
Copy link
Author

I figured it out. At the end of tfrecord file, there is field called tracks_to_predict which specifies the index of tracks to make prediction on. In my case, tracks_to_predict field had index of only 3 agents. I inserted more index in this field to do more predictions.

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