Skip to content

Commit

Permalink
refactor prepare_segmentation_data
Browse files Browse the repository at this point in the history
  • Loading branch information
almazgimaev committed Dec 13, 2024
1 parent a40a544 commit 1435e4a
Show file tree
Hide file tree
Showing 3 changed files with 223 additions and 166 deletions.
2 changes: 1 addition & 1 deletion train/src/sly_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ def get_eval_results_dir_name(api, task_id, project_info):
task_info = api.task.get_info_by_id(task_id)
task_dir = f"{task_id}_{task_info['meta']['app']['name']}"
eval_res_dir = f"/model-benchmark/{project_info.id}_{project_info.name}/{task_dir}/"
eval_res_dir = api.storage.get_free_dir_name(sly.env.team_id(), eval_res_dir)
eval_res_dir = api.file.get_free_dir_name(sly.env.team_id(), eval_res_dir)
return eval_res_dir
7 changes: 7 additions & 0 deletions train/src/ui/monitoring.html
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,13 @@
</div>
<el-progress :percentage="data.progressPercentBenchmark"></el-progress>
</div>
<div v-if="data.progressTqdm" class="mt10">
<div style="color: #20a0ff">
{{data.progressTqdm}}: {{data.progressCurrentTqdm}} /
{{data.progressTotalTqdm}}
</div>
<el-progress :percentage="data.progressPercentTqdm"></el-progress>
</div>
<div v-if="data.progressEpoch" class="mt10">
<div style="color: #20a0ff">
{{data.progressEpoch}}: {{data.progressCurrentEpoch}} /
Expand Down
Loading

0 comments on commit 1435e4a

Please sign in to comment.