feat(dashboard): add training analysis page and improve communication…#31
Open
feat(dashboard): add training analysis page and improve communication…#31
Conversation
…/inference tables
|
|
||
| # Initialize session state | ||
| if "data_loader" not in st.session_state: | ||
| if "ni" not in st.session_state: |
| if len(selected_runs) == 1: | ||
| st.markdown("#### 📌 核心指标(最新)") | ||
| run = selected_runs[0] | ||
| core = extract_core_metrics(run) |
Collaborator
There was a problem hiding this comment.
extract_core_metrics 这个函数是不用了么?为啥不用了呢,可以考虑保留这个封装;如果确定不要了,记得把这个函数从utils里面删掉
Comment on lines
+339
to
+340
| except: | ||
| pass |
Collaborator
There was a problem hiding this comment.
这个地方至少得有个error log, 不要直接吞掉exception
| fig = create_gauge_chart( | ||
| duration, | ||
| duration * 2, # Scale to show progress | ||
| duration * 2, |
| init_page("训练测试分析 | InfiniMetrics", "🏋️") | ||
|
|
||
|
|
||
| def main(): |
Collaborator
|
把测试结果数据记得上传test_data分支一份,后续测试dashboard可能用得着,谢谢! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
描述:
结果展示:
1.在本地启动 Streamlit 服务:
2.打开浏览器访问 http://localhost:8502 ,点击“训练性能测试分析” 看到新增 training 界面:
