Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: create pipeline from dict & support pass easy_rec_config object … #383

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

wenyangchou
Copy link
Collaborator

  • The method create_pipeline_proto_from_configs in config_util is unusable because the structure of the dictionary is inconsistent with the object structure. To improve this, we convert the dictionary to JSON first, and then use json_format in Proto to convert it to an object.

  • The path check in train_and_evaluate in main can be removed because the logic for checking whether the path exists is already provided by the config_util.get_configs_from_pipeline_file method. However, this method can also accept the pipeline_pb2.EasyRecConfig() object directly. Therefore, we can partially decouple and remove this redundant logic.

@CLAassistant
Copy link

CLAassistant commented Jun 16, 2023

CLA assistant check
All committers have signed the CLA.

@github-actions
Copy link

CI PY3 TF25 Test Passed

@github-actions
Copy link

Code Style Test Passed

@github-actions
Copy link

CI PY3 Test Passed

@github-actions
Copy link

CI Test Failed

@github-actions
Copy link

CI Test Passed

@github-actions github-actions bot added ci_test_passed ci test passed and removed ci_test_failed labels Jun 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants