File tree Expand file tree Collapse file tree 2 files changed +11
-8
lines changed
Expand file tree Collapse file tree 2 files changed +11
-8
lines changed Original file line number Diff line number Diff line change 130130 " f\" notebook. NGC message: {ngc_output_formatted}\"\n " ,
131131 " )\n " ,
132132 " return None\n " ,
133- " riva_files_in_dir = list(output.glob(\" *.riva\" ))\n " ,
134- " if len(riva_files_in_dir) > 0:\n " ,
135- " output = riva_files_in_dir[0]\n " ,
133+ " if \" model\" in resource_type:\n " ,
134+ " riva_files_in_dir = list(output.glob(\" *.riva\" ))\n " ,
135+ " if len(riva_files_in_dir) > 0:\n " ,
136+ " output = riva_files_in_dir[0]\n " ,
136137 " if output is not None and var is not None:\n " ,
137138 " warnings.warn(\n " ,
138139 " f\" `{var_name}` had a non-default value of `{var}`. `{var_name}` will be updated to `{var}`\"\n " ,
536537 "name" : " python" ,
537538 "nbconvert_exporter" : " python" ,
538539 "pygments_lexer" : " ipython3" ,
539- "version" : " 3.8.10 "
540+ "version" : " 3.8.0 "
540541 },
541542 "vscode" : {
542543 "interpreter" : {
Original file line number Diff line number Diff line change 671671 "metadata" : {},
672672 "outputs" : [],
673673 "source" : [
674+ " hifigan_full_ds = f\" {finetune_data_path}/mels/merged_full_mel.json\"\n " ,
674675 " hifigan_train_ds = f\" {finetune_data_path}/mels/merged_train_mel.json\"\n " ,
675676 " hifigan_val_ds = f\" {finetune_data_path}/mels/merged_val_mel.json\"\n " ,
676677 " \n " ,
677- " ! cat {hifigan_train_ds} | tail -n 2 > {hifigan_val_ds}"
678+ " ! cat {hifigan_train_ds} > {hifigan_full_ds}\n " ,
679+ " ! cat {hifigan_full_ds} | tail -n 2 > {hifigan_val_ds}\n " ,
680+ " ! cat {hifigan_full_ds} | head -n -2 > {hifigan_train_ds}"
678681 ]
679682 },
680683 {
878881 ]
879882 },
880883 {
881- "attachments" : {},
882884 "cell_type" : " markdown" ,
883885 "metadata" : {},
884886 "source" : [
893895 "hash" : " 741d73fab70d7eb29e7b56260ebaa567f0620f4d2780830ca385f600e5120e14"
894896 },
895897 "kernelspec" : {
896- "display_name" : " Python 3" ,
898+ "display_name" : " Python 3 (ipykernel) " ,
897899 "language" : " python" ,
898900 "name" : " python3"
899901 },
907909 "name" : " python" ,
908910 "nbconvert_exporter" : " python" ,
909911 "pygments_lexer" : " ipython3" ,
910- "version" : " 3.7.6 "
912+ "version" : " 3.8.0 "
911913 }
912914 },
913915 "nbformat" : 4 ,
You can’t perform that action at this time.
0 commit comments