hamzapehlivan / StyleRes

Other
70 stars 3 forks source link

Missing file #8

Open taluos opened 1 month ago

taluos commented 1 month ago

Missing file @hamzapehlivan I'm trying to use test.sh to generate images, but I found that I don't have the edit_configs.py file required by test.py. This file wasn't used during the training process either. Could you provide that file to me? parser.add_argument('--edit_cfg', type=str, default='configs/edit_configs.py', help='Launcher type.')

Originally posted by @taluos in https://github.com/hamzapehlivan/StyleRes/issues/6#issuecomment-2373922578

taluos commented 1 month ago

I created an edit_configs.py like this: method = 'interfacegan' dataset = 'data/celebahq_test' factor = 4 edit = 'age' output = 'image' This allows me to run test.py, but the generated images are not edited at all. Did I do something wrong?

hamzapehlivan commented 4 weeks ago

There is an example file in the repository in this path: template.py

You should provide a list of dictionaries, where each dictionary element corresponds to edit you want to perform.