forked from xinntao/Real-ESRGAN
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Error "slow_conv2d_cpu" not implemented for 'Half'
- Loading branch information
Showing
1 changed file
with
5 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
# FAQ | ||
|
||
1. **How to select models?**<br> | ||
1. **Q: How to select models?**<br> | ||
A: Please refer to [docs/model_zoo.md](docs/model_zoo.md) | ||
|
||
1. **Can `face_enhance` be used for anime images/animation videos?**<br> | ||
1. **Q: Can `face_enhance` be used for anime images/animation videos?**<br> | ||
A: No, it can only be used for real faces. It is recommended not to use this option for anime images/animation videos to save GPU memory. | ||
|
||
1. **Q: Error "slow_conv2d_cpu" not implemented for 'Half'**<br> | ||
A: In order to save GPU memory consumption and speed up inference, Real-ESRGAN uses half precision (fp16) during inference by default. However, some operators for half inference are not implemented in CPU mode. You need to add **`--fp32` option** for the commands. For example, `python inference_realesrgan.py -n RealESRGAN_x4plus.pth -i inputs --fp32`. |