senet.pytorch
PyTorch implementation of SENet
File Explorer
- __init__.py
- baseline.py
- se_inception.py
- se_module.py
- se_resnet.py
- .gitignore
- cifar.py
- hubconf.py
- imagenet.py
- LICENSE
- README.md
# Installation Guide
python- Python >=3.8
- PyTorch >=1.6.0
- torchvision >=0.7
- homura v2020.07
- CUDA null
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.
# Use via CDN
jsDelivrjsDelivr 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 ▼
pip install
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
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:
