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.12.0

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.12.0
File Size Uploaded
netloader-3.12.0.tar.gz 78.5 kB Details

Built distribution (wheel)

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

Total release size: 175.7 kB

Release files / netloader-3.12.0.tar.gz

Download URL netloader-3.12.0.tar.gz
Size 78.5 kB
Tags Source
SHA-256 checksum
How to use checksums
cec652cb08fd8d586770469e01dcb22b6cd1d72a38f0f3557b4505f92e01fcaa
BLAKE2b-256 checksum
How to use checksums
b2d14f3b59f9363dcc6257a0602fd21bc35a4a0833f6cad8f28a0b28b4ff252e
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.12.0-py3-none-any.whl

Download URL netloader-3.12.0-py3-none-any.whl
Size 97.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
69667bad5b4275aaabf50516368ba6bd00eeb9a660e73016bfc785d247026932
BLAKE2b-256 checksum
How to use checksums
498210d5474282386a3305b4761e47b463aa3f2228456eb5ddf36a6f22adbb76
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

This release

3.12.0 This release

2 release files

3.11.4

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