-
Notifications
You must be signed in to change notification settings - Fork 79
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
some problem about train from cityscape to foggy cityscape #25
Comments
@DanZhang123 Can you share google drive link for the foggy cityscape? I have found a long time for this dataset.Thanks in advance! |
hello,the link is https://github.com/tiancity-NJU/da-faster-rcnn-PyTorch |
@DanZhang123 but I can't download foggy cityscape dataset.no download to link. |
@DanZhang123 I get it, Can you tell me whether that's full foggy version for detection? Thanks in advance! |
we use the processed foggy cityscape version, which link is https://drive.google.com/file/d/1mA0L5-1U_Vo-S8-cv12QBmhgG9FFf6nf/view?usp=sharing |
@DanZhang123 I meet the problem of RPN regression box loss becoming NaN too. Had you solved it? |
@bill987 I meet the same problem, I tried to clip the gradient when training, but the performance on target data is poor. Have U solve the problem? |
@edwardaaa This resolved it. not_keep = (gt_boxes[:,2] - gt_boxes[:,0]) < 10 | (gt_boxes[:,3] - gt_boxes[:,1]) < 10 |
@bill987 Thanks a lot! I resovled it by make flipped False. Now I meet a new problem. The Net_D and Net_D_Pixel does not work, the loss for d do not go down. Have you met the same problem? Thank you! |
where is this sentence should I change ? please! |
What I do is to make cfg.TRAIN.USE_FLIPPED=False |
thank you , another quesetion :the result of cityspace ->foggy_cityspace is OK? |
I tried pascal->clipart and the result is not OK. |
I have a question .why this code can't load gt_box. During handling of the above exception, another exception occurred: Traceback (most recent call last): |
Hi @DanZhang123 , Thank you for the work and code. Its very helpful. Can you please confirm once for how many epochs was the model trained for cityscapes to foggycityscapes DA? I couldnt see those details in the paper. Also in paper its mentioned 70k iterations but in code its 100k iterations per epoch. Thanks and regards, |
Maybe somebody needs this info, not_keep = (gt_boxes[:,2] - gt_boxes[:,0]) < 10 | (gt_boxes[:,3] - gt_boxes[:,1]) < 1 throws: not_keep = ((gt_boxes[:,2] - gt_boxes[:,0]) < 10) | ((gt_boxes[:,3] - gt_boxes[:,1]) < 10) The line is located in lib/roi_data_layer/roibatchLoader.py Trained for half an hour and didn't get a nan yet. |
@fosterr After the modification like your answer, the test result is 0. Is the test result correct after your training? |
Hello, when I train on cityscape-->foggy cityscape, I meet the problem of RPN regression box loss becoming NaN, What should I do?
Looking forward to your reply, thank you very much!
The text was updated successfully, but these errors were encountered: