Skip to main content

PyTorch Network Loader

PyTorch Network Loader is a utility that enables the easy creation of neural networks in PyTorch using JSON configuration files. The package automatically tracks layer output shapes, eliminating the need to manually calculate input dimensions for each layer. NetLoader also provides an architecture framework that allows for the easy architecture setup and training framework, along with additional useful utilities to accelerate the use of neural networks in science.

See the Wiki for more information on how to use this package.
For a real-world example of this package, see Bayesian-DARKSKIES.

Requirements

Using Within Projects

  • Install using pip install netloader1
  • Example of InceptionV4 can be downloaded under ./network_configs/inceptionv4.json along with the composite layers in ./network_configs/composite_layers/

Locally Running NetLoader

  • Clone or download the repository
  • Install dependencies: pip install -r requirements.txt
  • PyTorch's dependencies2:
    NVIDIA GPU with CUDA Toolkit ~= v12.1
  1. To use normalising flows or weights & biases, netloader must be pip installed with the optional argument flows and/or wandb: pip install netloader[flows,wandb] ↩

  2. Only required for use with NVIDIA GPU, v11.8 is also supported, but requirements.txt will try to install the v12.1 version ↩

Release files for netloader 3.11.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for netloader 3.11.4
File Size Uploaded
netloader-3.11.4.tar.gz 76.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for netloader 3.11.4
File Interpreter ABI Platform
netloader-3.11.4-py3-none-any.whl Python 3 none any Details

Total release size: 170.4 kB

Release files / netloader-3.11.4.tar.gz

Download URL netloader-3.11.4.tar.gz
Size 76.1 kB
Tags Source
SHA-256 checksum
How to use checksums
5ed66f341e4e1453543a2b43b2b7f9674a28a9e429169fab5921b834a15b6864
BLAKE2b-256 checksum
How to use checksums
86c2e8c03ac4c7db067e47c8c52277fc60dc302ec54550c78187f70c518e3423
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release files / netloader-3.11.4-py3-none-any.whl

Download URL netloader-3.11.4-py3-none-any.whl
Size 94.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5ba7c627ad9a8e67f12d6f1faf40dce4b0649b975fa730988e92e04c9af4984b
BLAKE2b-256 checksum
How to use checksums
1f5562a26cd4e63ed89ffad659e5cae53ac751c1e0a3c7b171e86cebcc340de5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release history Release notifications | RSS feed

3.12.1

2 release files

3.12.0

2 release files

This release

3.11.4 This release

2 release files

3.11.3

2 release files

3.11.2

2 release files

3.11.1

2 release files

3.11.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page