-
Notifications
You must be signed in to change notification settings - Fork 654
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
Load model directly from TensorFlow Hub #1122
Labels
enhancement
New feature or request
Comments
frankfliu
added a commit
to frankfliu/djl
that referenced
this issue
Sep 18, 2021
Fixes deepjavalibrary#1122 Change-Id: Ia1a2fafc502cb07878ed23dea66f1914b8b3159a
Merged
frankfliu
added a commit
to frankfliu/djl
that referenced
this issue
Sep 18, 2021
Fixes deepjavalibrary#1122 Change-Id: Ia1a2fafc502cb07878ed23dea66f1914b8b3159a
frankfliu
added a commit
to frankfliu/djl
that referenced
this issue
Sep 19, 2021
Fixes deepjavalibrary#1122 Change-Id: Ia1a2fafc502cb07878ed23dea66f1914b8b3159a
frankfliu
added a commit
to frankfliu/djl
that referenced
this issue
Sep 19, 2021
Fixes deepjavalibrary#1122 Change-Id: Ia1a2fafc502cb07878ed23dea66f1914b8b3159a
frankfliu
added a commit
to frankfliu/djl
that referenced
this issue
Sep 19, 2021
Fixes deepjavalibrary#1122 Change-Id: Ia1a2fafc502cb07878ed23dea66f1914b8b3159a
frankfliu
added a commit
that referenced
this issue
Sep 19, 2021
Fixes #1122 Change-Id: Ia1a2fafc502cb07878ed23dea66f1914b8b3159a
Lokiiiiii
pushed a commit
to Lokiiiiii/djl
that referenced
this issue
Oct 10, 2023
Co-authored-by: KexinFeng <fenkexin@amazon.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
DJL currently does not support loading a model directly from TFHub like this:
The above code would be the goal of the enhancement, to be able to load a model using a TFHub link. We can define a customized url like:
“tfhub://deepmind/biggan-deep-256/1”
, so we can handle them differentlyor
“djl://tfhub/deepmind/biggan-deep-256/1"
.The current way to do it is a bit tricky:
curl -v <link address>
curl -v https://tfhub.dev/deepmind/biggan-deep-256/1?tf-hub-format=compressed
Response:
And now we can load the model with the given link:
DJL beginners will deeply appreciate such a feature since it removes another layer of complexity when trying to run inference on a model quickly. I encountered this issue myself.
The text was updated successfully, but these errors were encountered: