-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Pre-trained caffe model for FCN score evaluation #116
Comments
sorry, may i ask you how to run the evaluate.py? i found there request labels,and there are many fold that could not found in the cityscape dataset that the download.sh provide |
|
The pre-trained model does not work well on Cityscapes in the original resolution (1024x2048) as it was trained on 256x256 images that are resized to 1024x2048. The purpose of the resizing was to 1) keep the label maps in the original resolution and 2) avoid the need of changing the standard FCN training code for Cityscapes. To get the 'ground-truth' numbers in the paper, you need to resize the original Cityscapes images to 256x256 before running the evaluation code. |
@tychovdo I can reproduce the result in the paper after resizing the images to 256x256. I have read your problem. It seems so strange. I haven't met such problems. Is it possible that anything is wrong? |
Your ‘bad looking’ segmentations do look very similar to the segmentations that I am getting (mostly “road”). How did you resize the images?
|
@tychovdo I just remembered that if you want to run fcn score on the original image, you need to first resize the image to 256x256, and resize it to 1024x2048, and then send it to the segmentation network. Just uncomment this line. |
I downloaded the labels.py file and placed in content / pix2pix / scripts / helpers / but I still receive the No module named labels message. |
@FishYuLi Hello, my evaluation results are the same as yours. In particular,
|
@ZhangCZhen Please refer to the previous discussion. [1] Phillip Isola et al. Image-to-Image Translation with Conditional Adversarial Networks. |
@FishYuLi Thank you sooooooo much for your help! |
Hello, the link of pre-trained caffe model is unavailable, can you share the model to me? thx! @FishYuLi @ZhangCZhen |
您的邮件已收到,我会尽快回复~~~
|
@FishYuLi I have the same problem, even the numbers are the same as yours This question has been bothering me for a long time, I would love to know how you solved this problem, and I look forward to your reply. |
@ZhangCZhen I would like to ask, did you change the image to 256×256 only the real picture, or did you change the label map as well?Because I got the same result as you before I changed it. |
Hello, could you please tell me the performance of the pre-trained caffe model on the original cityscapes datasets given by this code ?
I follow the instructions in
readme.mk
to evaluate the label_to_image generator, which means the input of the FCN model is the generated fake image. I wondered how the model downloaded by this code works on the original cityscapes datasets. So I change the parameter--result_dir
in ./scripts/eval_cityscapes/evaluate.py to the originalval
set of cityscapes. But the results are very bad(as follows). Is there anything wrong with this model ? Or is this model already been trained on cityscapes dataset?Thank you.
The text was updated successfully, but these errors were encountered: