Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSError: /home/matthew_kwok_tictag_io/gotocr/GOT-OCRv2-onnx/llm-export/GOT-OCR2_0-onnx does not appear to have a file named config.json. #1

Open
wailokkwok opened this issue Oct 4, 2024 · 1 comment

Comments

@wailokkwok
Copy link

wailokkwok commented Oct 4, 2024

After I got exported the model when using llm_export, when I try to run got.py, this error occurred

OSError: /home/matthew_kwok_tictag_io/gotocr/GOT-OCRv2-onnx/llm-export/GOT-OCR2_0-onnx does not appear to have a file named config.json. Checkout 'https://huggingface.co//home/matthew_kwok_tictag_io/gotocr/GOT-OCRv2-onnx/llm-export/GOT-OCR2_0-onnx/None' for available files.

@wailokkwok wailokkwok changed the title PermissionError: [Errno 13] Permission denied: '/root/google_vm_config.lock' OSError: /home/matthew_kwok_tictag_io/gotocr/GOT-OCRv2-onnx/llm-export/GOT-OCR2_0-onnx does not appear to have a file named config.json. Checkout 'https://huggingface.co//home/matthew_kwok_tictag_io/gotocr/GOT-OCRv2-onnx/llm-export/GOT-OCR2_0-onnx/None' for available files. Oct 4, 2024
@wailokkwok wailokkwok changed the title OSError: /home/matthew_kwok_tictag_io/gotocr/GOT-OCRv2-onnx/llm-export/GOT-OCR2_0-onnx does not appear to have a file named config.json. Checkout 'https://huggingface.co//home/matthew_kwok_tictag_io/gotocr/GOT-OCRv2-onnx/llm-export/GOT-OCR2_0-onnx/None' for available files. OSError: /home/matthew_kwok_tictag_io/gotocr/GOT-OCRv2-onnx/llm-export/GOT-OCR2_0-onnx does not appear to have a file named config.json. Oct 4, 2024
@BaofengZan
Copy link
Owner

BaofengZan commented Oct 8, 2024

You need to manually copy several json files and qwen.tiktoken from the original HF model folder to the folder where ONNX is located.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants