SMIS icon indicating copy to clipboard operation
SMIS copied to clipboard

How to run on a custom image

Open pawanm09 opened this issue 5 years ago • 2 comments

Hello @Seanseattle Thanks for the wonderful library

Can you please tell me the steps to run the code on our custom image?

Thank You

pawanm09 avatar Jun 02 '20 00:06 pawanm09

Hello. you can write a new dataset loader. There is an example at data/custom_dataset.py. Then set the --dataset_mode parameter as your dataset.

Seanseattle avatar Jun 04 '20 07:06 Seanseattle

@Seanseattle I tried with custom clothing images & no labels are present in the test folder, got following error while making dataset any solution Plz?

  !python /content/SMIS/data/custom_dataset.py --dataset_mode deepfashion --image_dir /content/test  

Traceback (most recent call last): File "/content/SMIS/data/custom_dataset.py", line 6, in from data.pix2pix_dataset import Pix2pixDataset ModuleNotFoundError: No module named 'data'

shahik avatar Jun 12 '20 03:06 shahik