openvinotoolkit / training_extensions

Train, Evaluate, Optimize, Deploy Computer Vision Models via OpenVINO™
https://openvinotoolkit.github.io/training_extensions/
Apache License 2.0
1.14k stars 442 forks source link

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

Closed sovrasov closed 2 months ago

sovrasov commented 2 months ago

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.

sungchul2 commented 2 months ago

Fixed https://github.com/openvinotoolkit/training_extensions/pull/3709