happyme531 commited on
Commit
7bda55c
·
verified ·
1 Parent(s): 81a3735

update model path

Browse files
Files changed (1) hide show
  1. 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 = "/home/firefly/qwen.rkllm"
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
- # 2.56->3.25>2.41->10.2
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))