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

Discrepancy in the validation IOU values for Driveable Area segmentation #50

Open
linlion0311 opened this issue Jun 7, 2023 · 15 comments

Comments

@linlion0311
Copy link

I have implemented the author's code, but I noticed a discrepancy in the validation IOU values for road segmentation (In Paper: Driveable Area = 74.3, My implementation = 68.7). However, the vehicle category scores are consistent with the scores mentioned in the paper. I would like to ask whether I should consider changing the training labels or how I should proceed with the training. Thank you!

@flymin
Copy link

flymin commented Jul 21, 2023

I cannot reproduce the results reported in the paper, either. Even with the released checkpoint, the result from validation is only 72.21. Any hint for this?

@linlion0311
Copy link
Author

I cannot reproduce the results reported in the paper, either. Even with the released checkpoint, the result from validation is only 72.21. Any hint for this?

Are you using released checkpoint from Github to do validation? Or you using your model

@flymin
Copy link

flymin commented Jul 28, 2023

Are you using released checkpoint from Github to do validation? Or you using your model

I use the checkpoint from this repo for validation, and get 72.21 for the driveable area.

@linlion0311
Copy link
Author

Are you using released checkpoint from Github to do validation? Or you using your model

I use the checkpoint from this repo for validation, and get 72.21 for the driveable area.

Please note your dataset splitting method. I noticed that the author used 'road segment' as the label for drivable areas. After making changes, I achieved an IOU of 73.3.

By the way, could you please share how you use checkpoints to validate the model? I am not very familiar with Python programming. If possible, could you kindly send the complete implementation process to linlion0311@gmail.com? Thank you very much!

@flymin
Copy link

flymin commented Aug 1, 2023

Hi @linlion0311,

I think in this line, the author defined driveable area as a combination of road segment and lane. Why do you change it to 'road segment'? Is is correct for the settings in the paper?

Sorry I cannot share my source code, you can call trainer.validate(model_module, val_loader) similar to this line

Update: with the released ckpt and cvt_labels_nuscenes_v2, I got 73.69 for road. Even if it is better, it still cannot catch up with 74.3 reported in the paper.

@linlion0311
Copy link
Author

It's ok, I'll keep studying it.

Regarding the label segmentation part, I tested using 'lane' + 'road segment', and it converged faster.
Perhaps this is the reason why the author didn't use 'lane' + 'drivable area' (they are very similar). have a good day!

@linlion0311
Copy link
Author

Hi @flymin

Can I ask if you are implementing this repo in a Windows or Ubuntu(Linux) environment?

because I can't implement it in Windows.

@flymin
Copy link

flymin commented Aug 10, 2023

Hi @flymin

Can I ask if you are implementing this repo in a Windows or Ubuntu(Linux) environment?

because I can't implement it in Windows.

I use Linux. Sorry I cannot help you with Windows.

@1146065545
Copy link

Hi @flymin

Can I ask if you are implementing this repo in a Windows or Ubuntu(Linux) environment?

because I can't implement it in Windows.

Hello, could you please tell me how the code provided by the author can test the trained model and how to visualize it? I've been doing this lately as well, thank you very much!

@flymin
Copy link

flymin commented Jan 25, 2024

Please check the dialogue above. I think you’d better check the doc of pytorch-lightning for testing. And for visualization, I remember the author has provided a notebook.

@1146065545
Copy link

Please check the dialogue above. I think you’d better check the doc of pytorch-lightning for testing. And for visualization, I remember the author has provided a notebook.

Sorry, can you go into more detail, I mean about testing the trained model, does the author provide specific .py files

@flymin
Copy link

flymin commented Jan 25, 2024

I don’t think so.

@1146065545
Copy link

I don’t think so.

╥﹏╥

@SunJ1025
Copy link

SunJ1025 commented Mar 22, 2024

@flymin hi flymin, I want to ask which .yaml did you use to get "73.69 for road." I only got about 47/48 when I test with the commond python3 scripts/train.py +experiment=cvt_nuscenes_road data.dataset_dir=/data1/dataset/nuscenes data.labels_dir=/data1/dataset/nuscenes/cvt_labels_nuscenes_v2
download

I test with the released cvt_nuscenes_road_75k.ckpt and cvt_labels_nuscenes_v2.

@KimJunHan
Copy link

@flymin hi flymin, I want to ask which .yaml did you use to get "73.69 for road." I only got about 47/48 when I test with the commond python3 scripts/train.py +experiment=cvt_nuscenes_road data.dataset_dir=/data1/dataset/nuscenes data.labels_dir=/data1/dataset/nuscenes/cvt_labels_nuscenes_v2 download

I test with the released cvt_nuscenes_road_75k.ckpt and cvt_labels_nuscenes_v2.

How did you find IOU value like picture ???

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

5 participants