happyme531
commited on
update model path
Browse files- run_rknn.py +2 -2
run_rknn.py
CHANGED
@@ -6,7 +6,7 @@ from rknnlite.api.rknn_lite import RKNNLite
|
|
6 |
import signal
|
7 |
import cv2
|
8 |
|
9 |
-
MODEL_PATH = "
|
10 |
VISION_ENCODER_PATH = "vision_transformer.rknn"
|
11 |
handle = None
|
12 |
img_size = 448
|
@@ -101,7 +101,7 @@ You are a helpful assistant.<|im_end|>
|
|
101 |
<|im_start|>assistant
|
102 |
|
103 |
"""
|
104 |
-
|
105 |
# image_embeddings = np.load("image_embeddings_pth_orig.npy")
|
106 |
# print(image_embeddings.shape)
|
107 |
# rkllm_input = create_rkllm_input(RKLLMInputType.RKLLM_INPUT_EMBED, embed=image_embeddings.astype(np.float32))
|
|
|
6 |
import signal
|
7 |
import cv2
|
8 |
|
9 |
+
MODEL_PATH = "qwen.rkllm"
|
10 |
VISION_ENCODER_PATH = "vision_transformer.rknn"
|
11 |
handle = None
|
12 |
img_size = 448
|
|
|
101 |
<|im_start|>assistant
|
102 |
|
103 |
"""
|
104 |
+
|
105 |
# image_embeddings = np.load("image_embeddings_pth_orig.npy")
|
106 |
# print(image_embeddings.shape)
|
107 |
# rkllm_input = create_rkllm_input(RKLLMInputType.RKLLM_INPUT_EMBED, embed=image_embeddings.astype(np.float32))
|