example中 add class_name 到model_info
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
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
imgclass-0.1.6.tar.gz
(7.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file imgclass-0.1.6.tar.gz.
File metadata
- Download URL: imgclass-0.1.6.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
38c28ba598c5f55e776eb9bf323725c43dcf7402f72cd95e2f83fe198cce9e1f
|
|
| MD5 |
259beeb2eb5fead1a11380fc9d77edaf
|
|
| BLAKE2b-256 |
4a0a9191b59eb2349ab737a9fcfd4837e2e4ee543dd549248d1da689ef109022
|
File details
Details for the file imgclass-0.1.6-py3-none-any.whl.
File metadata
- Download URL: imgclass-0.1.6-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f9410bd27dbbf199054017b824e76f7e41189cec4a2add713bddcad739c66840
|
|
| MD5 |
ab62bf4281f1d2eb25f18ade4679e5f3
|
|
| BLAKE2b-256 |
fe6c09a19d3880d46c4489a1c58d4f95c10dfe05a55fac8ce7f3e152f3d387f1
|