phillipi / pix2pix

Image-to-image translation with conditional adversarial nets

Home Page:https://phillipi.github.io/pix2pix/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to run evaluate.py?

pia opened this issue · comments

I'm confused how the evaluate.py works.
I trained my own model with cityscapes dataset and want to conpare it with pix2pix using evaluate.py
Here are 2 parameters I don't understand, please tell me if I'm wrong:

  • result_dir: the directory where I save the images my model generated;
  • split: can't understand what is 'Data split to be evaluated'

Beside above, can I get the result if I run command like this:
python evaluate.py --cityscapes_dir D:\pix2pix-master\datasets\cityscapes\ --result_dir D:\pix2pix-master\scripts\eval_cityscapes\result\ --output_dir D:\pix2pix-master\scripts\eval_cityscapes\output\ --caffemodel_dir D:\pix2pix-master\scripts\eval_cityscapes\caffemodel\ --save_output_images 1

Thank you in advance!!