Skip to main content

Python tools to work in deep learning with PyTorch

Project description

PyVTorch

General custom tools to work in deep learning research using Python and PyTorch

Getting Started

Installation

This package can easily be installed using pip:

pip install pyvtorch

An alternative installation that partially uses Anaconda would involve...

  1. First, install some Anaconda distribution, in case you do not have any: https://docs.anaconda.com/anaconda/install/
  2. Then, create an Anaconda environment with Python 3.11.0
    conda create -n dev python=3.11.0
    
  3. Activate the environment
    conda activate dev
    
  4. Then, install all required packages by running the install.sh script:
    yes | . install.sh
    
    This will have executed...
    conda install python=3.11.0 \
        pytorch::pytorch pytorch::torchvision pytorch::pytorch-cuda \
        numpy scikit-image scikit-learn conda-forge::matplotlib tqdm \
        -c nvidia
     pip install pyvtools pyvtorch
    
  5. You can make sure that your PyTorch installation has CUDA GPU support by running...
    python -c "import torch; print(torch.cuda.is_available()) \
               print([torch.cuda.get_device_name(i) for i in range(torch.cuda.device_count())])"  
    
    The first line should print True if CUDA is supported. And the second line should show you the name/s of your available GPU/s.
  6. That's it! You're good to go :)

That second installation procedure is designed to be overly redundant, so please feel free to follow your own installation procedure.

Requirements

Provided installation steps are only guaranteed to work in Ubuntu 24.04 with NVidia drivers 535.

In case you are following another installation procedure, this repository requires...

  • Python 3.11.0
  • PyVTools >= 1.2.0

Additional information

Main Author Contact

Valeria Pais - @vrpais - valeriarpais@gmail.com

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyvtorch-1.2.0.tar.gz (19.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyvtorch-1.2.0-py3-none-any.whl (19.4 kB view details)

Uploaded Python 3

File details

Details for the file pyvtorch-1.2.0.tar.gz.

File metadata

  • Download URL: pyvtorch-1.2.0.tar.gz
  • Upload date:
  • Size: 19.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.5

File hashes

Hashes for pyvtorch-1.2.0.tar.gz
Algorithm Hash digest
SHA256 9578fb244b8ddd581f5b12d329bafb70a65ee721e8d71e41649b673e56ea5481
MD5 5871ebd24b5a25ae76bb15387639d145
BLAKE2b-256 b3a2375336ac19337cce93841d7217e2c50abf47d36f31a7ac74b41c3f762389

See more details on using hashes here.

File details

Details for the file pyvtorch-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: pyvtorch-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 19.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.5

File hashes

Hashes for pyvtorch-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 618cec1f66012ce3e0a3bb0f8bb5637fff14ebaef485b0ac247742851887b89c
MD5 908ccd44f2bc97775e762859abca78ed
BLAKE2b-256 649816488c3b08251dfd007b59cffee211c4c52b7e7cee4b66f7c96ae6ffa401

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page