Skip to main content

No project description provided

Project description

SimpleDL

介绍

用于对基于pytorch深度学习框架的快速开发。提供一种优雅快速的开发方式----您仅需要修改配置文件或者少量代码即可完成模型的训练验证等工作。

软件架构

软件架构说明

安装教程

  1. xxxx
  2. xxxx
  3. 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"},
     ]
   }
 }

参与贡献

  1. Fork 本仓库
  2. 新建 Feat_xxx 分支
  3. 提交代码
  4. 新建 Pull Request

fo

Project details


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 details)

Uploaded Source

Built Distribution

SimpleDLCV-0.0.6-py2.py3-none-any.whl (14.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file SimpleDLCV-0.0.6.tar.gz.

File metadata

  • Download URL: SimpleDLCV-0.0.6.tar.gz
  • Upload date:
  • Size: 11.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.12

File hashes

Hashes for SimpleDLCV-0.0.6.tar.gz
Algorithm Hash digest
SHA256 3044e75c3066bf19eec4b653c421aedd19b41be8c459463e5d3c8b6433c06cf0
MD5 b11fe4890cde2648871ffe8c70cc0102
BLAKE2b-256 a3f1d6622dbf5b17f7bf742f0624529bd35df8c48269adfaf5859600f57426c5

See more details on using hashes here.

File details

Details for the file SimpleDLCV-0.0.6-py2.py3-none-any.whl.

File metadata

  • Download URL: SimpleDLCV-0.0.6-py2.py3-none-any.whl
  • Upload date:
  • Size: 14.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.12

File hashes

Hashes for SimpleDLCV-0.0.6-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 20617d766a8f2e5d0f2d5d2e9ba5975a40cf252e460e5709212bf8ce52f0880b
MD5 94ba1682a2bba15e017f191b55723c01
BLAKE2b-256 59ef38ed658e18e9d3769f62410ecb6b497679291a911a63b2215d19c33db46e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page