senet.pytorch

(★ 2,344)

PyTorch implementation of SENet

File Explorer

  • .gitignore
  • cifar.py
  • hubconf.py
  • imagenet.py
  • LICENSE
  • README.md

# Installation Guide

python
Prerequisites

Setup Steps

pip install git+https://github.com/moskomule/homura@v2020.07

Install the required homura library for the project.

python cifar.py

Run SE-ResNet20 model with the Cifar10 dataset.

Key Commands

pip install git+https://github.com/moskomule/homura@v2020.07

Install the homura library directly from GitHub.

python cifar.py

Run SE-ResNet20 using the CIFAR-10 dataset.

python imagenet.py

Run SE-ResNet50 using the ImageNet dataset.

python -m torch.distributed.launch --nproc_per_node=2 imagenet.py

Run distributed training across multiple GPUs.

Datasets should be placed under ~/.torch/data or specified via IMAGENET_ROOT environment variable.

# Use via CDN

jsDelivr

jsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.

Command Glossary

Commands referenced in this DOCs, explained below.

🔍

pip install

View Details ▼

Install Python packages.

pip install {{package1 package2 ...}}

Install one or more packages:

pip install {{package1 package2 ...}} {{[-U|--upgrade]}}

Upgrade all specified packages to the latest version, installing any that are not already present:

pip install {{package}}=={{version}}

Install a specific version of a package:

🔍

python

View Details ▼

Python language interpreter.

python

Start a REPL (interactive shell):

python {{path/to/file.py}}

Execute a specific Python file:

python -i {{path/to/file.py}}

Execute a specific Python file and start a REPL:

// repository documentation