deepseek-ocr 구동 테스트

This commit is contained in:
kyy
2025-11-06 11:58:17 +09:00
parent 2c3b417f3b
commit 723fd4333e
7 changed files with 411 additions and 2 deletions

View File

@@ -22,8 +22,8 @@ MODEL_PATH = "deepseek-ai/DeepSeek-OCR" # change to your model path
# Omnidocbench images path: run_dpsk_ocr_eval_batch.py
INPUT_PATH = "/workspace/input"
OUTPUT_PATH = "/workspace/output"
INPUT_PATH = "/workspace/test/input"
OUTPUT_PATH = "/workspace/test/output"
# PROMPT = f"{PROMPT_TEXT.strip()}"
PROMPT = "<image>\n<|grounding|>Convert the document to markdown."
# PROMPT = '<image>\nFree OCR.'