mirror of
https://github.com/graphdeco-inria/gaussian-splatting
synced 2024-11-22 08:18:17 +00:00
...
This commit is contained in:
parent
de5bce3b2e
commit
f5b136264b
2
train.py
2
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))
|
||||
|
Loading…
Reference in New Issue
Block a user