Add static graph param (#226)

* Add static graph param

* use static graph param
This commit is contained in:
Romain Beaumont
2022-10-25 19:31:29 +02:00
committed by GitHub
parent c3df46e374
commit 9f37705d87
2 changed files with 2 additions and 1 deletions

View File

@@ -307,6 +307,7 @@ class DecoderTrainConfig(BaseModel):
wd: SingularOrIterable[float] = 0.01
warmup_steps: Optional[SingularOrIterable[int]] = None
find_unused_parameters: bool = True
static_graph: bool = True
max_grad_norm: SingularOrIterable[float] = 0.5
save_every_n_samples: int = 100000
n_sample_images: int = 6 # The number of example images to produce when sampling the train and test dataset