Skip to content

improve: support relative model_dir paths in pipeline configs#3732

Closed
yeliulee wants to merge 2 commits intoPaddlePaddle:developfrom
yeliulee:pr-fix-load_pipeline_config
Closed

improve: support relative model_dir paths in pipeline configs#3732
yeliulee wants to merge 2 commits intoPaddlePaddle:developfrom
yeliulee:pr-fix-load_pipeline_config

Conversation

@yeliulee
Copy link

@yeliulee yeliulee commented Mar 26, 2025

example:

pipeline_name: object_detection

SubModules:
  ObjectDetection:
    module_name: object_detection
    model_name: PP-YOLOE_plus-S
    model_dir: ./model # model dir relative to pipeline config dir

- Allow using relative paths for model_dir fields in pipeline configs
- Automatically resolve relative paths based on pipeline config file location
- Add find_relative_model_dirs helper function for path resolution

Signed-off-by: yeliulee <yeliuleet@gmail.com>
@CLAassistant
Copy link

CLAassistant commented Mar 26, 2025

CLA assistant check
All committers have signed the CLA.

Signed-off-by: yeliulee <yeliuleet@gmail.com>
@yeliulee yeliulee closed this Apr 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants