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

Set _artifact_uri when mlflow_run is not None. #1367

Merged
merged 2 commits into from
Nov 19, 2022

Conversation

ChiahungTai
Copy link
Collaborator

Description

The _artifact_uri is forget be set in MLflowRecorder construtor. Set _artifact_uri when mlflow_run is not None.

Motivation and Context

This bug will cause we can load_object from existed uri_path.

How Has This Been Tested?

  • Pass the test by running: pytest qlib/tests/test_workflow.py under upper directory of qlib.
  • If you are adding a new feature, test on your own test scripts.

Screenshots of Test Results (if appropriate):

  1. Pipeline test:
  2. Your own tests:

Types of changes

  • Fix bugs
  • Add new feature
  • Update documentation

@ChiahungTai ChiahungTai requested a review from you-n-g November 18, 2022 12:10
@ChiahungTai
Copy link
Collaborator Author

@you-n-g
Can your review this patch and #1365?

@you-n-g
Copy link
Collaborator

you-n-g commented Nov 19, 2022

Thanks! It looks great!

@you-n-g you-n-g merged commit 0c4db8b into microsoft:main Nov 19, 2022
@ChiahungTai ChiahungTai deleted the artifact_uri branch November 19, 2022 08:30
@you-n-g you-n-g added the enhancement New feature or request label Dec 9, 2022
qianyun210603 pushed a commit to qianyun210603/qlib that referenced this pull request Mar 23, 2023
* Set _artifact_uri when mlflow_run is not None.

* Fix black.
qianyun210603 pushed a commit to qianyun210603/qlib that referenced this pull request Mar 23, 2023
* Set _artifact_uri when mlflow_run is not None.

* Fix black.
qianyun210603 pushed a commit to qianyun210603/qlib that referenced this pull request Mar 23, 2023
* Set _artifact_uri when mlflow_run is not None.

* Fix black.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants