Comments (9)
For checkpoint zip files, I updated the file names in the readme with the same file names on Google Drive. Could you please try to load again as instructed? Let me know if you still have a missing-keys problem. And RELATION_PRED_DIR and INFLUENCER_PRED_DIR are the paths of the prediction result pickle files.
from m2i.
Hi, I used the evaluation scripts in the updated readme for Conditional Trajectory Prediction but I am still having the missing keys and size mismatch problems. Specifically, the default value of validation_model in conditional_pred.yaml is 30, but there is not a checkpoint for the 30th epoch. As a result, I changed 30 to 29. However, when using the checkpoint for the 29th epoch, I am still encountering missing keys and size mismatch problems.
from m2i.
Seems like there is a channel size mismatch. Could you try to delete the 'raster_inf' flag in 'other_params' from the conditional_pred.yaml file and try it again. Thanks.
from m2i.
Hi Alan, I removed raster_inf from conditional_pred.yaml but the missing keys and size mismatch problems still exist.
from m2i.
I found the problem. It should be 'train_reactor' instead of 'train_relation' in the conditional_pred.yaml file. Could you please update the conditional_pred.yaml file and give it another try? It should work this time.
from m2i.
Hi Alan, thank you. Changing train_relation to train_reactor works. However, after saving merged result, the function motion_metrics.result() throws an assertion error.
from m2i.
You can ignore this error and inspect the prediction result saved in the pickle file. It would be more complicated if you want to evaluate the conditional prediction result properly. To evaluate prediction results with Waymo's interactive dataset API, the shape for each scenario needs to be (6, n, 80, 2). The result needs 6 different predictions and n is the number of agents to predict (n=2 for the interactive dataset). You would need to merge 6 groups of prediction results of the reactors by a conditional prediction for each influencer prediction. Unfortunately, this part of code is not released in this repo.
from m2i.
Hi Alan,
I am not sure which 6 groups should I merge. When running the evaluation command, it generates 6 predicted trajectories for each scenario. However, in result() in class MotionMetrics in src/waymo_tutorial.py, only 1 trajectory is left for each scenario. The shape of prediction_trajectory in result() in class MotionMetrics is [num_scenarios, 80, 2].
At the same time, in REDAME.md, --eval_rst_saving_number can have 6 different values (from 0 to 5).
Should I merge 6 predicted trajectories for a fixed eval_rst_saving_number or merge predicted trajectories generated using 6 different eval_rst_saving_number?
Additionally, when merging the trajectory of the influencer and the trajectory of the reactor, how should I permute them?
The shape of the merged trajectories is (num_scenarios, 6, n=2, 80, 2). Is [:, :, 0, :] for influencers and [:, :, 1, :] for reactors?
Or, is there a different way to arrange influencer trajectory and reactor trajectory?
How should I merge the scores of the influencer and the scores of the reactor? Should I multiply them or stack them?
from m2i.
I would suggest opening another issue if the original question is resolved.
from m2i.
Related Issues (18)
- Look forward to releasing the code HOT 2
- CUDA out of memory error HOT 2
- difference between 'influencer' and 'dominant' HOT 1
- Relation Prediction produces error after process 23%, with low rate of label2 HOT 4
- How to get your training data๏ผ HOT 1
- can't find your prediction results or your pre-trained models from Google Drive HOT 2
- Haven't got permissions yet HOT 1
- Marginal trajectory prediction error. HOT 3
- Error at evaluation step2 and step3 HOT 1
- There are doubts about the function utils_cython.get_normalized
- What is the input for relation predictor? HOT 1
- relation.yaml HOT 1
- Parameter setting of pre-trained model HOT 1
- About interpolating missing trajectories HOT 1
- Assertion Error when Training Relation Predictor HOT 1
- evaluate the conditional prediction result
- Changing hidden size leads to runtime error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from m2i.