-
Notifications
You must be signed in to change notification settings - Fork 102
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
Here is my step trying to reproduce CTRL,I want to know is there any wrong ? #161
Comments
Thanks for your interesting and detailed post. I will check once I am free. |
@Abyssaledge @20210726
This is my script.
|
@20210726 Greate introduction! The only thing I concern is the |
@20210726 Truly sorry for the late reply. I quickly go through your introduction. The pipeline is basically right, but one point need to be modified: |
@Abyssaledge Are there some mistakes? 《If you are generating the training data, you do not need the |
@SakuraRiven The introduction above uses tracking config |
@Abyssaledge I see. So here should be " |
@Abyssaledge Another question. Do we have to perform |
No, you do not need extend_tracks.py for training. @SakuraRiven |
Hi, thanks for your great work! I have a question when I tried to reproduce the result. I followed steps to generated predicted tracks input in step 3. And in step 4, I used train_gt.bin to assign bbox to the predicted track. But seems like the predicted track from previous steps was already with ego motion, but the object position in train_gt.bin not. So the assignment results was weird (very low Average candidates per trk and very high Tracklet FP rate). I am wondering how to add ego motion into train_gt.bin so that the assignment could be correct or I did something wrong? Thanks in advance! |
@20210726 hi, Which version and slice of waymo data ,and i will reproduce ctrl result by your pipeline. |
@Abyssaledge @20210726 Thanks for your discussion! |
especially step2,and Is the config file ‘fsd_base_vehicle.yaml’ correct?
1.prepare waymo data(I only use part of waymo dataset)
1.1 use my python script to generate train.txt val.txt test.txt and idx2timestamp.pkl idx2contextname.pkl
Then cp train.txt val.txt test.txt to ./data/waymo/kitti_format/ImageSets/
cp idx2timestamp.pkl idx2contextname.pkl to ./data/waymo/kitti_format/
1.2 python tools/create_data.py --dataset waymo --root-path ./data/waymo/ --out-dir ./data/waymo/ --workers 128 --extra-tag waymo
Step 1: Generate train_gt.bin once for all. (waymo bin format).
python ./tools/ctrl/generate_train_gt_bin.py
generate file 'train_gt.bin'
python ./tools/ctrl/extract_poses.py
Generate file context2timestamp.pkl and pose.pkl
Step 2: Use ImmortalTracker to generate tracking results in training split (bin file format)
modify file ego_info.py and time_stamp.py like this:
Modify file waymo_convert_detection.sh like this:
then:
bash preparedata/waymo/waymo_preparedata.sh ~/dataset/waymo/waymo_format/
generate files like this :
bash preparedata/waymo/waymo_convert_detection.sh ~/dataset/waymo/waymo_format/train_gt.bin CTRL_FSD_TTA
Generate files like this:
In data/waymo/training/detection/CTRL_FSD_TTA/dets:
Modify file run_mot.sh like this:
Then:
bash run_mot.sh
generate file like this:
Step 3: Generate track input for training
modify file ‘fsd_base_vehicle.yaml’ like this: pred.bin was generated in step 2.
python ./tools/ctrl/generate_track_input.py ./tools/ctrl/data_configs/fsd_base_vehicle.yaml --process 1
generate files like this:
Step 4: Assign candidates GT tracks
python ./tools/ctrl/generate_candidates.py ./tools/ctrl/data_configs/fsd_base_vehicle.yaml --process 1
Step 5: Begin training
bash tools/dist_train.sh configs/ctrl/ctrl_veh_24e.py 1 --no-validate
Originally posted by @20210726 in #132 (comment)
The text was updated successfully, but these errors were encountered: