When register custom models with python sdk in the pipeline, '#' in the path caused error: "Signature did not match"
jianawu opened this issue · 2 comments
jianawu commented
- Package Name azureml.core.model
- Package Version: 1.55.0.post2
- Operating System: Linux
- Python Version: 3.9
Describe the bug
When I try to register custom model with code like:
ws = Run.get_context().experiment.workspace
model = Model.register(workspace=ws, model_path=model_output_path, model_name=MODEL_COLLECTION_NAME)
there are several pkl files under dir: model_output_path
I found that when the file name contains '#', I will get error like:
After replacing all the '#' with '-', issue resolved.
- the error message is confused
- I know '#' is strange, but '#' not allowed?
github-actions commented
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @Azure/azure-ml-sdk @azureml-github.