Instructions to use litert-community/alexnet with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LiteRT
How to use litert-community/alexnet with LiteRT:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -30,7 +30,7 @@ model-index:
|
|
| 30 |
|
| 31 |
# AlexNet
|
| 32 |
|
| 33 |
-
The AlexNet architecture is a convolutional neural network pre-trained on the ImageNet-1k dataset. Originally introduced by Krizhevsky et al. in the landmark paper, [**ImageNet Classification with Deep Convolutional Neural Networks
|
| 34 |
|
| 35 |
|
| 36 |
## Model description
|
|
@@ -48,11 +48,11 @@ The model files were converted from pretrained weights from PyTorch Vision. The
|
|
| 48 |
|
| 49 |
## How to Use
|
| 50 |
|
| 51 |
-
|
| 52 |
|
| 53 |
```bash
|
| 54 |
pip install numpy Pillow huggingface_hub ai-edge-litert
|
| 55 |
-
|
| 56 |
|
| 57 |
|
| 58 |
**2. Prepare Your Image** The script expects an image file to analyze. Make sure you have an image (e.g., cat.jpg or car.png) saved in the same working directory as your script.
|
|
@@ -124,6 +124,7 @@ if __name__ == "__main__":
|
|
| 124 |
|
| 125 |
```bash
|
| 126 |
python classify.py --image cat.jpg
|
|
|
|
| 127 |
|
| 128 |
### BibTeX entry and citation info
|
| 129 |
|
|
|
|
| 30 |
|
| 31 |
# AlexNet
|
| 32 |
|
| 33 |
+
The AlexNet architecture is a convolutional neural network pre-trained on the ImageNet-1k dataset. Originally introduced by Krizhevsky et al. in the landmark paper, [**ImageNet Classification with Deep Convolutional Neural Networks**](https://papers.nips.cc/paper/2012/hash/c399862d3b9d6b76c8436e924a68c45b-Abstract.html), this model utilized deep layers and GPU acceleration to prove the effectiveness of deep learning.
|
| 34 |
|
| 35 |
|
| 36 |
## Model description
|
|
|
|
| 48 |
|
| 49 |
## How to Use
|
| 50 |
|
| 51 |
+
**1. Install Dependencies** Ensure your Python environment is set up with the required libraries. Run the following command in your terminal:
|
| 52 |
|
| 53 |
```bash
|
| 54 |
pip install numpy Pillow huggingface_hub ai-edge-litert
|
| 55 |
+
```
|
| 56 |
|
| 57 |
|
| 58 |
**2. Prepare Your Image** The script expects an image file to analyze. Make sure you have an image (e.g., cat.jpg or car.png) saved in the same working directory as your script.
|
|
|
|
| 124 |
|
| 125 |
```bash
|
| 126 |
python classify.py --image cat.jpg
|
| 127 |
+
```
|
| 128 |
|
| 129 |
### BibTeX entry and citation info
|
| 130 |
|