Spaces:
Runtime error
Runtime error
added translate
Browse files
app.py
CHANGED
|
@@ -1205,10 +1205,10 @@ def export_onnx(ModelPath, ExportedPath, MoeVS=True):
|
|
| 1205 |
cpt = torch.load(ModelPath, map_location="cpu")
|
| 1206 |
cpt["config"][-3] = cpt["weight"]["emb_g.weight"].shape[0] # n_spk
|
| 1207 |
hidden_channels = 256 if cpt.get("version",
|
| 1208 |
-
"v1") == "v1" else 768 # cpt["config"][-2] # hidden_channels
|
| 1209 |
|
| 1210 |
test_phone = torch.rand(1, 200, hidden_channels) # hidden unit
|
| 1211 |
-
test_phone_lengths = torch.tensor([200]).long() # hidden unit
|
| 1212 |
test_pitch = torch.randint(size=(1, 200), low=5, high=255) # 基频(单位赫兹)
|
| 1213 |
test_pitchf = torch.rand(1, 200) # nsf基频
|
| 1214 |
test_ds = torch.LongTensor([0]) # 说话人ID
|
|
@@ -1512,22 +1512,6 @@ with gr.Blocks(theme=gr.themes.Base(), title='Voice DeepFake 💻') as app:
|
|
| 1512 |
with gr.Tabs():
|
| 1513 |
with gr.TabItem("Interfeys"):
|
| 1514 |
gr.HTML("<center><h1> Voice DeepFake </h1></span>")
|
| 1515 |
-
# gr.HTML("<center><h3> Если вы хотите использовать это пространство в частном порядке, я рекомендую продублировать его. </h3></span>")
|
| 1516 |
-
# with gr.Row():
|
| 1517 |
-
# gr.Markdown(
|
| 1518 |
-
# """
|
| 1519 |
-
# Если не работает, то пробуйте тут https://huggingface.co/spaces/Clebersla/RVC_V2_Huggingface_Version
|
| 1520 |
-
# """
|
| 1521 |
-
# )
|
| 1522 |
-
|
| 1523 |
-
# Inference Preset Row
|
| 1524 |
-
# with gr.Row():
|
| 1525 |
-
# mangio_preset = gr.Dropdown(label="Inference Preset", choices=sorted(get_presets()))
|
| 1526 |
-
# mangio_preset_name_save = gr.Textbox(
|
| 1527 |
-
# label="Your preset name"
|
| 1528 |
-
# )
|
| 1529 |
-
# mangio_preset_save_btn = gr.Button('Save Preset', variant="primary")
|
| 1530 |
-
|
| 1531 |
# Other RVC stuff
|
| 1532 |
with gr.Row():
|
| 1533 |
sid0 = gr.Dropdown(label="1. Modelni tanlang.", choices=sorted(names), value=check_for_name())
|
|
@@ -1881,12 +1865,6 @@ with gr.Blocks(theme=gr.themes.Base(), title='Voice DeepFake 💻') as app:
|
|
| 1881 |
)
|
| 1882 |
but1.click(fn=lambda: easy_uploader.clear())
|
| 1883 |
with gr.TabItem("Modelni yuklash"):
|
| 1884 |
-
# with gr.Row():
|
| 1885 |
-
# gr.Markdown(
|
| 1886 |
-
# """
|
| 1887 |
-
# Если не работает, то пробуйте тут https://huggingface.co/spaces/Clebersla/RVC_V2_Huggingface_Version
|
| 1888 |
-
# """
|
| 1889 |
-
# )
|
| 1890 |
with gr.Row():
|
| 1891 |
url = gr.Textbox(label="Model URL manzilini kiriting:",
|
| 1892 |
placeholder=".pth va .index fayllarni o'z ichiga olgan zipga havolani kiriting")
|
|
@@ -1908,244 +1886,244 @@ with gr.Blocks(theme=gr.themes.Base(), title='Voice DeepFake 💻') as app:
|
|
| 1908 |
return num_files >= 2
|
| 1909 |
|
| 1910 |
|
| 1911 |
-
if has_two_files_in_pretrained_folder():
|
| 1912 |
-
|
| 1913 |
-
|
| 1914 |
-
|
| 1915 |
-
|
| 1916 |
-
|
| 1917 |
-
|
| 1918 |
-
|
| 1919 |
-
|
| 1920 |
-
|
| 1921 |
-
|
| 1922 |
-
|
| 1923 |
-
|
| 1924 |
-
|
| 1925 |
-
|
| 1926 |
-
|
| 1927 |
-
|
| 1928 |
-
|
| 1929 |
-
|
| 1930 |
-
|
| 1931 |
-
|
| 1932 |
-
|
| 1933 |
-
|
| 1934 |
-
|
| 1935 |
-
|
| 1936 |
-
|
| 1937 |
-
|
| 1938 |
-
|
| 1939 |
-
|
| 1940 |
-
|
| 1941 |
-
|
| 1942 |
-
|
| 1943 |
-
|
| 1944 |
-
|
| 1945 |
-
|
| 1946 |
-
|
| 1947 |
-
|
| 1948 |
-
|
| 1949 |
-
|
| 1950 |
-
|
| 1951 |
-
|
| 1952 |
-
|
| 1953 |
-
|
| 1954 |
-
|
| 1955 |
-
|
| 1956 |
-
|
| 1957 |
-
|
| 1958 |
-
|
| 1959 |
-
|
| 1960 |
-
|
| 1961 |
-
|
| 1962 |
-
|
| 1963 |
-
|
| 1964 |
-
|
| 1965 |
-
|
| 1966 |
-
|
| 1967 |
-
|
| 1968 |
-
|
| 1969 |
-
|
| 1970 |
-
|
| 1971 |
-
|
| 1972 |
-
|
| 1973 |
-
|
| 1974 |
-
|
| 1975 |
-
|
| 1976 |
-
|
| 1977 |
-
|
| 1978 |
-
|
| 1979 |
-
|
| 1980 |
-
|
| 1981 |
-
|
| 1982 |
-
|
| 1983 |
-
|
| 1984 |
-
|
| 1985 |
-
|
| 1986 |
-
|
| 1987 |
-
|
| 1988 |
-
|
| 1989 |
-
|
| 1990 |
-
|
| 1991 |
-
|
| 1992 |
-
|
| 1993 |
-
|
| 1994 |
-
|
| 1995 |
-
|
| 1996 |
-
|
| 1997 |
-
|
| 1998 |
-
|
| 1999 |
-
|
| 2000 |
-
|
| 2001 |
-
|
| 2002 |
-
|
| 2003 |
-
|
| 2004 |
-
|
| 2005 |
-
|
| 2006 |
-
|
| 2007 |
-
|
| 2008 |
-
|
| 2009 |
-
|
| 2010 |
-
|
| 2011 |
-
|
| 2012 |
-
|
| 2013 |
-
|
| 2014 |
-
|
| 2015 |
-
|
| 2016 |
-
|
| 2017 |
-
|
| 2018 |
-
|
| 2019 |
-
|
| 2020 |
-
|
| 2021 |
-
|
| 2022 |
-
|
| 2023 |
-
|
| 2024 |
-
|
| 2025 |
-
|
| 2026 |
-
|
| 2027 |
-
|
| 2028 |
-
|
| 2029 |
-
|
| 2030 |
-
|
| 2031 |
-
|
| 2032 |
-
|
| 2033 |
-
|
| 2034 |
-
|
| 2035 |
-
|
| 2036 |
-
|
| 2037 |
-
|
| 2038 |
-
|
| 2039 |
-
|
| 2040 |
-
|
| 2041 |
-
|
| 2042 |
-
|
| 2043 |
-
|
| 2044 |
-
|
| 2045 |
-
|
| 2046 |
-
|
| 2047 |
-
|
| 2048 |
-
|
| 2049 |
-
|
| 2050 |
-
|
| 2051 |
-
|
| 2052 |
-
|
| 2053 |
-
|
| 2054 |
-
|
| 2055 |
-
|
| 2056 |
-
|
| 2057 |
-
|
| 2058 |
-
|
| 2059 |
-
|
| 2060 |
-
|
| 2061 |
-
|
| 2062 |
-
|
| 2063 |
-
|
| 2064 |
-
|
| 2065 |
-
|
| 2066 |
-
|
| 2067 |
-
|
| 2068 |
-
|
| 2069 |
-
|
| 2070 |
-
|
| 2071 |
-
|
| 2072 |
-
|
| 2073 |
-
|
| 2074 |
-
|
| 2075 |
-
|
| 2076 |
-
|
| 2077 |
-
|
| 2078 |
-
|
| 2079 |
-
|
| 2080 |
-
|
| 2081 |
-
|
| 2082 |
-
|
| 2083 |
-
|
| 2084 |
-
|
| 2085 |
-
|
| 2086 |
-
|
| 2087 |
-
|
| 2088 |
-
|
| 2089 |
-
|
| 2090 |
-
|
| 2091 |
-
|
| 2092 |
-
|
| 2093 |
-
|
| 2094 |
-
|
| 2095 |
-
|
| 2096 |
-
|
| 2097 |
-
|
| 2098 |
-
|
| 2099 |
-
|
| 2100 |
-
|
| 2101 |
-
|
| 2102 |
-
|
| 2103 |
-
|
| 2104 |
-
|
| 2105 |
-
|
| 2106 |
-
|
| 2107 |
-
|
| 2108 |
-
|
| 2109 |
-
|
| 2110 |
-
|
| 2111 |
-
|
| 2112 |
-
|
| 2113 |
-
|
| 2114 |
-
|
| 2115 |
-
|
| 2116 |
-
|
| 2117 |
-
|
| 2118 |
-
|
| 2119 |
-
|
| 2120 |
-
|
| 2121 |
-
|
| 2122 |
-
|
| 2123 |
-
|
| 2124 |
-
|
| 2125 |
-
|
| 2126 |
-
|
| 2127 |
-
|
| 2128 |
-
|
| 2129 |
-
|
| 2130 |
-
|
| 2131 |
-
|
| 2132 |
-
|
| 2133 |
-
|
| 2134 |
-
|
| 2135 |
-
|
| 2136 |
-
|
| 2137 |
-
|
| 2138 |
-
|
| 2139 |
-
|
| 2140 |
-
|
| 2141 |
-
|
| 2142 |
-
|
| 2143 |
-
|
| 2144 |
-
|
| 2145 |
-
|
| 2146 |
-
|
| 2147 |
-
|
| 2148 |
-
|
| 2149 |
|
| 2150 |
app.queue(concurrency_count=511, max_size=1022).launch(share=False, quiet=True)
|
| 2151 |
# endregion
|
|
|
|
| 1205 |
cpt = torch.load(ModelPath, map_location="cpu")
|
| 1206 |
cpt["config"][-3] = cpt["weight"]["emb_g.weight"].shape[0] # n_spk
|
| 1207 |
hidden_channels = 256 if cpt.get("version",
|
| 1208 |
+
"v1") == "v1" else 768 # cpt["config"][-2] # hidden_channels
|
| 1209 |
|
| 1210 |
test_phone = torch.rand(1, 200, hidden_channels) # hidden unit
|
| 1211 |
+
test_phone_lengths = torch.tensor([200]).long() # hidden unit
|
| 1212 |
test_pitch = torch.randint(size=(1, 200), low=5, high=255) # 基频(单位赫兹)
|
| 1213 |
test_pitchf = torch.rand(1, 200) # nsf基频
|
| 1214 |
test_ds = torch.LongTensor([0]) # 说话人ID
|
|
|
|
| 1512 |
with gr.Tabs():
|
| 1513 |
with gr.TabItem("Interfeys"):
|
| 1514 |
gr.HTML("<center><h1> Voice DeepFake </h1></span>")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1515 |
# Other RVC stuff
|
| 1516 |
with gr.Row():
|
| 1517 |
sid0 = gr.Dropdown(label="1. Modelni tanlang.", choices=sorted(names), value=check_for_name())
|
|
|
|
| 1865 |
)
|
| 1866 |
but1.click(fn=lambda: easy_uploader.clear())
|
| 1867 |
with gr.TabItem("Modelni yuklash"):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1868 |
with gr.Row():
|
| 1869 |
url = gr.Textbox(label="Model URL manzilini kiriting:",
|
| 1870 |
placeholder=".pth va .index fayllarni o'z ichiga olgan zipga havolani kiriting")
|
|
|
|
| 1886 |
return num_files >= 2
|
| 1887 |
|
| 1888 |
|
| 1889 |
+
# if has_two_files_in_pretrained_folder():
|
| 1890 |
+
# print("Pretrained weights are downloaded. Training tab enabled!\n-------------------------------")
|
| 1891 |
+
# with gr.TabItem("Train", visible=False):
|
| 1892 |
+
# with gr.Row():
|
| 1893 |
+
# with gr.Column():
|
| 1894 |
+
# exp_dir1 = gr.Textbox(label="Voice Name:", value="My-Voice")
|
| 1895 |
+
# sr2 = gr.Radio(
|
| 1896 |
+
# label=i18n("目标采样率"),
|
| 1897 |
+
# choices=["40k", "48k"],
|
| 1898 |
+
# value="40k",
|
| 1899 |
+
# interactive=True,
|
| 1900 |
+
# visible=False
|
| 1901 |
+
# )
|
| 1902 |
+
# if_f0_3 = gr.Radio(
|
| 1903 |
+
# label=i18n("模型是否带音高指导(唱歌一定要, 语音可以不要)"),
|
| 1904 |
+
# choices=[True, False],
|
| 1905 |
+
# value=True,
|
| 1906 |
+
# interactive=True,
|
| 1907 |
+
# visible=False
|
| 1908 |
+
# )
|
| 1909 |
+
# version19 = gr.Radio(
|
| 1910 |
+
# label="RVC version",
|
| 1911 |
+
# choices=["v1", "v2"],
|
| 1912 |
+
# value="v2",
|
| 1913 |
+
# interactive=True,
|
| 1914 |
+
# visible=False,
|
| 1915 |
+
# )
|
| 1916 |
+
# np7 = gr.Slider(
|
| 1917 |
+
# minimum=0,
|
| 1918 |
+
# maximum=config.n_cpu,
|
| 1919 |
+
# step=1,
|
| 1920 |
+
# label="# of CPUs for data processing (Leave as it is)",
|
| 1921 |
+
# value=config.n_cpu,
|
| 1922 |
+
# interactive=True,
|
| 1923 |
+
# visible=True
|
| 1924 |
+
# )
|
| 1925 |
+
# trainset_dir4 = gr.Textbox(label="Path to your dataset (audios, not zip):", value="./dataset")
|
| 1926 |
+
# easy_uploader = gr.Files(
|
| 1927 |
+
# label='OR Drop your audios here. They will be uploaded in your dataset path above.',
|
| 1928 |
+
# file_types=['audio'])
|
| 1929 |
+
# but1 = gr.Button("1. Process The Dataset", variant="primary")
|
| 1930 |
+
# info1 = gr.Textbox(label="Status (wait until it says 'end preprocess'):", value="")
|
| 1931 |
+
# easy_uploader.upload(fn=upload_to_dataset, inputs=[easy_uploader, trainset_dir4],
|
| 1932 |
+
# outputs=[info1])
|
| 1933 |
+
# but1.click(
|
| 1934 |
+
# preprocess_dataset, [trainset_dir4, exp_dir1, sr2, np7], [info1]
|
| 1935 |
+
# )
|
| 1936 |
+
# with gr.Column():
|
| 1937 |
+
# spk_id5 = gr.Slider(
|
| 1938 |
+
# minimum=0,
|
| 1939 |
+
# maximum=4,
|
| 1940 |
+
# step=1,
|
| 1941 |
+
# label=i18n("请指定说话人id"),
|
| 1942 |
+
# value=0,
|
| 1943 |
+
# interactive=True,
|
| 1944 |
+
# visible=False
|
| 1945 |
+
# )
|
| 1946 |
+
# with gr.Accordion('GPU Settings', open=False, visible=False):
|
| 1947 |
+
# gpus6 = gr.Textbox(
|
| 1948 |
+
# label=i18n("以-分隔输入使用的卡号, 例如 0-1-2 使用卡0和卡1和卡2"),
|
| 1949 |
+
# value=gpus,
|
| 1950 |
+
# interactive=True,
|
| 1951 |
+
# visible=False
|
| 1952 |
+
# )
|
| 1953 |
+
# gpu_info9 = gr.Textbox(label=i18n("显卡信息"), value=gpu_info)
|
| 1954 |
+
# f0method8 = gr.Radio(
|
| 1955 |
+
# label=i18n(
|
| 1956 |
+
# "选择音高提取算法:输入歌声可用pm提速,高质量语音但CPU差可用dio提速,harvest质量更好但慢"
|
| 1957 |
+
# ),
|
| 1958 |
+
# choices=["harvest", "crepe", "mangio-crepe", "rmvpe"],
|
| 1959 |
+
# # Fork feature: Crepe on f0 extraction for training.
|
| 1960 |
+
# value="rmvpe",
|
| 1961 |
+
# interactive=True,
|
| 1962 |
+
# )
|
| 1963 |
+
#
|
| 1964 |
+
# extraction_crepe_hop_length = gr.Slider(
|
| 1965 |
+
# minimum=1,
|
| 1966 |
+
# maximum=512,
|
| 1967 |
+
# step=1,
|
| 1968 |
+
# label=i18n("crepe_hop_length"),
|
| 1969 |
+
# value=128,
|
| 1970 |
+
# interactive=True,
|
| 1971 |
+
# visible=False,
|
| 1972 |
+
# )
|
| 1973 |
+
# f0method8.change(fn=whethercrepeornah, inputs=[f0method8],
|
| 1974 |
+
# outputs=[extraction_crepe_hop_length])
|
| 1975 |
+
# but2 = gr.Button("2. Pitch Extraction", variant="primary")
|
| 1976 |
+
# info2 = gr.Textbox(label="Status(Check the Colab Notebook's cell output):", value="",
|
| 1977 |
+
# max_lines=8)
|
| 1978 |
+
# but2.click(
|
| 1979 |
+
# extract_f0_feature,
|
| 1980 |
+
# [gpus6, np7, f0method8, if_f0_3, exp_dir1, version19, extraction_crepe_hop_length],
|
| 1981 |
+
# [info2],
|
| 1982 |
+
# )
|
| 1983 |
+
# with gr.Row():
|
| 1984 |
+
# with gr.Column():
|
| 1985 |
+
# total_epoch11 = gr.Slider(
|
| 1986 |
+
# minimum=1,
|
| 1987 |
+
# maximum=5000,
|
| 1988 |
+
# step=10,
|
| 1989 |
+
# label="Total # of training epochs (IF you choose a value too high, your model will sound horribly overtrained.):",
|
| 1990 |
+
# value=250,
|
| 1991 |
+
# interactive=True,
|
| 1992 |
+
# )
|
| 1993 |
+
# butstop = gr.Button(
|
| 1994 |
+
# "Stop Training",
|
| 1995 |
+
# variant='primary',
|
| 1996 |
+
# visible=False,
|
| 1997 |
+
# )
|
| 1998 |
+
# but3 = gr.Button("3. Train Model", variant="primary", visible=True)
|
| 1999 |
+
#
|
| 2000 |
+
# but3.click(fn=stoptraining, inputs=[gr.Number(value=0, visible=False)],
|
| 2001 |
+
# outputs=[but3, butstop])
|
| 2002 |
+
# butstop.click(fn=stoptraining, inputs=[gr.Number(value=1, visible=False)],
|
| 2003 |
+
# outputs=[butstop, but3])
|
| 2004 |
+
#
|
| 2005 |
+
# but4 = gr.Button("4.Train Index", variant="primary")
|
| 2006 |
+
# info3 = gr.Textbox(label="Status(Check the Colab Notebook's cell output):", value="",
|
| 2007 |
+
# max_lines=10)
|
| 2008 |
+
# with gr.Accordion("Training Preferences (You can leave these as they are)", open=False):
|
| 2009 |
+
# # gr.Markdown(value=i18n("step3: 填写训练设置, 开始训练模型和索引"))
|
| 2010 |
+
# with gr.Column():
|
| 2011 |
+
# save_epoch10 = gr.Slider(
|
| 2012 |
+
# minimum=1,
|
| 2013 |
+
# maximum=200,
|
| 2014 |
+
# step=1,
|
| 2015 |
+
# label="Backup every X amount of epochs:",
|
| 2016 |
+
# value=10,
|
| 2017 |
+
# interactive=True,
|
| 2018 |
+
# )
|
| 2019 |
+
# batch_size12 = gr.Slider(
|
| 2020 |
+
# minimum=1,
|
| 2021 |
+
# maximum=40,
|
| 2022 |
+
# step=1,
|
| 2023 |
+
# label="Batch Size (LEAVE IT unless you know what you're doing!):",
|
| 2024 |
+
# value=default_batch_size,
|
| 2025 |
+
# interactive=True,
|
| 2026 |
+
# )
|
| 2027 |
+
# if_save_latest13 = gr.Checkbox(
|
| 2028 |
+
# label="Save only the latest '.ckpt' file to save disk space.",
|
| 2029 |
+
# value=True,
|
| 2030 |
+
# interactive=True,
|
| 2031 |
+
# )
|
| 2032 |
+
# if_cache_gpu17 = gr.Checkbox(
|
| 2033 |
+
# label="Cache all training sets to GPU memory. Caching small datasets (less than 10 minutes) can speed up training, but caching large datasets will consume a lot of GPU memory and may not provide much speed improvement.",
|
| 2034 |
+
# value=False,
|
| 2035 |
+
# interactive=True,
|
| 2036 |
+
# )
|
| 2037 |
+
# if_save_every_weights18 = gr.Checkbox(
|
| 2038 |
+
# label="Save a small final model to the 'weights' folder at each save point.",
|
| 2039 |
+
# value=True,
|
| 2040 |
+
# interactive=True,
|
| 2041 |
+
# )
|
| 2042 |
+
# zip_model = gr.Button('5. Download Model')
|
| 2043 |
+
# zipped_model = gr.Files(label='Your Model and Index file can be downloaded here:')
|
| 2044 |
+
# zip_model.click(fn=zip_downloader, inputs=[exp_dir1], outputs=[zipped_model, info3])
|
| 2045 |
+
# with gr.Group():
|
| 2046 |
+
# with gr.Accordion("Base Model Locations:", open=False, visible=False):
|
| 2047 |
+
# pretrained_G14 = gr.Textbox(
|
| 2048 |
+
# label=i18n("加载预训练底模G路径"),
|
| 2049 |
+
# value="pretrained_v2/f0G40k.pth",
|
| 2050 |
+
# interactive=True,
|
| 2051 |
+
# )
|
| 2052 |
+
# pretrained_D15 = gr.Textbox(
|
| 2053 |
+
# label=i18n("加载预训练底模D路径"),
|
| 2054 |
+
# value="pretrained_v2/f0D40k.pth",
|
| 2055 |
+
# interactive=True,
|
| 2056 |
+
# )
|
| 2057 |
+
# gpus16 = gr.Textbox(
|
| 2058 |
+
# label=i18n("以-分隔输入使用的卡号, 例如 0-1-2 使用卡0和卡1和卡2"),
|
| 2059 |
+
# value=gpus,
|
| 2060 |
+
# interactive=True,
|
| 2061 |
+
# )
|
| 2062 |
+
# sr2.change(
|
| 2063 |
+
# change_sr2,
|
| 2064 |
+
# [sr2, if_f0_3, version19],
|
| 2065 |
+
# [pretrained_G14, pretrained_D15, version19],
|
| 2066 |
+
# )
|
| 2067 |
+
# version19.change(
|
| 2068 |
+
# change_version19,
|
| 2069 |
+
# [sr2, if_f0_3, version19],
|
| 2070 |
+
# [pretrained_G14, pretrained_D15],
|
| 2071 |
+
# )
|
| 2072 |
+
# if_f0_3.change(
|
| 2073 |
+
# change_f0,
|
| 2074 |
+
# [if_f0_3, sr2, version19],
|
| 2075 |
+
# [f0method8, pretrained_G14, pretrained_D15],
|
| 2076 |
+
# )
|
| 2077 |
+
# but5 = gr.Button(i18n("一键训练"), variant="primary", visible=False)
|
| 2078 |
+
# but3.click(
|
| 2079 |
+
# click_train,
|
| 2080 |
+
# [
|
| 2081 |
+
# exp_dir1,
|
| 2082 |
+
# sr2,
|
| 2083 |
+
# if_f0_3,
|
| 2084 |
+
# spk_id5,
|
| 2085 |
+
# save_epoch10,
|
| 2086 |
+
# total_epoch11,
|
| 2087 |
+
# batch_size12,
|
| 2088 |
+
# if_save_latest13,
|
| 2089 |
+
# pretrained_G14,
|
| 2090 |
+
# pretrained_D15,
|
| 2091 |
+
# gpus16,
|
| 2092 |
+
# if_cache_gpu17,
|
| 2093 |
+
# if_save_every_weights18,
|
| 2094 |
+
# version19,
|
| 2095 |
+
# ],
|
| 2096 |
+
# [
|
| 2097 |
+
# info3,
|
| 2098 |
+
# butstop,
|
| 2099 |
+
# but3,
|
| 2100 |
+
# ],
|
| 2101 |
+
# )
|
| 2102 |
+
# but4.click(train_index, [exp_dir1, version19], info3)
|
| 2103 |
+
# but5.click(
|
| 2104 |
+
# train1key,
|
| 2105 |
+
# [
|
| 2106 |
+
# exp_dir1,
|
| 2107 |
+
# sr2,
|
| 2108 |
+
# if_f0_3,
|
| 2109 |
+
# trainset_dir4,
|
| 2110 |
+
# spk_id5,
|
| 2111 |
+
# np7,
|
| 2112 |
+
# f0method8,
|
| 2113 |
+
# save_epoch10,
|
| 2114 |
+
# total_epoch11,
|
| 2115 |
+
# batch_size12,
|
| 2116 |
+
# if_save_latest13,
|
| 2117 |
+
# pretrained_G14,
|
| 2118 |
+
# pretrained_D15,
|
| 2119 |
+
# gpus16,
|
| 2120 |
+
# if_cache_gpu17,
|
| 2121 |
+
# if_save_every_weights18,
|
| 2122 |
+
# version19,
|
| 2123 |
+
# extraction_crepe_hop_length
|
| 2124 |
+
# ],
|
| 2125 |
+
# info3,
|
| 2126 |
+
# )
|
| 2127 |
|
| 2128 |
app.queue(concurrency_count=511, max_size=1022).launch(share=False, quiet=True)
|
| 2129 |
# endregion
|