No project description provided
Project description
SimpleDL
介绍
用于对基于pytorch深度学习框架的快速开发。提供一种优雅快速的开发方式----您仅需要修改配置文件或者少量代码即可完成模型的训练验证等工作。
软件架构
软件架构说明
安装教程
- xxxx
- xxxx
- xxxx
使用说明
model(神经网络模型)的配置:
model包含三个关键字,type、args、input_name,分别用来指定模型的类、模型的初始化参数以及输入模型的内容
- type:指定模型的类。
- args:type类的初始参数。参数为字典类型,关键字为参数关键字,值为该关键字值。不可以省略args 参数,若如参数传入则需要指定args为空字典
- input_name:输入模型数据所对应的关键字。!!数据集加载时以字典方式加载多个待用数据,可能包括图像、标签、坐标等等,传入模型时需要指定模型所接受数据在数据集中所对应的关键字。 更多详细的数据集加载问题请参考data(数据集加载)配置
- 例子:
"model":{ type: torchvision.models.resnet.resnet34, "args": { }, input_name: "img" }
data(数据集加载)配置:
- 例子
"dataset":{ type: SimpleDL.dataset.BasicDataset, "args": { base_path: "/home/zhoudonghui/dataset", behavior: [ {type: SimpleDL.dataset.LoadImageBehavior, args:{transforms: *transforms}, out_name: "img"}, {type: SimpleDL.dataset.ClassifiBehavior, args:{}, out_name: "label"}, ] } }
参与贡献
- Fork 本仓库
- 新建 Feat_xxx 分支
- 提交代码
- 新建 Pull Request
fo
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
SimpleDLCV-0.0.6.tar.gz
(11.6 kB
view hashes)
Built Distribution
Close
Hashes for SimpleDLCV-0.0.6-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 20617d766a8f2e5d0f2d5d2e9ba5975a40cf252e460e5709212bf8ce52f0880b |
|
MD5 | 94ba1682a2bba15e017f191b55723c01 |
|
BLAKE2b-256 | 59ef38ed658e18e9d3769f62410ecb6b497679291a911a63b2215d19c33db46e |