Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

when I inference but there is a error #8

Open
kelisiya opened this issue Aug 25, 2022 · 2 comments
Open

when I inference but there is a error #8

kelisiya opened this issue Aug 25, 2022 · 2 comments

Comments

@kelisiya
Copy link

TypeError: list indices must be integers or slices, not tuple

my inference code :
CUDA_VISIBLE_DEVICES=3 python main.py --input_dir ./ffhq_image/ --im_path1 00016.png --im_path2 00018.png \ --output_dir ./style_your_hair_output/ \ --warp_loss_with_prev_list delta_w style_hair_slic_large \ --save_all --version final --flip_check

@mrsaleh
Copy link

mrsaleh commented Feb 19, 2023

Can you provide more information? check the files and paths exist. and Also I guess you must remove \ if you don't type the command in multiple lines.

@ArsalanAli915
Copy link

@myoons I have been using T4 GPU with python=3.7.9 enviroment in anaconda. I am getting around 17 mins on inference time. Could help me know How can I reduce the time?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants