-
Notifications
You must be signed in to change notification settings - Fork 36
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
Model upload #43
Model upload #43
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was able to upload a few model instances successfully :)
I added a few small comments.
Congrats on your first significant PR :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, creating a new model instance works.
However, creating a new model instance version fails:
I added a print statement to debug and it returns a 500:
hatch run python -c "import kagglehub; kagglehub.model_upload('rosebv/test-kagglehub/pyTorch/dot', '/usr/local/google/home/rosbo/Documents/test-model', 'Apache 2.0')"
Starting upload for file dot.png
Upload successful: dot.png (150B)
ROSBO: {'code': 500, 'message': 'InternalServerError'}
Model Instance Version for 'rosebv/test-kagglehub/pyTorch/dot' Created.
should be fixed now :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Uploading a new version is working now :)
Implements functionality for kagglehub users to be able to upload models: https://buganizer.corp.google.com/issues/312511716
Implements functionality for kagglehub users to be able to upload models: https://buganizer.corp.google.com/issues/312511716
Implements functionality for kagglehub users to be able to upload models: https://buganizer.corp.google.com/issues/312511716
Implements functionality for kagglehub users to be able to upload models:
https://buganizer.corp.google.com/issues/312511716