star-whale / starwhale

an MLOps/LLMOps platform
https://starwhale.ai
Apache License 2.0
208 stars 35 forks source link

feat(client): dump arguments to json file when model building #3102

Closed tianweidut closed 9 months ago

tianweidut commented 9 months ago

Description

depends on: https://github.com/star-whale/starwhale/pull/3101

image

argument json example:

{
    "evaluation:predict_image": {
        "evaluation:EvaluationArguments": {
            "reshape": {
                "name": "reshape",
                "opts": [
                    "--reshape"
                ],
                "type": {
                    "name": "integer",
                    "param_type": "INT",
                    "choices": null,
                    "case_sensitive": false
                },
                "required": false,
                "multiple": false,
                "default": 64,
                "help": "reshape image size",
                "is_flag": false,
                "hidden": false
            }
        }
    }
}

Modules

Checklist

codecov[bot] commented 9 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (2ce80aa) 82.68% compared to head (5116c3c) 91.84%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #3102 +/- ## ============================================ + Coverage 82.68% 91.84% +9.16% ============================================ Files 575 139 -436 Lines 32062 16260 -15802 Branches 1865 0 -1865 ============================================ - Hits 26510 14934 -11576 + Misses 4726 1326 -3400 + Partials 826 0 -826 ``` | [Flag](https://app.codecov.io/gh/star-whale/starwhale/pull/3102/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=star-whale) | Coverage Δ | | |---|---|---| | [console](https://app.codecov.io/gh/star-whale/starwhale/pull/3102/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=star-whale) | `?` | | | [controller](https://app.codecov.io/gh/star-whale/starwhale/pull/3102/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=star-whale) | `?` | | | [standalone](https://app.codecov.io/gh/star-whale/starwhale/pull/3102/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=star-whale) | `91.84% <100.00%> (+0.02%)` | :arrow_up: | | [unittests](https://app.codecov.io/gh/star-whale/starwhale/pull/3102/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=star-whale) | `91.84% <100.00%> (+0.27%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=star-whale#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.