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

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.1
File Size Uploaded
netloader-3.12.1.tar.gz 78.6 kB Details

Built distribution (wheel)

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

Total release size: 176.0 kB

Release files / netloader-3.12.1.tar.gz

Download URL netloader-3.12.1.tar.gz
Size 78.6 kB
Tags Source
SHA-256 checksum
How to use checksums
10e078ce8cc1a346685687f2b63e3b0c882d9fc80546a0a3ac21c8cd8742abca
BLAKE2b-256 checksum
How to use checksums
673b17e08b31ef2af3edacd816f390b0f2e4fce42a2fab3de24205e852b58bbd
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.1-py3-none-any.whl

Download URL netloader-3.12.1-py3-none-any.whl
Size 97.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1e3b841e188a825c37d87d6a094295c8ab9b8760d50be76f6a63f58f80c99ade
BLAKE2b-256 checksum
How to use checksums
5944a22c0bd4e82927ce426378a555c3c57af5983f9f1c63d12527e3356fcd0e
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

This release

3.12.1 This release

2 release files

3.12.0

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