iPERDance / iPERCore

Liquid Warping GAN with Attention: A Unified Framework for Human Image Synthesis
https://iperdance.github.io/work/impersonator-plus-plus.html
Apache License 2.0
2.42k stars 311 forks source link

the current number of sources are 1, while the pre-defined number of sources are 2 #96

Open Vladut41 opened 3 years ago

Vladut41 commented 3 years ago

I tried to change the number of sources but it doesn't work

AndreyStille commented 3 years ago

Faced same issue Yesterday everythin was ok, changed nothing and today get this error Have you find the solution?

pymtl9082 commented 3 years ago

In my case, I noticed that the permission error below occurred during making a symbolic link.

...

Traceback (most recent call last):
  File "./iPERCore/iPERCore/services/preprocess.py", line 66, in run
    processor.execute(
  File "./iPERCore/iPERCore/tools/processors/base_preprocessor.py", line 74, in execute
    src_img_dir = process_utils.format_imgs_dir(input_path, processed_info["src_img_dir"])
  File "./iPERCore/iPERCore/tools/processors/process_utils.py", line 32, in format_imgs_dir
    os.symlink(osp.abspath(src_path), osp.abspath(dst_path))
PermissionError: [Errno 1] Operation not permitted: './iPERCore/assets/samples/sources/donald_trump_2/00000.PNG' -> './iPERCore/results/primitives/donald_trump_2/processed/orig_images/00000.PNG'

...

the current number of sources are 1, while the pre-defined number of sources are 2.
        Pre-processing: failed...

It works after I fix the error.