推荐学习书目
› Learn Python the Hard Way
Python Sites
› PyPI - Python Package Index
› http://diveintopython.org/toc/index.html
› Pocoo
值得关注的项目
› PyPy
› Celery
› Jinja2
› Read the Docs
› gevent
› pyenv
› virtualenv
› Stackless Python
› Beautiful Soup
› 结巴中文分词
› Green Unicorn
› Sentry
› Shovel
› Pyflakes
› pytest
Python 编程
› pep8 Checker
Styles
› PEP 8
› Google Python Style Guide
› Code Style from The Hitchhiker's Guide
lanshiL3C
V2EX  ›  Python

[开源] pyruns - 给 Python 脚本加个 Web UI,管理批量实验任务

  •  1
     
  •   lanshiL3C · Mar 1 · 3344 views
    This topic created in 209 days ago, the information mentioned may be changed or developed.

    解决什么问题?

    做机器学习调参时:

    • 写 Bash 循环脚本繁琐
    • 日志混在一起难定位
    • 难以管理记录运行过的命令
    • 参数和结果难对应

    pyruns 做了什么?

    给 python 脚本加个浏览器界面,可视化管理实验任务

    核心特性:

    • 🔌 零改动接入 - 自动解析 argparse,生成 Web UI 表单
    • 🧮 批量展开 - 用 lr: 0.001 | 0.01 | 0.1 自动生成多个任务
    • 📋 状态管理 - 浏览器查看所有任务状态、历史记录
    • 🖥️ 隔离日志 - 每个任务独立目录,SSH 断开也能继续看
    • 📊 指标导出 - 跨任务对比,导出 CSV 报表

    使用方式

    pip install pyruns
    pyr train.py  # 打开 http://localhost:8099
    

    无需修改源码,直接启动。


    链接

    欢迎试用,Star 🌟 支持!

    1 replies  •  2026-03-02 15:59:43 +08:00
    acedbs
        1
    acedbs  
       Mar 2
    感谢分享
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   869 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 21:46 · PVG 05:46 · LAX 14:46 · JFK 17:46
    ♥ Do have faith in what you're doing.