prototorch_models/examples
Jensun Ravichandran ef6bcc1079 [BUG] Early stopping does not seem to work
The early stopping callback does not work as expected, and crashes at the end of
max_epochs with:

```
~/miniconda3/envs/py38/lib/python3.8/site-packages/pytorch_lightning/trainer/callback_hook.py in on_train_end(self)
    155         """Called when the train ends."""
    156         for callback in self.callbacks:
--> 157             callback.on_train_end(self, self.lightning_module)
    158
    159     def on_pretrain_routine_start(self) -> None:

~/work/repos/prototorch_models/prototorch/models/callbacks.py in on_train_end(self, trainer, pl_module)
     18     def on_train_end(self, trainer, pl_module):
     19         # instead, do it at the end of training loop
---> 20         self._run_early_stopping_check(trainer, pl_module)
     21
     22

TypeError: _run_early_stopping_check() takes 2 positional arguments but 3 were given
```
2021-06-02 12:44:34 +02:00
..
cli Add MNIST datamodule and training mixin factory. 2021-05-28 16:33:31 +02:00
cbc_iris.py [WIP] Update CBC example 2021-06-02 00:45:33 +02:00
dynamic_pruning.py [BUG] Early stopping does not seem to work 2021-06-02 12:44:34 +02:00
glvq_iris.py Sort imports in example scripts 2021-05-31 00:52:16 +02:00
glvq_spiral.py Sort imports in example scripts 2021-05-31 00:52:16 +02:00
gmlvq_mnist.py Sort imports in example scripts 2021-05-31 00:52:16 +02:00
gng_iris.py [BUG] Training unstable in examples/gng_iris.py 2021-06-02 00:21:42 +02:00
knn_iris.py Sort imports in example scripts 2021-05-31 00:52:16 +02:00
liramlvq_tecator.py [WIP] Update examples/liramlvq_tecator.py 2021-06-02 00:02:31 +02:00
lvqmln_iris.py Sort imports in example scripts 2021-05-31 00:52:16 +02:00
ng_iris.py Sort imports in example scripts 2021-05-31 00:52:16 +02:00
rslvq_iris.py Rename rslvq example 2021-05-31 17:56:45 +02:00
siamese_glvq_iris.py Sort imports in example scripts 2021-05-31 00:52:16 +02:00