-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.py
26 lines (18 loc) · 1 KB
/
config.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import sys
from pathlib import Path
base_path = Path(__file__).parent.absolute()
accuracy_checker_configs = []
accuracy_checker_configs.append("/home/openvino-local-compile-02/common_data/accuracy-checker/configs/")
accuracy_checker_configs.append(base_path.joinpath("./extern/frameworks.ai.openvino.accuracy-checker-configs/configs/omz_validation/"))
accuracy_checker_configs.append("./openvino/thirdparty/open_model_zoo/models/")
definitions_file = []
#definitions_file.append(base_path.joinpath("external_tools/frameworks.ai.openvino.accuracy-checker-configs/configs/omz_validation/datasets_definitions.yml"))
definitions_file.append("./extern/annotation_converters_ext/calibration_definitions.yml")
data_source=base_path.joinpath("./extern/omz-validation-datasets/")
model_attributes=f"{data_source}/model_attributes"
annotations=base_path.joinpath("./extern/annotations")
if __name__ == "__main__":
#all_variables = dir()
#print(eval(sys.argv[1]))
print(__file__)
print(accuracy_checker_configs)