Files
pytorch-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
..
2019-08-07 10:14:59 -04:00
2019-08-06 22:45:27 +02:00
2019-08-06 22:45:46 +02:00
2019-08-08 05:17:23 -04:00