Skip to content
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

AC: add automatic model search for OpenCV launcher #3443

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

APrigarina
Copy link

This PR allows to find models automatically while running Accuracy Checker via OpenCV launcher

@openvino-pushbot
Copy link
Contributor

Can one of the admins verify this patch?

@vladimir-dudnik
Copy link
Contributor

Jenkins please retry a build

Comment on lines 18 to 21
from collections import OrderedDict
import numpy as np
import cv2
from pathlib import Path
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
from collections import OrderedDict
import numpy as np
import cv2
from pathlib import Path
from collections import OrderedDict
from pathlib import Path
import numpy as np
import cv2

weights_list = []
if model.suffix == '.xml':
weights = Path(weights_dir) / model.name.replace('xml', 'bin')
print(weights)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if it is debig print, please remove or if it is necessary thing, please replace print to print_info

@vladimir-dudnik
Copy link
Contributor

pre-commit check failed
14:39:29 running flake8...
14:39:41 ./tools/accuracy_checker/openvino/tools/accuracy_checker/launcher/opencv_launcher.py:107:17: E123 closing bracket does not match indentation of opening bracket's line

@APrigarina APrigarina force-pushed the ac_opencv_auto_model_search branch from aa99dca to 6602fb9 Compare April 5, 2022 14:30
@eaidova
Copy link
Collaborator

eaidova commented Apr 5, 2022

Jenkins ok to test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants