extorch-1.0.4


توضیحات

An useful extension library of PyTorch.
ویژگی مقدار
سیستم عامل -
نام فایل extorch-1.0.4
نام extorch
نسخه کتابخانه 1.0.4
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Junbo Zhao
ایمیل نویسنده zhaojunbo2012@sina.cn
آدرس صفحه اصلی https://github.com/A-LinCui/Extorch
آدرس اینترنتی https://pypi.org/project/extorch/
مجوز MIT License
![](https://img.shields.io/badge/version-1.0.3-yellow) ## Extorch: An useful extension library of PyTorch. [**Extorch**](https://github.com/A-LinCui/Extorch) is an extension library of [**PyTorch**](https://github.com/pytorch/pytorch) that lets you easily build deep learning systems with PyTorch. 📖 Documentation ----------------- - **Tutorial**: If you are looking for a tutorial, check out examples under ``./example``. - **Documentation**: The API documentation can be found on [ReadTheDocs](https://extorch.readthedocs.io/en/latest/). 🚀 Quickstart -------------- As the API of this project may alter frequently in its early days, we recommand use the newest version at the [GitHub](https://github.com/A-LinCui/Extorch) following two steps below. Step 1: ``git clone https://github.com/A-LinCui/Extorch`` Step 2: ``bash install.sh`` If you'd like to use the previous stable version. Simply run ``pip install extorch`` in the command line. 🎉 Example ----------- ``` import extorch.vision.dataset as dataset import torch.utils.data as data BATCH_SIZE = 128 NUM_WORKERS = 2 data_dir = "~/data" # Path to load the dataset datasets = dataset.CIFAR10(data_dir) # Construct the CIFAR10 dataset with standard transforms. trainloader = data.DataLoader(dataset = datasets.splits()["train"], \ batch_size = BATCH_SIZE, num_workers = NUM_WORKERS, shuffle = True) testloader = data.DataLoader(dataset = datasets.splits()["test"], \ batch_size = BATCH_SIZE, num_workers = NUM_WORKERS, shuffle = False) ``` More examples can be found in the ``./example`` folder. 👍 Contributions ----------------- We welcome contributions of all kind.


نیازمندی

مقدار نام
- pyyaml
- ipdb
- scikit-learn
- numpy
- torch
- setuptools
>=1.2.0 torch
>=0.4.0 torchvision
- matplotlib
- pillow


نحوه نصب


نصب پکیج whl extorch-1.0.4:

    pip install extorch-1.0.4.whl


نصب پکیج tar.gz extorch-1.0.4:

    pip install extorch-1.0.4.tar.gz