Skip to main content

A package to create pytorch projects quickly

Project description

Torch Templates

  • The file structure is vastly inspired from madewithml.com and many Kaggle Kernels from top kagglers.

  • Till now, this would create a package for you with the setup.py and the requirements.txt.

  • TODO:

    • Add TODO for hyperparameter tuning.

File structure

- src
    - config
        - config.py
    - project_name
        - main.py
        - dataset.py
        - model.py
        - train.py
        - utils.py
        - hyparam.py (need to add...)
    - README.md
    - requirements.txt

How to use?

Install

pip install torchtemplates

Commands

torchtemplates --help

init

torchtemplates init

new-pipeline

torchtemplates new-pipeline image testing

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

torchtemplates-1.0.0.tar.gz (9.6 kB view details)

Uploaded Source

Built Distribution

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

torchtemplates-1.0.0-py3-none-any.whl (15.0 kB view details)

Uploaded Python 3

File details

Details for the file torchtemplates-1.0.0.tar.gz.

File metadata

  • Download URL: torchtemplates-1.0.0.tar.gz
  • Upload date:
  • Size: 9.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for torchtemplates-1.0.0.tar.gz
Algorithm Hash digest
SHA256 9ea3b5d714e0af009f5beb8bda8192b18d64d08aba39da59547dc688a052990a
MD5 a0f3ff32c150d9a110661af033236cab
BLAKE2b-256 8dc2ae7daf9c4070636dd1fb409d3105cc26603a30e7ff135767fba717539d96

See more details on using hashes here.

File details

Details for the file torchtemplates-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: torchtemplates-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 15.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for torchtemplates-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 990aba9819c8dfacadbd495dce74c3286abb008ffb597b14c9b72e019ba11907
MD5 c6a2bff00de3d9e3b8ecbd662378974d
BLAKE2b-256 3b8b0acc335b1d60f34dc422ee2c26a86ed1f810550302c63586fb7598534c79

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