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.
- 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/
- Clone or download the repository
- Install dependencies:
pip install -r requirements.txt - PyTorch's dependencies2:
NVIDIA GPU with CUDA Toolkit ~= v12.1