pix2pix icon indicating copy to clipboard operation
pix2pix copied to clipboard

Have problem when evaluate the photo2labels

Open ghost opened this issue 6 years ago • 4 comments

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!

ghost avatar Feb 23 '19 03:02 ghost

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

lx7555 avatar Mar 24 '19 21:03 lx7555

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

ghost avatar Mar 25 '19 10:03 ghost

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?

lkiani avatar May 16 '19 19:05 lkiani

@lkiani No, sorry.

ghost avatar May 20 '19 07:05 ghost