# boiler-pytorch
Basic framework for training stuff in PyTorch. It's quite tailored to projects
I've been working on lately, so it's meant for personal use. Its sole purpose is
to do away with *boiler*plate code, and having it here makes it easier to
share it across projects.
## Install
```shell script
pip install boilr
```
## Usage example/template
There's a usage example that can be useful as template. It's a basic VAE
for MNIST quickly hacked together. The example files/folders are:
- `example.py`
- `models/`
- `experiments/`
Install requirements and run the example:
```shell script
pip install -r requirements.txt
CUDA_VISIBLE_DEVICES=0 python example.py
```
Last tested with:
- `python 3.7.6`
- `numpy 1.18.2`
- `matplotlib 3.2.1`
- `torch 1.4.0`
- `torchvision 0.5.0`
- `tensorboard 2.2.0` (it also works without, but it won't save tensorboard logs)
- `pillow 7.1.1`
- `tqdm 4.45.0`
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
共25个文件
py:17个
txt:4个
pkg-info:2个
资源分类:Python库 所属语言:Python 资源全名:boilr-0.6.10.tar.gz 资源来源:官方 安装方法:https://lanzao.blog.csdn.net/article/details/101784059
资源推荐
资源详情
资源评论
收起资源包目录
boilr-0.6.10.tar.gz (25个子文件)
boilr-0.6.10
PKG-INFO 2KB
boilr.egg-info
PKG-INFO 2KB
requires.txt 73B
SOURCES.txt 461B
top_level.txt 6B
dependency_links.txt 1B
boilr
options.py 2KB
eval.py 4KB
models.py 3KB
nn
utils.py 3KB
init.py 5KB
__init__.py 23B
modules.py 5KB
__init__.py 140B
trainer.py 12KB
_version.py 135B
utils
utils.py 2KB
viz.py 9KB
__init__.py 21B
summarize.py 8KB
experiment.py 19KB
data.py 3KB
setup.cfg 38B
setup.py 2KB
README.md 908B
共 25 条
- 1
资源评论
挣扎的蓝藻
- 粉丝: 13w+
- 资源: 15万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功