We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98f967b commit 9c5f4bfCopy full SHA for 9c5f4bf
snorkel/labeling/model/label_model.py
@@ -285,7 +285,6 @@ def _init_params(self) -> None:
285
elif isinstance(self.train_config.prec_init, list):
286
self._prec_init = torch.Tensor(self.train_config.prec_init)
287
elif not isinstance(self.train_config.prec_init, torch.Tensor):
288
- print("TYPE ERROR")
289
raise TypeError(
290
f"prec_init is of type {type(self.train_config.prec_init)} which is not supported currently."
291
)
0 commit comments