pytorch-learn
is a lightweight deep learning framework for general use cases based on PyTorch.
pytorch-learn
requires Python 3.6 or higher.
pytorch-learn
requires pytorch>=1.8.0
. Please refer to PyTorch, and it is highly recommended to pre-install PyTorch with conda.
After installing PyTorch, installation of pytorch-learn
would be rather easy:
If you pre-installed PyTorch with conda, remember to activate the corresponding environment!
git clone https://github.com/pku-aiic/pytorch-learn.git
cd pytorch-learn
pip install -e .
Please visit the examples
folder for more details.