PyTorch辅助工具包:极度新手友好的 PyTorch 伴侣
Project description
torchpal
极度新手友好的 PyTorch 伙伴;加速机器学习探索之旅!
📖 简介
TorchPal 是一个专为新手设计的 PyTorch 辅助工具包,拥有简单易用的 API。
能极大简化深度学习模型的开发、训练和评估流程中的样板代码,帮助您更专注快速地验证自己的想法。
🌟 特色功能
- 自动化训练与评估: 为常见的回归和分类任务提供自动化管理器,无需手动编写训练循环、验证逻辑(内置 K 折交叉验证)
- 实时可视化: 实时可视化训练与评估过程,直观展示模型性能;支持自定义指标进行绘制,
- 探索性训练: 支持在小型数据子集上快速运行训练,帮助初步验证模型架构或超参数设置的合理性
- 实用工具集: 提供丰富的实用工具,如提供模型保存/加载、脚本备份、图片展示等常用辅助功能
⚡ 快速开始
安装
pip install torchpal
基础使用(以回归任务为例)
📚 模块概览
tp.train: 包含RegressionAutoManager和ClassificationAutoManager,用于自动化训练和评估流程。tp.utils: 提供实用工具tp.data: 数据处理相关工具tp.da: 简单的数据分析工具 (基于 Pandas)
提示:TorchPal 优化了类型提示,您可以在编码时利用 IDE 的提示与代码补全功能轻松查看各模块的内容、函数的可用参数及说明。
🤝 贡献
欢迎各种形式的贡献!
- 发现 Bug 或有功能建议? 请在 GitHub Issues 提出。
- 贡献代码:
- Fork 本仓库。
- 创建特性分支 (
git checkout -b feature/YourAmazingFeature)。 - 提交更改 (
git commit -m 'Add some AmazingFeature')。 - 推送到分支 (
git push origin feature/YourAmazingFeature)。 - 提交 Pull Request。
🙏 致谢
- 感谢 PyTorch 团队。
- 感谢所有开源贡献者。
TorchPal - 让 PyTorch 更简单,让想法更快落地!
用 ❤️ 制作
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
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 torchpal-0.1.1.tar.gz.
File metadata
- Download URL: torchpal-0.1.1.tar.gz
- Upload date:
- Size: 16.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
892bd7049ed67fe9768a59f1c9fc15f4870800c3641e23335aae92df557c79e2
|
|
| MD5 |
e058004647dc51a98de85c01ecc9cb5e
|
|
| BLAKE2b-256 |
4932da30f9edebfbb6b77ad5fb09a77b030e7460c477640578c595ed34522158
|
Provenance
The following attestation bundles were made for torchpal-0.1.1.tar.gz:
Publisher:
pypi-publish.yml on 2bitbit/torchpal
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
torchpal-0.1.1.tar.gz -
Subject digest:
892bd7049ed67fe9768a59f1c9fc15f4870800c3641e23335aae92df557c79e2 - Sigstore transparency entry: 209280579
- Sigstore integration time:
-
Permalink:
2bitbit/torchpal@9867f89e2de8ac820bf19731b79bfb89ae913891 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/2bitbit
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@9867f89e2de8ac820bf19731b79bfb89ae913891 -
Trigger Event:
push
-
Statement type:
File details
Details for the file torchpal-0.1.1-py3-none-any.whl.
File metadata
- Download URL: torchpal-0.1.1-py3-none-any.whl
- Upload date:
- Size: 18.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
654e983da1a2c4fb824951e1f4e1c35a5f06febdd9907730022004a9d9322fa3
|
|
| MD5 |
ae1837eb5d9c361c30700f55fba8c4ad
|
|
| BLAKE2b-256 |
e26062d3854ba3ad1a9dec1854b50f73819b316dea0028641baa20ff14239cd5
|
Provenance
The following attestation bundles were made for torchpal-0.1.1-py3-none-any.whl:
Publisher:
pypi-publish.yml on 2bitbit/torchpal
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
torchpal-0.1.1-py3-none-any.whl -
Subject digest:
654e983da1a2c4fb824951e1f4e1c35a5f06febdd9907730022004a9d9322fa3 - Sigstore transparency entry: 209280580
- Sigstore integration time:
-
Permalink:
2bitbit/torchpal@9867f89e2de8ac820bf19731b79bfb89ae913891 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/2bitbit
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@9867f89e2de8ac820bf19731b79bfb89ae913891 -
Trigger Event:
push
-
Statement type: