Skip to main content

add example 优化结构

Project description

imgclass

python 的图形分类封装包

1. 数据预处理

  • prepro.py
  • 返回torch.utils.data.DataLoader
from prepro import run_pre
dataloader = run_pre(data_path, stage="train", batch_size=8, normalize=False)

2. 训练模型

3. 测试模型

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

imgclass-0.1.5.tar.gz (7.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

imgclass-0.1.5-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

Details for the file imgclass-0.1.5.tar.gz.

File metadata

  • Download URL: imgclass-0.1.5.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.7

File hashes

Hashes for imgclass-0.1.5.tar.gz
Algorithm Hash digest
SHA256 fa60c1f2de0756008110aa244e9e00d05e456b5d98a6e9295d17a6bec5dfbbb2
MD5 50db0151ae5edd12edfed8886fb4b592
BLAKE2b-256 d23868e50698d965b494ed7ffe8ae9d503cc26aa2b3b8e58d7f749b47d0d0831

See more details on using hashes here.

File details

Details for the file imgclass-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: imgclass-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 8.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.7

File hashes

Hashes for imgclass-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 6976e46df075a498750cfae136783758ded6239fd8f235393d15120b80e58c52
MD5 ec773a18d4f2469125a82dbf444bd716
BLAKE2b-256 09695d53c1be9b8abdeef08c7f836ccf3a7facc5bca036a2cb417a578c0fdc51

See more details on using hashes here.

Supported by

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