openvinotoolkit / training_extensions

Train, Evaluate, Optimize, Deploy Computer Vision Models via OpenVINO™

Home Page:https://openvinotoolkit.github.io/training_extensions/

Repository from Github https://github.comopenvinotoolkit/training_extensionsRepository from Github https://github.comopenvinotoolkit/training_extensions

ZSL model fails to locate previously saved features when a relative path is passed

sovrasov opened this issue · comments

When executing

otx test --config src/otx/recipe/zero_shot_visual_prompting/openvino_model.yaml --work_dir v2_vpzsl_coco --data_root /mnt/ssd/coco_car_person_medium/ --checkpoint v2_vpzsl_coco/.latest/export/exported_model_decoder.xml \\
 --model.init_args.infer_reference_info_root ./v2_vpzsl_coco/.latest/train

learn method is launched prior to evaluation. If model.init_args.infer_reference_info_root is an absolute path, inference starts as expected, without the execution of the learning stage.