Update train_nsf_sim_cache_sid_load_pretrain.py
Browse files
train_nsf_sim_cache_sid_load_pretrain.py
CHANGED
|
@@ -695,7 +695,7 @@ def train_and_evaluate(
|
|
| 695 |
)
|
| 696 |
)
|
| 697 |
if min(Loss_Gen_Per_Epoch[Min_for_Single_epoch::1]) == Loss_Gen_Per_Epoch[-1]:
|
| 698 |
-
os.rename(f"logs/{hps.name}/weights/{hps.name}_e{epoch}_s{global_step}.pth",f"logs/{hps.name}/weights/{hps.name}_e{epoch}_s{global_step}_Best_Epoch.pth")
|
| 699 |
|
| 700 |
try:
|
| 701 |
with open("csvdb/stop.csv") as CSVStop:
|
|
|
|
| 695 |
)
|
| 696 |
)
|
| 697 |
if min(Loss_Gen_Per_Epoch[Min_for_Single_epoch::1]) == Loss_Gen_Per_Epoch[-1]:
|
| 698 |
+
os.rename(f"logs/{hps.name}/weights/{hps.name}_e{epoch}_s{global_step}.pth",f"logs/{hps.name}/weights/{hps.name}_e{epoch}_s{global_step}_Best_Epoch.pth") # 5/1/2025
|
| 699 |
|
| 700 |
try:
|
| 701 |
with open("csvdb/stop.csv") as CSVStop:
|