Skip to content

Commit acab19f

Browse files
committed
Fixing undefined mobilenet classifier
1 parent 4882e2c commit acab19f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cake-game/src/components/classifier-table-row/ClassifierTableRow.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ function ClassifierTableRow(props) {
3535
<th>{ getMatchIndicator() }</th>
3636
<th className="classification">{ props.result.expected_category }</th>
3737
<th className="classification">{ props.result.user_category }</th>
38-
<th className="classification">{ formatClassificationCollections(props.result.models.mobilenet_classifier, 'className') }</th>
38+
<th className="classification">{ formatClassificationCollections(props.result.models?.mobilenet_classifier, 'className') }</th>
3939
<th className="classification">{ formatClassificationCollections(props.result.models?.coco_ssd_predictions, 'class') }</th>
4040
<th className="classification">{ formatClassificationString(props.result.models?.my_transfer_model_classifier?.category) }</th>
4141
<th className="classification">{ formatClassificationString(props.result.models?.my_model_classifier.category) }</th>

0 commit comments

Comments
 (0)