annealing for proposal network (#560)

* merged

* adding depth

* added annealing

* reverted launch.json

* reverted hidden dim

* changed loss

* losses match master

* comments

* fix black
This commit is contained in:
Ethan Weber authored and GitHub committed 2022-09-27 12:32:04 -07:00
1 parent 203d36c433
commit 1267045aed
8 files changed
+104 -30

No files matched your search

+1 -1
View File
@@ -130,12 +130,12 @@ class Trainer:
self._load_checkpoint()
# TODO(ethan): do this for pipeline, not pipeline.model
self.callbacks = self.pipeline.get_training_callbacks(
TrainingCallbackAttributes(
optimizers=self.optimizers, # type: ignore
grad_scaler=self.grad_scaler, # type: ignore
pipeline=self.pipeline, # type: ignore
config=self.config.trainer, # type: ignore
)
)