Fixed an auto formatting issue that caused classification_posprocessing_graph's registration to fail

This commit is contained in:
kinaryml 2022-10-03 16:14:35 -07:00
parent f241630b56
commit 64d5c159c6
2 changed files with 6 additions and 6 deletions

View File

@ -507,8 +507,8 @@ class ClassificationPostprocessingGraph : public mediapipe::Subgraph {
}
};
REGISTER_MEDIAPIPE_GRAPH(::mediapipe::tasks::components::processors::
ClassificationPostprocessingGraph); // NOLINT
REGISTER_MEDIAPIPE_GRAPH(
::mediapipe::tasks::components::processors::ClassificationPostprocessingGraph); // NOLINT
} // namespace processors
} // namespace components

View File

@ -48,22 +48,22 @@ _EXPECTED_CLASSIFICATION_RESULT = _ClassificationResult(
categories=[
_Category(
index=934,
score=0.7952049970626831,
score=0.7939587831497192,
display_name='',
category_name='cheeseburger'),
_Category(
index=932,
score=0.02732999622821808,
score=0.02739289402961731,
display_name='',
category_name='bagel'),
_Category(
index=925,
score=0.01933487318456173,
score=0.01934075355529785,
display_name='',
category_name='guacamole'),
_Category(
index=963,
score=0.006279350258409977,
score=0.006327860057353973,
display_name='',
category_name='meat loaf')
],