We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, I encountered a problem with multiple GPU inference. I was using the following command to run python inference_realesrgan.py -n RealESRGAN_x4plus -i ${back_dir}/${frames_wav2lip}/${filename} --output ${back_dir}/${frames_hd}/${filename} --outscale 3.5 --face_enhance -g 0 1 2 3 or python inference_realesrgan.py -n RealESRGAN_x4plus -i ${back_dir}/${frames_wav2lip}/${filename} --output ${back_dir}/${frames_hd}/${filename} --outscale 3.5 --face_enhance -g 0,1,2,3 However, I always get the error saying usage: inference_realesrgan.py [-h] [-i INPUT] [-n MODEL_NAME] [-o OUTPUT] [-dn DENOISE_STRENGTH] [-s OUTSCALE] [--model_path MODEL_PATH] [--suffix SUFFIX] [-t TILE] [--tile_pad TILE_PAD] [--pre_pad PRE_PAD] [--face_enhance] [--fp32] [--alpha_upsampler ALPHA_UPSAMPLER] [--ext EXT] [-g GPU_ID] inference_realesrgan.py: error: argument -g/--gpu-id: invalid int value: '0,1,2,3'
python inference_realesrgan.py -n RealESRGAN_x4plus -i ${back_dir}/${frames_wav2lip}/${filename} --output ${back_dir}/${frames_hd}/${filename} --outscale 3.5 --face_enhance -g 0 1 2 3
python inference_realesrgan.py -n RealESRGAN_x4plus -i ${back_dir}/${frames_wav2lip}/${filename} --output ${back_dir}/${frames_hd}/${filename} --outscale 3.5 --face_enhance -g 0,1,2,3
usage: inference_realesrgan.py [-h] [-i INPUT] [-n MODEL_NAME] [-o OUTPUT] [-dn DENOISE_STRENGTH] [-s OUTSCALE] [--model_path MODEL_PATH] [--suffix SUFFIX] [-t TILE] [--tile_pad TILE_PAD] [--pre_pad PRE_PAD] [--face_enhance] [--fp32] [--alpha_upsampler ALPHA_UPSAMPLER] [--ext EXT] [-g GPU_ID] inference_realesrgan.py: error: argument -g/--gpu-id: invalid int value: '0,1,2,3'
Can anyone inference with multiple GPUs? Can any give me some sample of how to use the --gpu-id parameter?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi, I encountered a problem with multiple GPU inference.
I was using the following command to run
python inference_realesrgan.py -n RealESRGAN_x4plus -i ${back_dir}/${frames_wav2lip}/${filename} --output ${back_dir}/${frames_hd}/${filename} --outscale 3.5 --face_enhance -g 0 1 2 3
or
python inference_realesrgan.py -n RealESRGAN_x4plus -i ${back_dir}/${frames_wav2lip}/${filename} --output ${back_dir}/${frames_hd}/${filename} --outscale 3.5 --face_enhance -g 0,1,2,3
However, I always get the error saying
usage: inference_realesrgan.py [-h] [-i INPUT] [-n MODEL_NAME] [-o OUTPUT] [-dn DENOISE_STRENGTH] [-s OUTSCALE] [--model_path MODEL_PATH] [--suffix SUFFIX] [-t TILE] [--tile_pad TILE_PAD] [--pre_pad PRE_PAD] [--face_enhance] [--fp32] [--alpha_upsampler ALPHA_UPSAMPLER] [--ext EXT] [-g GPU_ID] inference_realesrgan.py: error: argument -g/--gpu-id: invalid int value: '0,1,2,3'
Can anyone inference with multiple GPUs? Can any give me some sample of how to use the --gpu-id parameter?
The text was updated successfully, but these errors were encountered: