misc cleanup (#432)

* misc cuda improvements. added cone angle as param

* wandb as default. better organization for experiments

* turn off tensorboard

* disable eval when using viewer

* remove comment

* launch.json
This commit is contained in:
Ethan Weber authored and GitHub committed 2022-09-15 00:16:41 -07:00
1 parent ef8c4fbe23
commit 8973039e65
21 files changed
+230 -111

No files matched your search

+1 -2
View File
@@ -106,7 +106,6 @@ class CompoundModel(Model):
param_groups["fields"] = list(self.field.parameters())
return param_groups
@torch.cuda.amp.autocast()
def get_outputs(self, ray_bundle: RayBundle):
# TODO(ruilongli)
# - train test difference
@@ -192,4 +191,4 @@ class CompoundModel(Model):
writer.put_scalar(name=writer.EventName.CURR_TEST_PSNR, scalar=float(psnr), step=step)
return psnr.item()
return {"psnr": float(psnr.item())}