small update

This commit is contained in:
Ethan Weber committed 2022-12-13 21:12:17 +00:00
1 parent 975b541eb5
commit 4a85c5a4f7
2 files changed
+22 -15

No files matched your search

+2
View File
@@ -354,6 +354,7 @@ class VanillaPipeline(Pipeline):
raise ValueError(
"You must set datamanager.camera_optimizer.mode to optimize to optimize the camera poses."
)
# TODO: make this a parameter
num_pose_iters = 100
for i in range(num_pose_iters):
print("pose iter: ", i)
@@ -369,6 +370,7 @@ class VanillaPipeline(Pipeline):
# optimize appearance on half image
if self.config.eval_optimize_appearance:
# TODO: make this a parameter
num_appearance_iters = 100
side = random.choice([0, 1])
half_width = width // 2