mirror of
https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI.git
synced 2024-12-29 19:15:04 +08:00
* for GTX1650 * testing torch-profiler * no more profiler & change default audio * longer slice * fluid container * cache rmvpe and ui tweaks * get my changes back after merge * format code * only load rmvpe when necessary * fix rmvpe & config bug * fix is_half again * manual sync with upstream * fix bool() for is_half * revert changes for PR * revert again * typo * match lower case
This commit is contained in:
parent
401db68aba
commit
f513f0b2e0
@ -11,13 +11,13 @@ i_part = int(sys.argv[3])
|
|||||||
if len(sys.argv) == 7:
|
if len(sys.argv) == 7:
|
||||||
exp_dir = sys.argv[4]
|
exp_dir = sys.argv[4]
|
||||||
version = sys.argv[5]
|
version = sys.argv[5]
|
||||||
is_half = bool(sys.argv[6])
|
is_half = sys.argv[6].lower() == "true"
|
||||||
else:
|
else:
|
||||||
i_gpu = sys.argv[4]
|
i_gpu = sys.argv[4]
|
||||||
exp_dir = sys.argv[5]
|
exp_dir = sys.argv[5]
|
||||||
os.environ["CUDA_VISIBLE_DEVICES"] = str(i_gpu)
|
os.environ["CUDA_VISIBLE_DEVICES"] = str(i_gpu)
|
||||||
version = sys.argv[6]
|
version = sys.argv[6]
|
||||||
is_half = bool(sys.argv[7])
|
is_half = sys.argv[7].lower() == "true"
|
||||||
import fairseq
|
import fairseq
|
||||||
import numpy as np
|
import numpy as np
|
||||||
import soundfile as sf
|
import soundfile as sf
|
||||||
|
Loading…
Reference in New Issue
Block a user