prototorch_models/prototorch/models
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
..
__init__.py [BUG] Early stopping does not seem to work 2021-06-02 12:44:34 +02:00
abstract.py Remove unused import 2021-06-01 23:40:56 +02:00
callbacks.py [BUG] Early stopping does not seem to work 2021-06-02 12:44:34 +02:00
cbc.py [WIP] Update CBC example 2021-06-02 00:45:33 +02:00
data.py Add MNIST datamodule and training mixin factory. 2021-05-28 16:33:31 +02:00
glvq.py [FEATURE] Log prototype win ratios over all training batches 2021-06-02 02:32:54 +02:00
lvq.py Refactor non-gradient-lvq models into lvq.py 2021-05-25 20:37:34 +02:00
probabilistic.py Move CELVQ to probabilistic.py 2021-06-01 23:39:06 +02:00
unsupervised.py Tweak repr 2021-06-02 01:07:48 +02:00
vis.py Remove unused import 2021-06-02 00:49:36 +02:00