More typing fixes (#1941)

* Fix more types

* Fix tests

* Minor cleaning

* Address comments

* Resolve linting errors

* Re-ignore pymeshlab type

* Add extra assert / error message to mipnerf model
This commit is contained in:
Brent Yi authored and GitHub committed 2023-05-17 07:17:40 -07:00
1 parent 8b9574bb5a
commit 814db32ec4
53 files changed
+386 -205

No files matched your search

+2
View File
@@ -186,11 +186,13 @@ class Pipeline(nn.Module):
step: training step of the loaded checkpoint
"""
@abstractmethod
def get_training_callbacks(
self, training_callback_attributes: TrainingCallbackAttributes
) -> List[TrainingCallback]:
"""Returns the training callbacks from both the Dataloader and the Model."""
@abstractmethod
def get_param_groups(self) -> Dict[str, List[Parameter]]:
"""Get the param groups for the pipeline.