Skip to content

Commit

Permalink
fix : remove unnecessary comments
Browse files Browse the repository at this point in the history
  • Loading branch information
crepejung00 authored Jul 31, 2024
1 parent b794f59 commit 1768d34
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions train.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,15 +280,6 @@ def training_report(tb_writer, iteration, Ll1, loss, l1_loss, elapsed, testing_i

if args.ours and (args.train_from != "random"):
parser.error("Our initialization version 1 can only be used with --train_from random")

# if args.sparse_sfm and args.cluster:
# parser.error("Please specify either --sparse_sfm or --cluster")
# if args.random and (args.sparse_sfm or args.cluster):
# parser.error("Random initialization cannot be used with --sparse_sfm or --cluster")
# if args.random and args.noisy_sfm:
# parser.error("Random initialization cannot be used with --noisy_sfm")
# if args.ours and (args.sparse_sfm or args.cluster):
# parser.error("Our initialization version 1 cannot be used with --sparse_sfm or --cluster")

print(f"args: {args}")

Expand All @@ -304,4 +295,4 @@ def training_report(tb_writer, iteration, Ll1, loss, l1_loss, elapsed, testing_i
training(lp.extract(args), op.extract(args), pp.extract(args), args.test_iterations ,args.save_iterations, args.checkpoint_iterations ,args.start_checkpoint, args.debug_from, args.__dict__)


print("\nTraining complete.")
print("\nTraining complete.")

0 comments on commit 1768d34

Please sign in to comment.