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 316 forks source link

Pre-installed version doesn't work "otion_imitate.exe: error: unrecognized arguments: `" #100

Open PCPrzemoGUY opened 3 years ago

PCPrzemoGUY commented 3 years ago

Hello, I try to run IPerCore with the pre-installed version . After I open cdm console in my proper folder, and copy pase command that you povided I get this error:

usage: motion_imitate.exe [-h] [--gpu_ids GPU_IDS] [--image_size IMAGE_SIZE] [--num_source NUM_SOURCE] [--output_dir OUTPUT_DIR] [--assets_dir ASSETS_DIR] [--model_id MODEL_ID] [--src_path SRC_PATH] [--ref_path REF_PATH] motion_imitate.exe: error: unrecognized arguments: `

C:\Users\PC_PW\Desktop\motion_imitate_20201219\motion_imitate>--output_dir "./results" --assets_dir "./assets" ` '--output_dir' is not recognized as an internal or external command, operable program or batch file.

C:\Users\PC_PW\Desktop\motion_imitate_20201219\motion_imitate>--model_id "donald_trump_2" ` '--model_id' is not recognized as an internal or external command, operable program or batch file.

C:\Users\PC_PW\Desktop\motion_imitate_20201219\motion_imitate>--src_path "path?=./assets/samples/sources/donald_trump_2/00000.PNG,name?=donald_trump_2" ` '--src_path' is not recognized as an internal or external command, operable program or batch file.

C:\Users\PC_PW\Desktop\motion_imitate_20201219\motion_imitate>--ref_path "path?=./assets/samples/references/akun_2.mp4,name?=akun_2,pose_fc?=300" '--ref_path' is not recognized as an internal or external command, operable program or batch file.

any ideas why it does not work? Cheers

d1ddle commented 3 years ago

Some reason the example includes random backticks. .\motion_imitate.exe --gpu_ids 0 --image_size 512 --num_source 2 --output_dir "./results" --assets_dir "./assets" --model_id "donald_trump_2" --src_path "path?=./assets/samples/sources/donald_trump_2/00000.PNG,name?=donald_trump_2" --ref_path "path?=./assets/samples/references/akun_2.mp4,name?=akun_2,pose_fc?=300" Take them out, that is what I have.