Description:
In app.py, the sidebar Dataset Type selector offers two options:
st.selectbox(
"Type",
["COCO", "YOLO"], # line 43
key="dataset_type",
)
But in tabs/evaluator.py, only COCO is handled:
if dataset_type.lower() == "coco":
# loads dataset
else:
st.warning(
"⚠️ Only COCO datasets are currently supported for evaluation."
)
The bug: A user selects YOLO from the sidebar Dataset Type dropdown, navigates to the Evaluator tab, and sees a warning saying YOLO is not supported. However the sidebar still shows YOLO as a valid selectable option with no indication it won't work in the Evaluator tab — this is misleading and confusing.
Steps to Reproduce:
- Open the GUI
- In the sidebar, select
YOLO as Dataset Type
- Navigate to the Evaluator tab
- See the warning — YOLO is not supported
Expected Behaviour:
Either YOLO should be supported in the Evaluator tab, or the Dataset Type selector should dynamically disable or hide YOLO when the user is on the Evaluator tab.
Affected Files:
app.py — line 43
tabs/evaluator.py — lines 44-48
Assign these task to me @vinitjain2005
Description:
In
app.py, the sidebar Dataset Type selector offers two options:But in
tabs/evaluator.py, only COCO is handled:The bug: A user selects YOLO from the sidebar Dataset Type dropdown, navigates to the Evaluator tab, and sees a warning saying YOLO is not supported. However the sidebar still shows YOLO as a valid selectable option with no indication it won't work in the Evaluator tab — this is misleading and confusing.
Steps to Reproduce:
YOLOas Dataset TypeExpected Behaviour:
Either YOLO should be supported in the Evaluator tab, or the Dataset Type selector should dynamically disable or hide YOLO when the user is on the Evaluator tab.
Affected Files:
app.py— line 43tabs/evaluator.py— lines 44-48Assign these task to me @vinitjain2005