[Stress] Specify OMZ develop branch in get_testdata.py (#1318)

Since in validation OMZ is used from a package (and OMZ is from develop branch), align OMZ default for get_testdata.py
This commit is contained in:
Vitaliy Urusovskij 2020-07-16 15:28:25 +03:00 committed by GitHub
parent afee06ec3d
commit 930d687ed9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -134,7 +134,8 @@ def main():
# clone Open Model Zoo into temporary path
if os.path.exists(str(omz_path)):
shutil.rmtree(str(omz_path))
cmd = 'git clone https://github.com/opencv/open_model_zoo {omz_path}'.format(omz_path=omz_path)
cmd = 'git clone --single-branch --branch develop' \
' https://github.com/opencv/open_model_zoo {omz_path}'.format(omz_path=omz_path)
run_in_subprocess(cmd)
# prepare models