Closed han1222 closed 3 years ago
@han1222
Thank you for your answer
Does y-axis values is must have same decrease value? I mean when I make a custom dataset, should I point y-value regularly? example by all 5 decrease.
if y-axis value decrease by 10 in dataset , then is anchor height 10?
model resize image with 288 800 I wonder but culane dataset and other dataset image size aren't 288800. Does it not affect any result? how about making a custom datasets after resizing image to 288800 size ? what is different making a custom datasets with original image size without resizing (288800)
when lane is only one (special case). my custom dataset usually has one lane (ex) inner boundary) but culane dataset has coupled lane. If I make a single lane dataset and train with the dataset. Does it work ? how do you think about it?
how to change row_anchor in constant.py? Is there any formula to convert row anchor value? I mean that original resolution isn't 288*800 but when we run demo row anchor value is within 288 but result video is original size.
Thank you for your help.
@han1222
for last question 5.
In this issue, you said that linear scale doesn't work and "the previous method is not exactly correct. I will make a refactor of the row anchor system to support different resolutions."
I am still confused about row_anchor scope about resolution.
I wonder which one is right , Does linear scale still work?
@han1222 Yes, it works. Moreover, you might need to disable these lines of code for different resolution training: https://github.com/cfzd/Ultra-Fast-Lane-Detection/blob/f58fcd5f58511159ebfd06e60c7e221558075703/data/dataset.py#L115-L117
even though I used 1032772 resolution image as input and I resized 288800 (I do not modified it , code will resize as I know.), shoud I commet out 3 lines and replaced it with smape_tmp=row_anchor ??
actually I already tested with this method. but there is no visualization point at all. but loss is look like 0.0xxx
when I don't comment out these three lines, 3,4 points come out but it's position is varying depends on anchor_row.
configs/culane.py
epoch = 50 batch_size = 16 #32 optimizer = 'SGD' #['SGD','Adam'] learning_rate = 0.1 weight_decay = 1e-4 momentum = 0.9
scheduler = 'multi' #['multi', 'cos'] steps = [25,38] gamma = 0.1 warmup = 'linear' warmup_iters = 695
use_aux = True griding_num = 200 backbone = '18'
this setting isn't same your paper. Do you recommend this configure to train my own custom dataset and also culane dataset ?
Does it unfit to your algorithms ?
sorry for many questions. and really appreciate it for your quick answer.
if I train with A set row_anchor should I use A set row_anchor ?
I used 1032772 input but resize 288800 so Is my row_achor [161, 168, 176, 183, 191, 198, 205, 213, 220, 228, 235, 243, 250, 258, 265, 273, 280, 287] with below code ?
[code ] for i in range(1,19): lineId = int(288-(i-1)20/772288) print(lineId)
@han1222
Thank you so much !
Thank you for sharing your great work.
I have a question.
in constant.py
culane_row_anchor = [121, 131, 141, 150, 160, 170, 180, 189, 199, 209, 219, 228, 238, 248, 258, 267, 277, 287]
in culane datasets.
240.573 590 257.848 580 275.127 570 292.409 560 309.699 550 327.126 540 344.433 530 361.753 520 379.085 510 396.56 500 413.925 490 431.309 480 448.714 470 467.012 460 484.586 450 502.935 440 520.431 430 538.821 420 557.229 410 575.653 400 593.868 390 612.315 380 630.77 370 649.232 360 667.698 350 686.165 340 704.416 330 722.879 320 741.337 310 759.788 300 778.228 290
1146.04 590 1133.33 580 1120.99 570 1108.67 560 1097.02 550 1084.72 540 1073.22 530 1060.98 520 1049.07 510 1037.67 500 1025.92 490 1014.6 480 1003.34 470 992.112 460 980.928 450 969.781 440 958.669 430 947.589 420 936.959 410 925.929 400 914.917 390 904.651 380 893.66 370 882.768 360 871.781 350 861.521 340 850.519 330 839.503 320 828.468 310 818.147 300 807.161 290
1660.47 470 1616.64 460 1573.83 450 1532 440 1490.15 430 1447.33 420 1404.49 410 1361.64 400 1318.78 390 1275.9 380 1232.02 370 1187.15 360 1142.25 350 1096.34 340 1050.83 330 1002.88 320 953.887 310 901.854 300 847.714 290
I think y-axis value has some rules. for example 590 580 570 .... , 290 470 460 450 ..... 290 . I mean culane datasets are configured to decrease the y-axis value by 10.
culane_row_anchor = [121, 131, 141, 150, 160, 170, 180, 189, 199, 209, 219, 228, 238, 248, 258, 267, 277, 287] isn't same dataset y-value.
Thank you in advance.