Fixed an auto formatting issue that caused classification_posprocessing_graph's registration to fail
This commit is contained in:
parent
f241630b56
commit
64d5c159c6
|
@ -507,8 +507,8 @@ class ClassificationPostprocessingGraph : public mediapipe::Subgraph {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
REGISTER_MEDIAPIPE_GRAPH(::mediapipe::tasks::components::processors::
|
REGISTER_MEDIAPIPE_GRAPH(
|
||||||
ClassificationPostprocessingGraph); // NOLINT
|
::mediapipe::tasks::components::processors::ClassificationPostprocessingGraph); // NOLINT
|
||||||
|
|
||||||
} // namespace processors
|
} // namespace processors
|
||||||
} // namespace components
|
} // namespace components
|
||||||
|
|
|
@ -48,22 +48,22 @@ _EXPECTED_CLASSIFICATION_RESULT = _ClassificationResult(
|
||||||
categories=[
|
categories=[
|
||||||
_Category(
|
_Category(
|
||||||
index=934,
|
index=934,
|
||||||
score=0.7952049970626831,
|
score=0.7939587831497192,
|
||||||
display_name='',
|
display_name='',
|
||||||
category_name='cheeseburger'),
|
category_name='cheeseburger'),
|
||||||
_Category(
|
_Category(
|
||||||
index=932,
|
index=932,
|
||||||
score=0.02732999622821808,
|
score=0.02739289402961731,
|
||||||
display_name='',
|
display_name='',
|
||||||
category_name='bagel'),
|
category_name='bagel'),
|
||||||
_Category(
|
_Category(
|
||||||
index=925,
|
index=925,
|
||||||
score=0.01933487318456173,
|
score=0.01934075355529785,
|
||||||
display_name='',
|
display_name='',
|
||||||
category_name='guacamole'),
|
category_name='guacamole'),
|
||||||
_Category(
|
_Category(
|
||||||
index=963,
|
index=963,
|
||||||
score=0.006279350258409977,
|
score=0.006327860057353973,
|
||||||
display_name='',
|
display_name='',
|
||||||
category_name='meat loaf')
|
category_name='meat loaf')
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in New Issue
Block a user