Update README.md with new model card content
Browse files
README.md
CHANGED
@@ -13,9 +13,11 @@ Weights are released under the [3-Clause BSD License](https://github.com/liuzhua
|
|
13 |
|
14 |
## Links
|
15 |
|
16 |
-
* [DenseNet Quickstart Notebook
|
17 |
* [DenseNet API Documentation](https://keras.io/api/keras_hub/models/densnet/)
|
18 |
* [DenseNet Model Card](https://github.com/liuzhuang13/DenseNet)
|
|
|
|
|
19 |
|
20 |
## Installation
|
21 |
|
@@ -23,7 +25,7 @@ Keras and KerasHub can be installed with:
|
|
23 |
|
24 |
```
|
25 |
pip install -U -q keras-hub
|
26 |
-
pip install -U -q keras
|
27 |
```
|
28 |
|
29 |
Jax, TensorFlow, and Torch come preinstalled in Kaggle Notebooks. For instructions on installing them in another environment see the [Keras Getting Started](https://keras.io/getting_started/) page.
|
@@ -55,7 +57,7 @@ model(input_data)
|
|
55 |
# Use densenet for image classification task
|
56 |
model = keras_hub.models.ImageClassifier.from_preset("densenet_201_imagenet")
|
57 |
|
58 |
-
#
|
59 |
model = keras_hub.models.ImageClassifier.from_preset('hf://timm/densenet121.tv_in1k')
|
60 |
```
|
61 |
|
@@ -77,6 +79,6 @@ model(input_data)
|
|
77 |
# Use densenet for image classification task
|
78 |
model = keras_hub.models.ImageClassifier.from_preset("hf://keras/densenet_201_imagenet")
|
79 |
|
80 |
-
#
|
81 |
model = keras_hub.models.ImageClassifier.from_preset('hf://timm/densenet121.tv_in1k')
|
82 |
```
|
|
|
13 |
|
14 |
## Links
|
15 |
|
16 |
+
* [DenseNet Quickstart Notebook](https://www.kaggle.com/code/prasadsachin/densenet-quick-start-keras-hub)
|
17 |
* [DenseNet API Documentation](https://keras.io/api/keras_hub/models/densnet/)
|
18 |
* [DenseNet Model Card](https://github.com/liuzhuang13/DenseNet)
|
19 |
+
* [KerasHub Beginner Guide](https://keras.io/guides/keras_hub/getting_started/)
|
20 |
+
* [KerasHub Model Publishing Guide](https://keras.io/guides/keras_hub/upload/)
|
21 |
|
22 |
## Installation
|
23 |
|
|
|
25 |
|
26 |
```
|
27 |
pip install -U -q keras-hub
|
28 |
+
pip install -U -q keras
|
29 |
```
|
30 |
|
31 |
Jax, TensorFlow, and Torch come preinstalled in Kaggle Notebooks. For instructions on installing them in another environment see the [Keras Getting Started](https://keras.io/getting_started/) page.
|
|
|
57 |
# Use densenet for image classification task
|
58 |
model = keras_hub.models.ImageClassifier.from_preset("densenet_201_imagenet")
|
59 |
|
60 |
+
# Use Timm presets directly from HuggingFace
|
61 |
model = keras_hub.models.ImageClassifier.from_preset('hf://timm/densenet121.tv_in1k')
|
62 |
```
|
63 |
|
|
|
79 |
# Use densenet for image classification task
|
80 |
model = keras_hub.models.ImageClassifier.from_preset("hf://keras/densenet_201_imagenet")
|
81 |
|
82 |
+
# Use Timm presets directly from HuggingFace
|
83 |
model = keras_hub.models.ImageClassifier.from_preset('hf://timm/densenet121.tv_in1k')
|
84 |
```
|