Upload 4 files
Browse files- .gitattributes +1 -0
- model_farm_aot_gan_qcs6490_qnn2.31_int8_aidlite/README.md +40 -0
- model_farm_aot_gan_qcs6490_qnn2.31_int8_aidlite/models/aot_gan_w8a8.qnn231.ctx.bin +3 -0
- model_farm_aot_gan_qcs6490_qnn2.31_int8_aidlite/python/input_image.png +3 -0
- model_farm_aot_gan_qcs6490_qnn2.31_int8_aidlite/python/input_mask.png +0 -0
.gitattributes
CHANGED
|
@@ -34,3 +34,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
qwen2.5-7b-instruct_qnn229_qcs8550_4096_2_of_5.serialized.aidem filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
qwen2.5-7b-instruct_qnn229_qcs8550_4096_2_of_5.serialized.aidem filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
model_farm_aot_gan_qcs6490_qnn2.31_int8_aidlite/python/input_image.png filter=lfs diff=lfs merge=lfs -text
|
model_farm_aot_gan_qcs6490_qnn2.31_int8_aidlite/README.md
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
## Model Information
|
| 2 |
+
|
| 3 |
+
### Source model
|
| 4 |
+
- Input shape: [[1x3x512x512],[1x1x512x512]]
|
| 5 |
+
- Number of parameters: 14.51M
|
| 6 |
+
- Model size: 61.29M
|
| 7 |
+
- Output shape: [1x3x512x512]
|
| 8 |
+
|
| 9 |
+
Source model repository: [aot-gan](https://github.com/researchmm/AOT-GAN-for-Inpainting)
|
| 10 |
+
|
| 11 |
+
### Converted model
|
| 12 |
+
|
| 13 |
+
- Precision: INT8
|
| 14 |
+
- Backend: QNN2.31
|
| 15 |
+
- Target Device: FV01 QCS6490
|
| 16 |
+
|
| 17 |
+
## Inference with AidLite SDK
|
| 18 |
+
|
| 19 |
+
### SDK installation
|
| 20 |
+
Model Farm uses AidLite SDK as the model inference SDK. For details, please refer to the [AidLite Developer Documentation](https://v2.docs.aidlux.com/en/sdk-api/aidlite-sdk/)
|
| 21 |
+
|
| 22 |
+
- Install AidLite SDK
|
| 23 |
+
|
| 24 |
+
```bash
|
| 25 |
+
# Install the appropriate version of the aidlite sdk
|
| 26 |
+
sudo aid-pkg update
|
| 27 |
+
sudo aid-pkg install aidlite-sdk
|
| 28 |
+
# Download the qnn version that matches the above backend. Eg Install QNN2.23 Aidlite: sudo aid-pkg install aidlite-qnn223
|
| 29 |
+
sudo aid-pkg install aidlite-{QNN VERSION}
|
| 30 |
+
```
|
| 31 |
+
|
| 32 |
+
- Verify AidLite SDK
|
| 33 |
+
|
| 34 |
+
```bash
|
| 35 |
+
# aidlite sdk c++ check
|
| 36 |
+
python3 -c "import aidlite ; print(aidlite.get_library_version())"
|
| 37 |
+
|
| 38 |
+
# aidlite sdk python check
|
| 39 |
+
python3 -c "import aidlite ; print(aidlite.get_py_library_version())"
|
| 40 |
+
```
|
model_farm_aot_gan_qcs6490_qnn2.31_int8_aidlite/models/aot_gan_w8a8.qnn231.ctx.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:28ba612d0cfc29a3c4ec98b4d8a17d6f45bb22c11efe409e434948fb810f5e7b
|
| 3 |
+
size 19758320
|
model_farm_aot_gan_qcs6490_qnn2.31_int8_aidlite/python/input_image.png
ADDED
|
Git LFS Details
|
model_farm_aot_gan_qcs6490_qnn2.31_int8_aidlite/python/input_mask.png
ADDED
|