-
Notifications
You must be signed in to change notification settings - Fork 13
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
problem about StreamMapNet -Hivt trajectory prediction #21
Comments
Hi, may I ask what is the command you use to run the code? And can you maybe loop through the merging results to see if each scene actually contains the I recall someone has encountered similar problems in other Issues. Maybe check them out as well? |
python adaptor_meanc_detac.py --version trainval --split train --map_model StreamMapNet --dataroot /home/xx/data/nuscenes/ --index_file /home/xx/data/adaptor_files/traj_scene_frame_full_train.pkl --map_file /home/xx/data/adaptor_files/mapping_results_train_streamnew1_1e-4.pickle --gt_map_file /home/xx/data/adaptor_files/gt_full_train.pickle --save_path /home/xx/data/trj_data/streamnew_1e-4 I find that like scene-2254.pkl , which sample_token is '53f5977684e14cb0a28f383fee1dd433' do not contain predicted_map. There are some pkl have same problem |
And I also search this sample_token in my mapping_results_train_streamnew1_1e-4.pickle, it also doesn't contain this token. What's wrong with this problem, please help me! thanks! |
I confuse that whether i get the mapping_results_train.pickle from the following config: |
Can you maybe try changing My guess might be wrong (sorry, it's been a while) but can you give it a quick try? |
I have try this way, but the answer is also sample_token is not '53f5977684e14cb0a28f383fee1dd433' contained in new mapping_results_train.pickle. |
So you are using the annotation files in the original split ( |
I wanted to make sure you said retrain, then train=dict( Or am I still trained ann_file=data_ann_new + 'nuscenes_map_infos_train_newsplit.pkl', Just change test=dict(ann_file=data_ann_new + 'nuscenes_map_infos_train_newsplit.pkl' instead of ann_file=data_ann_new + 'nuscenes_map_infos_train.pkl', I tried the second method,not re-training |
export PYTHONPATH="${PYTHONPATH}:/MapUncertaintyPrediction/StreamMapNet_modified" python tools/train.py |
Nuscenes has an original train/val/test split. In StreamMapNet, they proposed using a new train/val/test split to avoid overlap between different splits, thus preventing overfitting. In our case, we need to first train our model using If you have already done this, I would suggest checking
|
Thank you for your patience! MapUncertaintyPrediction The problem I found was that neither nuscenes_infos_temporal_train.pkl nor nuscenes_infos_temporal_train_newsplit.pkl generated during the data processing phase contained this Token '53 f5977684e14cb0a28f383fee1dd433, compared with the series Mpatr nuscenes_map_infos_temporal_train.pkl, streamMapNet hundreds of token less content. |
Sorry for the late response... was attending ECCV last week. You are actually right, now that you mentioned I finally remember (sorry it's been a long time). Yes StreamMapNet's train split somehow contains fewer scenarios than MapTR series. Originally I wanted to reach out their authors and check but forgot it afterwards. As a reference, StreamMapNet's training set will contain 15069 scenarios, MapTR series would contain 15113 scenarios. So indeed there are some scenarios missing in StreamMapNet. Unfortunately I think you need to reach out their authors and see what they have done in their data preprocessing step. Sorry about that! |
Thank you very much for your reply. Since StreamMapNet's training set contains fewer scenes, I would like to know what was done when your method trained HiVT and denseTNT, because if I continue to follow the code you put in, after merging Map estimation, The trajectory prediction phase reports missing predicted map errors. |
Uhmmm I think I did not do anything special during the merging phase. I remember there are some try-except statements in the code that should catch the missing sample tokens? |
Can you please check how many scenarios are generated with StreamMapNet and MapTR after the merging process? And then maybe loop through them to see if the predicted_map is present? |
Sorry for the late reply. Yes, there is no problem in the merge stage, but StreamMapNet lacks some scenes, so the predicted map for this part of scenes is also lacking. Errors will be reported when predicting HiVT and DenseTNT trajectory. it still shows that the predicted_map is missing. |
Can you check your merging results in the following: "StreamMapNet's training set will contain 15069 scenarios, MapTR series would contain 15113 scenarios"? Technically this line ensures that the predicted map is present according to the sample token of the scene. |
emm, I find that the after adaptor.py both StreamMapNet and MapTR series train/data will up to contain scene-15190.pkl |
Interesting, let me see if I can reproduce this. For now, can you just add a check during the adaptor merging process? If 'predicted_map' is empty, just skip to the next one? |
Hello, I have successfully trained and tested StreamMapNet, but when I [Merge Map and Trajectory Dataset], the code shows that the predicted_map has been successfully generated,
but during the trajectory prediction phase, it still shows that the predicted_map is missing.
The information shows that the error only occurred after processing 4 scenes. Do you have any suggestions for this?
The text was updated successfully, but these errors were encountered: