add pred 类
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.2.tar.gz
(6.9 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.2.tar.gz.
File metadata
- Download URL: imgclass-0.1.2.tar.gz
- Upload date:
- Size: 6.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9eae1f9d45f2109009d24a876faf6de59a8f2337f3b2c7bb0cb15b23abd69014
|
|
| MD5 |
afc7274a30e4f194135b4b088a86ab63
|
|
| BLAKE2b-256 |
49b700425d8d8f6c074616c41d2d839706f3cac2028b2a79f1154ca15c113cf0
|
File details
Details for the file imgclass-0.1.2-py3-none-any.whl.
File metadata
- Download URL: imgclass-0.1.2-py3-none-any.whl
- Upload date:
- Size: 7.9 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 |
ebe996677e5a428f9f6028c965778c49dfa73d7dacf09eaf293179fca586c8c6
|
|
| MD5 |
ee1e1adb81367177e9d688182de0713c
|
|
| BLAKE2b-256 |
285ed0b8cdc107656ff74b8e8c1a126ad4df6c3f27c79cf82753c0be11e823bc
|