srn/idr followups

Summary: small followup to D37172537 (cba26506b6) and D37209012 (81d63c6382): changing default #harmonics and improving a test

Reviewed By: shapovalov

Differential Revision: D37412357

fbshipit-source-id: 1af1005a129425fd24fa6dd213d69c71632099a0
This commit is contained in:
Jeremy Reizenstein
2022-06-24 04:07:15 -07:00
committed by Facebook GitHub Bot
parent 3e4fb0b9d9
commit 5c1ca757bb
3 changed files with 24 additions and 4 deletions

View File

@@ -58,7 +58,7 @@ class IdrFeatureField(ImplicitFunctionBase, torch.nn.Module):
bias: float = 1.0
skip_in: Sequence[int] = ()
weight_norm: bool = True
n_harmonic_functions_xyz: int = -1
n_harmonic_functions_xyz: int = 0
pooled_feature_dim: int = 0
encoding_dim: int = 0