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

Automatically detect model format from model file suffix #786

Open
ylwu-amzn opened this issue Mar 8, 2023 · 0 comments
Open

Automatically detect model format from model file suffix #786

ylwu-amzn opened this issue Mar 8, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@ylwu-amzn
Copy link
Collaborator

Is your feature request related to a problem?
When user upload a model, they need to input model format. If user input a wrong model format, we will throw exception when load model. But the error message is not so clear. It says "xx.pt file not found" rather than "wrong model format".

What solution would you like?

When user upload model, we can check the file suffix and automatically fill the model format.

What alternatives have you considered?

Another easier short term solution is changing the message to more readable.

Do you have any additional context?
N/A

@ylwu-amzn ylwu-amzn added enhancement New feature or request untriaged and removed untriaged labels Mar 8, 2023
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

No branches or pull requests

1 participant