ALAE icon indicating copy to clipboard operation
ALAE copied to clipboard

Error on style_ranges[row]

Open shekharidentv opened this issue 4 years ago • 0 comments

I added 9 images in the src and dst folder of /ALAE/style_mixing/test_images/set_ffhq/dst updated src_len and dst_len in the code. But got following error.

2020-04-29 22:11:35,659 logger INFO: Trainable parameters generator: 2020-04-29 22:11:35,660 logger INFO: Trainable parameters discriminator: 2020-04-29 22:11:35,660 logger INFO: Loading checkpoint from training_artifacts/ffhq/model_157.pth 2020-04-29 22:11:35,918 logger INFO: Model trained for 157 epochs Traceback (most recent call last): File "style_mixing/stylemix.py", line 192, in <module> world_size=gpu_count, write_log=False) File "/home/ubuntu/projects/ALAE/launcher.py", line 131, in run _run(0, world_size, fn, defaults, write_log, no_cuda, args) File "/home/ubuntu/projects/ALAE/launcher.py", line 96, in _run fn(**matching_args) File "style_mixing/stylemix.py", line 42, in main _main(cfg, logger) File "style_mixing/stylemix.py", line 180, in _main style = mix_styles(src_latents, row_latents, style_ranges[row]) IndexError: list index out of range

shekharidentv avatar Apr 29 '20 19:04 shekharidentv