We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60a2e3d commit 8c772f7Copy full SHA for 8c772f7
llama_adapter_v2_multimodal/demo.py
@@ -11,9 +11,9 @@
11
model.eval()
12
13
prompt = llama.format_prompt('Please introduce this painting.')
14
-img = Image.fromarray(cv2.imread("./docs/logo_v1.png"))
+img = Image.fromarray(cv2.imread("../docs/logo_v1.png"))
15
img = preprocess(img).unsqueeze(0).to(device)
16
17
result = model.generate(img, [prompt])[0]
18
19
-print(result)
+print(result)
0 commit comments