Files changed (1) hide show
  1. README.md +17 -2
README.md CHANGED
@@ -11,7 +11,7 @@ datasets:
11
  base_model:
12
  - google/efficientnet-b1
13
  model-index:
14
- - name: EfficientNet_B1
15
  results:
16
  - task:
17
  type: image-classification
@@ -50,8 +50,16 @@ num_params: 7,794,184
50
 
51
  The model files were converted from pretrained weights from PyTorch Vision. The models may have their own licenses or terms and conditions derived from PyTorch Vision and the dataset used for training. It is your responsibility to determine whether you have permission to use the models for your use case.
52
 
 
53
 
54
- ## Use
 
 
 
 
 
 
 
55
  ```python
56
 
57
  #!/usr/bin/env python3
@@ -119,6 +127,13 @@ if __name__ == "__main__":
119
  main()
120
  ```
121
 
 
 
 
 
 
 
 
122
  ### BibTeX entry and citation info
123
 
124
  ```bibtex
 
11
  base_model:
12
  - google/efficientnet-b1
13
  model-index:
14
+ - name: litert-community/efficientnet_b1
15
  results:
16
  - task:
17
  type: image-classification
 
50
 
51
  The model files were converted from pretrained weights from PyTorch Vision. The models may have their own licenses or terms and conditions derived from PyTorch Vision and the dataset used for training. It is your responsibility to determine whether you have permission to use the models for your use case.
52
 
53
+ ## How to Use
54
 
55
+ **1. Install Dependencies** Ensure your Python environment is set up with the required libraries. Run the following command in your terminal:
56
+ ```bash
57
+ pip install numpy Pillow huggingface_hub ai-edge-litert
58
+ ```
59
+
60
+ **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.
61
+
62
+ **3. Save the Script** Create a new file named `classify.py`, paste the script below into it, and save the file:
63
  ```python
64
 
65
  #!/usr/bin/env python3
 
127
  main()
128
  ```
129
 
130
+ **4. Execute the Python Script** Run the below command:
131
+
132
+ ```bash
133
+ python classify.py --image cat.jpg
134
+ ```
135
+
136
+
137
  ### BibTeX entry and citation info
138
 
139
  ```bibtex