-
Notifications
You must be signed in to change notification settings - Fork 17
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
Is it necessary to have the model name in <model name>.model.yaml? #41
Comments
Hi, How about allowing only one model in the zip package and rename the file name as For the naming of the yaml file in a github repo, we have basically two choices:
The drawback of this is that if you want to share files (e.g. source code) between models, you will need to copy them (resolving relative path
After packaging, one of the zip package will become:
I think we should perhaps go for option 2, would that work for you? |
Yep, I was basically about to post the exact same thing.. github issues should have a Only one addendum: |
I think using |
Yes, option 2 would work, because this would mean from consumer side I can assume that a ZIP has a |
right, to be less generic... Trusting our past selves, we should maybe keep it. |
I am fine with both, we can also make the .bioimage.io as recommended part, but the .model.zip part will be used for detecting package types. |
I vaguely remember us mentioning this issue briefly in last week's meeting. Noting that we didn't comment here, I suppose we landed on Please confirm/object 👍 👎 |
Sorry for changing my mind... But I would prefer using |
Good point |
Hi all,
Is the intention behind naming the specification file
<model name>.model.yaml
that there might be multiple of them in the same ZIP?In our case the ZIP content is cached somewhere (imagine it's located remotely) which makes it a bit difficult to scan the whole content for a
*.model.yaml
file, I'd rather like to know exactly for which file name to ask.This is a problem with the API on our side, but I want to make sure I don't misunderstand the use case as well. Therefore my question - why is the file not simply named
model.yaml
or if there is the possibility for multiple YAML files, should there be something like an index file listing the available model files in this ZIP?Thanks for pointers!
Deborah
The text was updated successfully, but these errors were encountered: