Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork56.5k
Expand ie::Params to support config#18701
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Changes from1 commit
f06c8dd8360377b9604da47fb85a874acc2245c168File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
- Loading branch information
Uh oh!
There was an error while loading.Please reload this page.
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -355,11 +355,8 @@ TEST(TestAgeGenderIE, GenericInfer) | ||
| initDLDTDataPath(); | ||
| cv::gapi::ie::detail::ParamDesc params; | ||
| params.model_path = findDataFile(SUBDIR + "age-gender-recognition-retail-0013.xml"); | ||
| params.weights_path = findDataFile(SUBDIR + "age-gender-recognition-retail-0013.bin"); | ||
| params.device_id = "CPU"; | ||
| cv::Mat in_mat(cv::Size(320, 240), CV_8UC3); | ||
| @@ -424,11 +421,10 @@ TEST(TestAgeGenderIE, InvalidConfig) | ||
| auto gender = outputs.at("prob"); | ||
| cv::GComputation comp(cv::GIn(in), cv::GOut(age, gender)); | ||
| auto pp = cv::gapi::ie::Params<cv::gapi::Generic>{"age-gender-generic", | ||
Contributor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. would not this test should be extended to test generic version of ContributorAuthor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. It is already ContributorAuthor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. Added tests on | ||
| model_path, | ||
| weights_path, | ||
| device_id}.cfgPlugin({{"unsupported_config", "some_value"}}); | ||
| EXPECT_ANY_THROW(comp.compile(cv::GMatDesc{CV_8U,3,cv::Size{320, 240}}, | ||
| cv::compile_args(cv::gapi::networks(pp)))); | ||
Comment on lines +427 to +430 Contributor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. BTW is it possible to create positive test ? ContributorAuthor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. For which option, for example ? ContributorAuthor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. Added test | ||