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

image flipping #45

Closed
lcwcwl opened this issue May 17, 2022 · 5 comments
Closed

image flipping #45

lcwcwl opened this issue May 17, 2022 · 5 comments

Comments

@lcwcwl
Copy link

lcwcwl commented May 17, 2022

Hello, I have a question to ask. I saw that image flipping was used for data enhancement, but the instance label did not change. For example, the left label is 1, 2, 3, and the right label is 4, 5, 6, According to the label definition, when the slope is negative, the label is 1, 2, 3. After flipping, the labels 4, 5, and 6 don't need to become 1, 2, and 3? I don't know if there is a problem with my understanding. I look forward to receiving your reply, thank you!

@Turoad
Copy link
Member

Turoad commented May 18, 2022

Nice question. I think you might be right. The exist label should also be flipped.
Could you try it and see whether the performance will be improved ?

@lcwcwl
Copy link
Author

lcwcwl commented May 23, 2022

Thank you for your reply, I tried to remove the flipping directly, which has little effect on the results. I will try it you said and see whether the performance is improving.The probability of flipping in the code is 0.5, why does it not have a great impact on the result ? I don’t know how to understand this. Can I give your opinion? Thanks!

@Turoad
Copy link
Member

Turoad commented May 28, 2022

We don't have instance label, only exist label, 1 stand for lane is exised, 0 is not. For example, [1,1,1,0] means the image has two left lanes, one right lane. We don't number it as 1,2,3,4,5, ...

If filp, [1,1,1,0] should be [0,1,1,1], are you using this method?

@lcwcwl
Copy link
Author

lcwcwl commented Jun 11, 2022

Thanks! The acc in my custom data improves 2% after changing the exist label when I used image flipping.

@Turoad
Copy link
Member

Turoad commented Jun 11, 2022

Do you try the CULane or Tusimple?

@Turoad Turoad closed this as completed Jul 23, 2022
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

2 participants