stargan icon indicating copy to clipboard operation
stargan copied to clipboard

Custom evaluation dataset

Open ser0t0nin opened this issue 7 years ago • 2 comments

Hello, thank you for your code. I performed the training stage and got the model - works perfectly on the default datasets. Is it possible to cast the model on my custom imageset? I created a proper folder structure, created valid metafile, filled all the paths (as i think) and got error

Traceback (most recent call last):
  File "main.py", line 106, in <module>
    main(config)
  File "main.py", line 46, in main
    solver.test()
  File "/home/username/Documents/StarGAN/solver.py", line 679, in test
    target_c_list = self.make_celeb_labels(org_c)
  File "/home/username/Documents/StarGAN/solver.py", line 181, in make_celeb_labels
    c[i] = 0 if c[i] == 1 else 1   # opposite value
IndexError: index 4 is out of range for dimension 0 (of size 4)

Is it possible in general? Can you provide a kind of instruction, so people can use it without tough reverse engineering? Thanks

ser0t0nin avatar Dec 20 '17 15:12 ser0t0nin

You have tested this model successfully. Can you please help me? I want to generate different expressions from neutral image...

Test time it generate only one image multiple times 1

ghost avatar May 21 '18 05:05 ghost

You have tested this model successfully. Can you please help me? I want to generate different expressions from neutral image...

Test time it generate only one image multiple times 1

Have you solve the problem yet? Have you find the reason of the same expression?

iamzhangyunlu avatar Nov 12 '19 11:11 iamzhangyunlu