Add int8 models to memcheck tests (#5333)

This commit is contained in:
Victor Kuznetsov
2021-04-23 12:56:59 +03:00
committed by GitHub
parent 1426dc7d68
commit e121fbd7de
3 changed files with 135 additions and 1 deletions

View File

@@ -15,6 +15,8 @@ import shutil
import subprocess
import sys
import json
from distutils.dir_util import copy_tree
from inspect import getsourcefile
from pathlib import Path
from xml.etree import ElementTree as ET
@@ -208,7 +210,8 @@ def main():
# Do it manually to have only one folder with IRs
for ir_src_path in args.omz_models_out_dir.rglob("*.xml"):
ir_dst_path = args.omz_irs_out_dir / os.path.relpath(ir_src_path, args.omz_models_out_dir)
shutil.copytree(ir_src_path.parent, ir_dst_path.parent)
# allows copy to an existing folder
copy_tree(str(ir_src_path.parent), str(ir_dst_path.parent))
if __name__ == "__main__":