-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Correctness checking for security_barrier_camera_demo w/ 1 network multi channels with inputting 1 image #3392
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
yangwang201911
wants to merge
53
commits into
openvinotoolkit:master
Choose a base branch
from
yangwang201911:ywang2/analysis_result_automatically_for_AUTO_plugin
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+545
−33
Open
Changes from 1 commit
Commits
Show all changes
53 commits
Select commit
Hold shift + click to select a range
8f579f2
Add some debug info in security_barrier_camera_demo.
yangwang201911 fef9a0a
Update.
yangwang201911 d101b67
Update the debug msg and Add result paser for security_barrier_camera…
yangwang201911 7d5ff26
Add correctness checker interface for demo.
yangwang201911 3551ada
Implement parser and correcteness checker for security_barrier_camera…
yangwang201911 3fb15e0
Add correctness checker script and instantiate checker of demo securi…
yangwang201911 6fb10ef
. exit when task list is empty and inputs source is image instead of …
yangwang201911 7eca858
Exit worker thread when the inferences of all frames have been comple…
yangwang201911 a2f8421
Update parameters of demo security_barrier_camera_demo so that just i…
yangwang201911 b0845bc
Merge branch 'master' into ywang2/analysis_result_automatically_for_A…
yangwang201911 cc86f1d
Add the comment of replacing model for the demo security_barrier_cam…
yangwang201911 37f8371
Input single image for demo security_barrier_camera_demo.
yangwang201911 237dcf3
Update.
yangwang201911 d0e831b
Update.
yangwang201911 6b9ce5a
Update.
yangwang201911 85327ef
Decouple of the raw data saving from the run_tests.py.
yangwang201911 ab9d19c
Update.
yangwang201911 f1c5c87
Add scope 'correctness' to enable correctness checking.
yangwang201911 b4d110b
Remove the log save for each demo and update the correctness checker.
yangwang201911 dbe9f13
Update.
yangwang201911 065ca07
Update format and remove some redundant code.
yangwang201911 3755135
Update.
yangwang201911 603c120
Revert the common thread.
yangwang201911 2e2ade4
Update.
yangwang201911 3596cd2
Merge branch 'master' into ywang2/analysis_result_automatically_for_A…
yangwang201911 a3e464a
Update correctness checker as the common measure for all demos.
yangwang201911 8631f93
1. Fix the issue that demo lost the inference of the last frame when …
yangwang201911 91baf7d
Updata correctness checker and revert inputing images hanlder for se…
yangwang201911 2fe3933
1. Update correctness checker to support the multi models inputting. …
yangwang201911 128ec7e
Merge branch 'master' into ywang2/analysis_result_automatically_for_A…
yangwang201911 0914845
Update exit code when correctness checking falied.
yangwang201911 796e315
Modify the input dataset path when updating option '-i' for demo.
yangwang201911 f33983d
Update correctness checker.
yangwang201911 7c47ce7
Correct the output layer order of the attributes model for the securi…
yangwang201911 2f066d1
1. Stop reborning if images frame ID is invalid. 2. clone image frame…
yangwang201911 1562b9b
Update correctness checking logic.
yangwang201911 d2d37e3
1. fix the bug in the security demo that lost the results of the infe…
yangwang201911 65fe33b
1. Throw the exception when parsing raw data failed. 2. Correct the v…
yangwang201911 1f44622
Add logic to check if the size of vehicle attributs is correct.
yangwang201911 0ff6d8c
Update correctness checking.
yangwang201911 3958ea4
Fix the hang issue when inputting images folder.
yangwang201911 42171be
Update correctness checking logic to handle the exception.
yangwang201911 ba629d0
Update.
yangwang201911 6c43933
Fix hange issue when inputting images folder.
yangwang201911 c10b3ce
Merge branch 'master' of https://github.com/openvinotoolkit/open_mode…
yangwang201911 5ccace4
Fix the run_tests.py terminated with exception when timeout occurs.
yangwang201911 a5d84dc
Update.
yangwang201911 77968e6
Merge branch 'master' into ywang2/analysis_result_automatically_for_A…
yangwang201911 7c57fd2
update.
yangwang201911 f7d7a1d
Update.
yangwang201911 bb8e615
Merge branch 'ywang2/fix_run_tests_terminated_with_exception_when_tim…
yangwang201911 19f9ff1
Update.
yangwang201911 8739a29
Merge branch 'ywang2/fix_run_tests_terminated_with_exception_when_tim…
yangwang201911 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Merge branch 'master' into ywang2/analysis_result_automatically_for_A…
…UTO_plugin Signed-off-by: Wang, Yang <[email protected]>
- Loading branch information
commit b0845bcd1b7c92ebb51e2b9526ad240a0487928a
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -345,9 +345,15 @@ def option_to_args(key, value): | |
| rawResults += line | ||
| rawResults += '\n' | ||
| demo.parse_output(output, device, test_case_index) | ||
| except subprocess.CalledProcessError as e: | ||
| print(e.output) | ||
| print('Exit code:', e.returncode) | ||
| except (subprocess.CalledProcessError, subprocess.TimeoutExpired) as e: | ||
| output = e.output | ||
| if isinstance(e, subprocess.CalledProcessError): | ||
| exit_msg = f'Exit code: {e.returncode}\n' | ||
| elif isinstance(e, subprocess.TimeoutExpired): | ||
| exit_msg = f'Command timed out after {e.timeout} seconds\n' | ||
| output += exit_msg | ||
| print(output) | ||
| failed_tests.append(test_descr + '\n' + exit_msg) | ||
| num_failures += 1 | ||
| execution_time = -1 | ||
|
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. Please restore it |
||
| rawResults = {} | ||
|
|
@@ -358,7 +364,13 @@ def option_to_args(key, value): | |
| content = '' | ||
| if args.report_file: | ||
| collect_result(demo.subdirectory, device, case_model_names, execution_time, args.report_file) | ||
| if args.log_file: | ||
| if test_case_index == 0: | ||
| write_log(header, args.log_file) | ||
| write_log(test_descr, args.log_file) | ||
| write_log(output, args.log_file) | ||
| fo.close() | ||
| print() | ||
|
|
||
| print("{} failures:".format(num_failures)) | ||
| for test in failed_tests: | ||
|
|
||
You are viewing a condensed version of this merge commit. You can view the full changes here.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.