box-box

Box of Python Class and Object


Keywords
Class, Object, Factory
License
MIT
Install
pip install box-box==0.0.1

Documentation

torch-model-loader Build Status codecov PyPI version

Model Loader for PyTorch, Name ➡️ Model

Installation

Need Python 3.6+.

pip install torch-model-loader

Usage

import torch.nn as nn
import torch_model_loader


@torch_model_loader.register
class CustomModule(nn.Module):
    pass

# ...

model_class = torch_model_loader.load('CustomModule')
model = model_class()