Eval supports model for float32 data type accepted/tizen/unified/20211029.132535 submit/tizen/20211028.105706
authorJuyeon Lee <juyeonne.lee@samsung.com>
Thu, 28 Oct 2021 02:37:37 +0000 (11:37 +0900)
committerYoungjae Shin <yj99.shin@samsung.com>
Thu, 28 Oct 2021 10:55:27 +0000 (19:55 +0900)
commit3305d8e5ba646e7c95b05b5d297b2d5ecf26cde2
tree3ee6ed7f893dfd6ad0b44bb04477efb65259e619
parentf0ab880c5bcc7cb23ca66f4f9b3941297684d622
Eval supports model for float32 data type

* Eval supports model for float32 data type

[Problem]
1. after input tensor info applied input configuration,
could copy data as much as configured.
2. it is necessary to check input configed pipeline with various model

[Solution]
added eval opt model_dtype to verify model in uint8 and float32

Signed-off-by: Juyeon Lee <juyeonne.lee@samsung.com>
* fix labels size

* convert uint8 img to float32

* change opt order

Change-Id: I7b35ca82f656a53bb0dff0607c6bd2fe546ef975
tools/evaluation/tasks/inference_peer/generic/image_classification.cc
tools/evaluation/tasks/inference_peer/tizen.native/image_classification.cc