wandb: [CLI]: Importing from MLFlow into WandB breaks because of permissions
Describe the bug
I’m trying to transition from MLFlow to WandB. I have 8 projects in MLFlow with 10 runs each, and I’m trying to use the code that is recommended here: https://docs.wandb.ai/guides/track/public-api-guide#advanced
but I keep getting this error:
from wandb.apis.importers import MlflowImporter
overrides = {"entity": "imvaria", "project": "TESTING"}
importer = MlflowImporter(mlflow_tracking_uri="https://mlflow.imvaria.com/")
all_runs = list(importer.download_all_runs())
testing_runs = [run for run in all_runs if run.run.info.experiment_id == '41']
[importer.import_one(run, overrides=overrides) for run in screendx_runs]
wandb.errors.CommError: It appears that you do not have permission to access the requested resource. Please reach out to the project owner to grant you access. If you have the correct permissions, verify that there are no issues with your networking setup.(Error 403: Forbidden)
I definitely do have permission for MLFlow because I’m able to hit the server using the python API and view experiments and runs. I can’t find anything related to permissions in WandB web app.
Thanks!
Additional Files
No response
Environment
WandB version: 0.14.0
OS: Ubuntu 20.04
Python version: 3.9.15
Versions of relevant libraries:
Additional Context
No response
About this issue
- Original URL
- State: open
- Created a year ago
- Comments: 44 (18 by maintainers)
@nate-wandb My API key is set already. I’m able to train models and log all metrics, parameters, and ckpts to my wandb server.