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

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.3
File Size Uploaded
netloader-3.11.3.tar.gz 76.1 kB Details

Built distribution (wheel)

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

Total release size: 170.4 kB

Release files / netloader-3.11.3.tar.gz

Download URL netloader-3.11.3.tar.gz
Size 76.1 kB
Tags Source
SHA-256 checksum
How to use checksums
d30e03e9d73ac06005be094748f99e5471029b2fea3de71f45bdefccfbb7f2eb
BLAKE2b-256 checksum
How to use checksums
24df29d4389cacb2b52a4cbb8e82ff4e8bb0eb8dea164105e3adda9f3f154b44
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.3-py3-none-any.whl

Download URL netloader-3.11.3-py3-none-any.whl
Size 94.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9d162987eedcce873bc2b1d00c7e7adbeb1a75bcbea2bcbca4c333041e508160
BLAKE2b-256 checksum
How to use checksums
256ef2e0778f1230a82e0c0c186ba656f02b8f1829d416eb68f7002f86dcd38b
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

3.11.4

2 release files

This release

3.11.3 This release

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