Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ZHEQIUSHUI committed Sep 20, 2023
1 parent 3ab3864 commit cef8745
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
# CLIP

other 因垂丝汀 project [SAM-ONNX-AX650-CPP](https://github.com/ZHEQIUSHUI/SAM-ONNX-AX650-CPP)

## Export Onnx

[ZHEQIUSHUI/CLIP](https://github.com/ZHEQIUSHUI/CLIP)\
[ZHEQIUSHUI/Chinese-CLIP](https://github.com/ZHEQIUSHUI/Chinese-CLIP/tree/ax650)

other interesting project [SAM-ONNX-AX650-CPP](https://github.com/ZHEQIUSHUI/SAM-ONNX-AX650-CPP)

## Build
```
Expand All @@ -31,13 +25,18 @@ aarch64-none-gnu library:\


## ONNX
### Export Onnx

[ZHEQIUSHUI/CLIP](https://github.com/ZHEQIUSHUI/CLIP)\
[ZHEQIUSHUI/Chinese-CLIP](https://github.com/ZHEQIUSHUI/Chinese-CLIP/tree/ax650)

### get onnx model
```
git clone https://github.com/ZHEQIUSHUI/CLIP.git
cd CLIP
python onnx_export.py
```
### in x86 with onnxruntime
### run in x86 with onnxruntime
#### 英文
```
./main --ienc image_encoder.onnx --tenc text_encoder.onnx --dec feature_matmul.onnx -v ../vocab.txt -i ../images/ -t ../text.txt
Expand Down Expand Up @@ -117,7 +116,7 @@ per text:
```

## AX650
### in AXERA Chip AX650
### run in AXERA Chip AX650
#### 英文
```
./main --ienc image_encoder.axmodel --tenc text_encoder.onnx -d feature_matmul.onnx -v vocab.txt -t text.txt -i images/
Expand Down

0 comments on commit cef8745

Please sign in to comment.