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.jsonalong 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
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)
| File | Size | Uploaded | |
|---|---|---|---|
| netloader-3.12.0.tar.gz | 78.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|