lightning/pytorch_lightning
Sebastian Præsius b31539f62e Guard against AttributeError in dataloaders. (#161)
A solution for https://github.com/williamFalcon/pytorch-lightning/issues/142.
Since hasattr "calls getattr(object, name) and to see whether it raises an AttributeError or not", I replaced it with a single call to getattr.
See also https://stackoverflow.com/questions/24971061/python-hasattr-vs-getattr
2019-08-23 08:21:39 -04:00
..
callbacks made imports absolute 2019-08-07 10:14:59 -04:00
models Cleaned up val/tng/test nb batches (#163) 2019-08-23 07:42:17 -04:00
pt_overrides apply PEP8 2019-08-06 22:45:27 +02:00
root_module Guard against AttributeError in dataloaders. (#161) 2019-08-23 08:21:39 -04:00
testing enhanced optimizer return options (#120) 2019-08-15 11:31:56 -04:00
utilities update by flake8 2019-08-06 22:45:46 +02:00
__init__.py fix loading pkg while setup (#71) 2019-08-08 05:17:23 -04:00