Views
No views yet
| Models | Latency (ms) | CMM Usage (MB) |
|---|---|---|
| edgetam_image_encoder | 22.348 | 29.124 |
| edgetam_prompt_encoder | 0.055 | 0.023 |
| edgetam_prompt_mask_encoder | 0.457 | 0.037 |
| edgetam_mask_decoder | 4.729 | 16.730 |
pip install -r requirements.txt1(myenv) root@ax650:~/EdgeTAM# python3 image_prediction_ax.py --input_box 75,275,1725,850
2[INFO] Available providers: ['AxEngineExecutionProvider']
3Loading EdgeTAM Onnx models...
4[INFO] Using provider: AxEngineExecutionProvider
5[INFO] Chip type: ChipType.MC50
6[INFO] VNPU type: VNPUType.DISABLED
7[INFO] Engine version: 2.12.0s
8[INFO] Model type: 2 (triple core)
9[INFO] Compiler version: 5.0-patch1-dirty a512c95e-dirty
10[INFO] Using provider: AxEngineExecutionProvider
11[INFO] Model type: 2 (triple core)
12[INFO] Compiler version: 5.0-patch1-dirty a512c95e-dirty
13[INFO] Using provider: AxEngineExecutionProvider
14[INFO] Model type: 2 (triple core)
15[INFO] Compiler version: 5.0-patch1-dirty a512c95e-dirty
16[INFO] Using provider: AxEngineExecutionProvider
17[INFO] Model type: 2 (triple core)
18[INFO] Compiler version: 5.0-patch1-dirty a512c95e-dirty
19Get prompts:
20 input_box: [ 75 275 1725 850]
21 input_point_coords: None
22 input_point_labels: None
23Only box input provided
24Get dense_embeddings_no_mask
25[0.9777304]
26✅ Saved: ./results/mask_1.png./results 目录下:

(myenv) root@ax650:~/EdgeTAM# python3 image_prediction_ax.py --image_path ./examples/images/truck.jpg --input_box 425,600,700,875 --input_point_coords 575,750 --input_point_labels 0
[INFO] Available providers: ['AxEngineExecutionProvider']
Loading EdgeTAM Onnx models...
[INFO] Using provider: AxEngineExecutionProvider
[INFO] Chip type: ChipType.MC50
[INFO] VNPU type: VNPUType.DISABLED
[INFO] Engine version: 2.12.0s
[INFO] Model type: 2 (triple core)
[INFO] Compiler version: 5.0-patch1-dirty a512c95e-dirty
[INFO] Using provider: AxEngineExecutionProvider
[INFO] Model type: 2 (triple core)
[INFO] Compiler version: 5.0-patch1-dirty a512c95e-dirty
[INFO] Using provider: AxEngineExecutionProvider
[INFO] Model type: 2 (triple core)
[INFO] Compiler version: 5.0-patch1-dirty a512c95e-dirty
[INFO] Using provider: AxEngineExecutionProvider
[INFO] Model type: 2 (triple core)
[INFO] Compiler version: 5.0-patch1-dirty a512c95e-dirty
['575,750']
575,750
Get prompts:
input_box: [425 600 700 875]
input_point_coords: [[575 750]]
input_point_labels: [0]
Get dense_embeddings_no_mask
[0.90291053]
✅ Saved: ./results/mask_1.png
