修复 pred 类异常bug
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.3.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.3.tar.gz.
File metadata
- Download URL: imgclass-0.1.3.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 |
1595728a62065c21f47fba4bf95be6ac087c1a758488138fa46cf4b0f48d9714
|
|
| MD5 |
e18f020e276d04c03f953dd5c3654bce
|
|
| BLAKE2b-256 |
e46bcd27b925429d9d136278ac4993e040e722edd6bd820d6bb3330a0ec49f3f
|
File details
Details for the file imgclass-0.1.3-py3-none-any.whl.
File metadata
- Download URL: imgclass-0.1.3-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 |
4d80d09f21d834de501ab82800328129a9f2e4ddfa22c73ebaa99f400d3aad34
|
|
| MD5 |
86c9f48e3cf5f951b0346a0c4f9fed6a
|
|
| BLAKE2b-256 |
9be53f819a72cde02db0148b2e1e56d1a4df0895fc9dc4f248dc090124562e38
|