victoresque / pytorch-template

PyTorch deep learning projects made easy.
MIT License
4.75k stars 1.09k forks source link

Created 'get_xyz' fns, replaced 'import *' in 'train.py'. #16

Closed borgesa closed 6 years ago

borgesa commented 6 years ago

Hi @victoresque ,

I added three get functions:

These replace the 'import *' instances in 'train.py' and makes the code easier to read.

Further, the update aligns better with the 'best practice' of Flake8 rule F405.

Let me know if you believe I should update/change something.