From f5b136264bf029c00a9b81ef30d8799592b2225b Mon Sep 17 00:00:00 2001 From: Ammar Qammaz Date: Fri, 3 Nov 2023 10:29:50 +0200 Subject: [PATCH] ... --- train.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/train.py b/train.py index 333f3d8..19ed7d8 100644 --- a/train.py +++ b/train.py @@ -111,7 +111,7 @@ def training(dataset, opt, pipe, testing_iterations, saving_iterations, checkpoi if (bestLossEncountered>ema_loss_for_log) and (goodLossThreshold > ema_loss_for_log): if (bestIterationEncountered!=0): print("\n[GOOD ITER {}] Erasing previous best iteration..".format(bestIterationEncountered)) - os.system("rm point_cloud/iteration_%u/*.ply && rmdir point_cloud/iteration_%u/"%(bestIterationEncountered,bestIterationEncountered)) + os.system("rm %s/point_cloud/iteration_%u/*.ply && rmdir %s/point_cloud/iteration_%u/"%(scene.model_path,bestIterationEncountered,scene.model_path,bestIterationEncountered)) bestLossEncountered = ema_loss_for_log bestIterationEncountered = iteration print("\n[GOOD ITER {}] Now remembering this iteration..".format(iteration))