phillipi / pix2pix

Image-to-image translation with conditional adversarial nets
https://phillipi.github.io/pix2pix/
Other
10.18k stars 1.71k forks source link

Have problem when evaluate the photo2labels #161

Open ghost opened 5 years ago

ghost commented 5 years ago

Hello!

I want to evaluate photo2label on Cityscapes recently(reuse the label-->photo evaluation code) , but when I run the evaluate command,it'll automatically quit after that:

image

and my result folder still stay empty after this.

By the way, i used the command below : (test ground truth labels itself) python ./scripts/eval_cityscapes/evaluate.py --cityscapes_dir /scripts/eval_cityscapes/gtfine/val/frankfurt/ --result_dir /scripts/eval_cityscapes/gtfine/val/frankfurt/ --output_dir /scripts/eval_cityscapes/result/

Is that possible that it was because i was using python2.7 but not python3 ? But my caffe don't support for python3 : when i change to python3, import caffe always failed.

Thanks!

lx7555 commented 5 years ago

I want to evaluate cityscapes datasets,because I try to reproduce the fcn score results from pip2pip by using https://github.com/junyanz/pytorch-CycleGAN-and-pix2pix code. I try many ways.I can not get any results when I run the scripts. All parameters are zero. I still want to know how to configure the cityspaces dataset There are three folders with gtFine, originals image, and predictions. Are the gtFine and predictions color or grayscale? And what is the size of these three types of pictures? I use python2,caffe.I Is that possible that it was because i was using python2.7 but not python3 ? Have you solve this problem?@liz-hpz

ghost commented 5 years ago

No,I haven’t . Sorry. My code will quit when I run it. I'll try python3 later.

lkiani commented 5 years ago

Hello!

I want to evaluate photo2label on Cityscapes recently(reuse the label-->photo evaluation code) , but when I run the evaluate command,it'll automatically quit after that:

image

and my result folder still stay empty after this.

By the way, i used the command below : (test ground truth labels itself) python ./scripts/eval_cityscapes/evaluate.py --cityscapes_dir /scripts/eval_cityscapes/gtfine/val/frankfurt/ --result_dir /scripts/eval_cityscapes/gtfine/val/frankfurt/ --output_dir /scripts/eval_cityscapes/result/

Is that possible that it was because i was using python2.7 but not python3 ? But my caffe don't support for python3 : when i change to python3, import caffe always failed.

Thanks!

I have your problem too. but i was using python3 and import caffe is not failed for me Is your problem solved?

ghost commented 5 years ago

@lkiani No, sorry.