bug fixed
Browse files- app.py +1 -0
- config.yaml +1 -1
- data/mapping.yaml +1 -1
app.py
CHANGED
@@ -130,6 +130,7 @@ def show_example(example, col1, col2, enable_scores=True):
|
|
130 |
with col1:
|
131 |
st.image(image)
|
132 |
info = example.get('info', {})
|
|
|
133 |
info['image'] = image_fn
|
134 |
if 'dataset' in example:
|
135 |
info['source'] = example['dataset']
|
|
|
130 |
with col1:
|
131 |
st.image(image)
|
132 |
info = example.get('info', {})
|
133 |
+
info['id'] = example.get('id', 'N/A')
|
134 |
info['image'] = image_fn
|
135 |
if 'dataset' in example:
|
136 |
info['source'] = example['dataset']
|
config.yaml
CHANGED
@@ -5,7 +5,7 @@ data_explore:
|
|
5 |
image_paths:
|
6 |
COCO: COCO_2017
|
7 |
data_paths:
|
8 |
-
-
|
9 |
|
10 |
eval_results:
|
11 |
image_paths:
|
|
|
5 |
image_paths:
|
6 |
COCO: COCO_2017
|
7 |
data_paths:
|
8 |
+
- data
|
9 |
|
10 |
eval_results:
|
11 |
image_paths:
|
data/mapping.yaml
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
image_paths:
|
2 |
-
BASE: ./
|
3 |
mapping:
|
4 |
final_0721_bar: BASE
|
5 |
final_0721_line: BASE
|
|
|
1 |
image_paths:
|
2 |
+
BASE: ./data
|
3 |
mapping:
|
4 |
final_0721_bar: BASE
|
5 |
final_0721_line: BASE
|