Merge branch 'main' into nsfw
This commit is contained in:
commit
a5495b2dd4
@ -61,6 +61,7 @@ Looking for a CLI mode? Using the -f/--face argument will make the program in cl
|
|||||||
- [ ] Support for replacing multiple faces
|
- [ ] Support for replacing multiple faces
|
||||||
|
|
||||||
## Credits
|
## Credits
|
||||||
|
- [henryruhs](https://github.com/henryruhs): for being an irreplacable contributor to the project
|
||||||
- [ffmpeg](https://ffmpeg.org/): for making video related operations easy
|
- [ffmpeg](https://ffmpeg.org/): for making video related operations easy
|
||||||
- [deepinsight](https://github.com/deepinsight): for their [insightface](https://github.com/deepinsight/insightface) project which provided a well-made library and models.
|
- [deepinsight](https://github.com/deepinsight): for their [insightface](https://github.com/deepinsight/insightface) project which provided a well-made library and models.
|
||||||
- and all developers behind libraries used in this project.
|
- and all developers behind libraries used in this project.
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
# single thread doubles performance of gpu-mode - needs to be set before torch import
|
# single thread doubles performance of gpu-mode - needs to be set before torch import
|
||||||
if any(arg.startswith('--gpu-vendor=') for arg in sys.argv):
|
if any(arg.startswith('--gpu-vendor') for arg in sys.argv):
|
||||||
os.environ['OMP_NUM_THREADS'] = '1'
|
os.environ['OMP_NUM_THREADS'] = '1'
|
||||||
import platform
|
import platform
|
||||||
import signal
|
import signal
|
||||||
|
Loading…
Reference in New Issue
Block a user