{"id":34046193,"url":"https://github.com/2bitbit/torchpal","last_synced_at":"2026-04-06T02:02:01.974Z","repository":{"id":291385964,"uuid":"977451432","full_name":"2bitbit/torchpal","owner":"2bitbit","description":null,"archived":false,"fork":false,"pushed_at":"2025-05-09T12:45:33.000Z","size":100,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-15T17:10:57.132Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/2bitbit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-04T08:39:59.000Z","updated_at":"2025-06-08T05:19:37.000Z","dependencies_parsed_at":"2025-05-04T10:40:13.890Z","dependency_job_id":null,"html_url":"https://github.com/2bitbit/torchpal","commit_stats":null,"previous_names":["2bitbit/torchpal"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/2bitbit/torchpal","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2bitbit%2Ftorchpal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2bitbit%2Ftorchpal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2bitbit%2Ftorchpal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2bitbit%2Ftorchpal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/2bitbit","download_url":"https://codeload.github.com/2bitbit/torchpal/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2bitbit%2Ftorchpal/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31456664,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T21:22:52.476Z","status":"online","status_checked_at":"2026-04-06T02:00:07.287Z","response_time":112,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-12-13T23:39:35.301Z","updated_at":"2026-04-06T02:02:01.969Z","avatar_url":"https://github.com/2bitbit.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cb style=\"font-size: 2.2em;\"\u003etorchpal\u003c/b\u003e\u003cbr\u003e\n  \u003cspan style=\"font-size: 1em;\"\u003e 极度新手友好的 PyTorch 伙伴；加速机器学习探索之旅！\u003c/span\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/PyTorch-助手-FF6F00?style=for-the-badge\u0026logo=pytorch\u0026logoColor=white\" alt=\"PyTorch 助手\"/\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Python-3.10+-blue?style=for-the-badge\u0026logo=python\u0026logoColor=white\" alt=\"Python 3.10+\"/\u003e\n  \u003ca href=\"LICENSE\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/许可证-MIT-green?style=for-the-badge\" alt=\"MIT 许可证\"/\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n## 📖 简介\n\n**TorchPal** 是一个专为新手设计的 PyTorch 辅助工具包，拥有简单易用的 API。  \n能极大简化深度学习模型的开发、训练和评估流程中的样板代码，帮助您更专注快速地验证自己的想法。\n\n## 🌟 特色功能\n\n- **自动化训练与评估**: 为常见的回归和分类任务提供自动化管理器，无需手动编写训练循环、验证逻辑（内置 K 折交叉验证）\n- **实时可视化**: 实时可视化训练与评估过程，直观展示模型性能；支持自定义指标进行绘制，\n- **探索性训练**: 支持在小型数据子集上快速运行训练，帮助初步验证模型架构或超参数设置的合理性\n- **实用工具集**: 提供丰富的实用工具，如提供模型保存/加载、脚本备份、图片展示等常用辅助功能\n\n## ⚡ 快速开始\n\n### 安装\n\n```bash\npip install torchpal\n```\n\n### 基础使用（以回归任务为例）\n[点击查看完整示例代码](example.ipynb)\n\n## 📚 模块概览\n\n- **`tp.train`**: 包含 `RegressionAutoManager` 和 `ClassificationAutoManager`，用于自动化训练和评估流程。\n- **`tp.utils`**: 提供实用工具\n- **`tp.data`**: 数据处理相关工具\n- **`tp.da`**: 简单的数据分析工具 (基于 Pandas)\n\n\n提示：TorchPal 优化了类型提示，您可以在编码时利用 IDE 的提示与代码补全功能轻松查看各模块的内容、函数的可用参数及说明。\n\n## 🤝 贡献\n\n欢迎各种形式的贡献！\n\n1.  **发现 Bug 或有功能建议？** 请在 [GitHub Issues](https://github.com/2bitbit/torchpal/issues) 提出。\n2.  **贡献代码：**\n    - Fork 本仓库。\n    - 创建特性分支 (`git checkout -b feature/YourAmazingFeature`)。\n    - 提交更改 (`git commit -m 'Add some AmazingFeature'`)。\n    - 推送到分支 (`git push origin feature/YourAmazingFeature`)。\n    - 提交 Pull Request。\n\n## 🙏 致谢\n\n- 感谢 PyTorch 团队。\n- 感谢所有开源贡献者。\n\n\n\u003cp align=\"center\"\u003e\n  \u003cb\u003eTorchPal - 让 PyTorch 更简单，让想法更快落地！\u003c/b\u003e\u003cbr\u003e\n  \u003ci\u003e用 ❤️ 制作\u003c/i\u003e\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F2bitbit%2Ftorchpal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F2bitbit%2Ftorchpal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F2bitbit%2Ftorchpal/lists"}