forked from ultralytics/yolov5
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optimize app launch, fix table widget, add gpu required key (#202)
* fix el table * Update requirements.txt * Rename requirements.txt to dev_requirements.txt * Update Dockerfile * Create build_image.yml * Update config.json * Update config.json * Update config.json * Update config.json * add gpu required * add gpu required
- Loading branch information
Showing
5 changed files
with
50 additions
and
27 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,50 @@ | ||
<sly-card class="mt15" | ||
title="2. Training classes" | ||
subtitle="Select classes, that should be used for training. Training supports only classes of shape | ||
Rectangle, other shapes are transformed to it automatically."> | ||
<sly-card | ||
class="mt15" | ||
title="2. Training classes" | ||
subtitle="Select classes, that should be used for training. Training supports only classes of shape Rectangle, other shapes are transformed to it automatically." | ||
> | ||
<sly-el-table-selection-container | ||
:data="data.classes" | ||
:selected="state.selectedClasses" | ||
identity-field="title" | ||
> | ||
<el-table | ||
class="ultra-table" | ||
:data="data.classes" | ||
style="width: 100%" | ||
max-height="500" | ||
@selection-change=" | ||
ref="sly-el-table-with-selection" | ||
class="ultra-table" | ||
:data="data.classes" | ||
style="width: 100%" | ||
max-height="500" | ||
@selection-change=" | ||
(val) => { | ||
state.selectedClasses = val.map(x => x.title); | ||
} | ||
" | ||
> | ||
<el-table-column type="selection" width="55"></el-table-column> | ||
<el-table-column label="Name" prop="title" sortable> | ||
<template scope="scope"> | ||
<i class="zmdi zmdi-circle mr5" :style="{color: scope.row.color}"></i> | ||
{{ scope.row.title }} | ||
</template> | ||
</el-table-column> | ||
<el-table-column prop="shape" label="Shape" sortable width="180"></el-table-column> | ||
<el-table-column prop="imagesCount" label="Images count" sortable width="150"></el-table-column> | ||
<el-table-column prop="objectsCount" label="Objects count" sortable width="180"></el-table-column> | ||
<el-table-column type="selection" width="55"></el-table-column> | ||
<el-table-column label="Name" prop="title" sortable> | ||
<template scope="scope"> | ||
<i class="zmdi zmdi-circle mr5" :style="{color: scope.row.color}"></i> | ||
{{ scope.row.title }} | ||
</template> | ||
</el-table-column> | ||
<el-table-column | ||
prop="shape" | ||
label="Shape" | ||
sortable | ||
width="180" | ||
></el-table-column> | ||
<el-table-column | ||
prop="imagesCount" | ||
label="Images count" | ||
sortable | ||
width="150" | ||
></el-table-column> | ||
<el-table-column | ||
prop="objectsCount" | ||
label="Objects count" | ||
sortable | ||
width="180" | ||
></el-table-column> | ||
</el-table> | ||
</sly-card> | ||
</sly-el-table-selection-container> | ||
</sly-card> |