opendatalab / PDF-Extract-Kit

A Comprehensive Toolkit for High-Quality PDF Content Extraction
Apache License 2.0
4.67k stars 310 forks source link

start并完成CustomVisionEncoderDecoderModel init后,就自动退出了 #53

Open huanjka119 opened 1 month ago

huanjka119 commented 1 month ago

image

win10 cpu 内存16G AMD Ryzen5 4600H

请大佬指点!

myhloli commented 1 month ago

please upload more info to us.

huanjka119 commented 1 month ago

Visual Studio Code (1.85.2, undefined, desktop) Jupyter Extension Version: 2023.11.1100101639. Python Extension Version: 2024.2.1. Pylance Extension Version: 2024.3.2. Platform: win32 (x64). Workspace folder d:\Project\PDF, Home = c:\Users\jihui 14:18:08.544 [info] Start refreshing Kernel Picker (1722233888544) 14:18:08.549 [info] Using Pylance 14:18:08.724 [info] Start refreshing Interpreter Kernel Picker 14:18:08.863 [warn] Kernel Spec for 'pytorch' (c:\ProgramData\jupyter\kernels\pytorch\kernel.json) hidden, as we cannot find a matching interpreter argv = 'D:\Software\Anaconda3\envs\pytorch\python.exe'. To resolve this, please change 'D:\Software\Anaconda3\envs\pytorch\python.exe' to point to the fully qualified Python executable. 14:18:10.165 [info] Starting Kernel startUsingPythonInterpreter, .jvsc74a57bd08acd8431de9391161e8d4772783c626b27fa1bdc77c5f4fc5fffbef72d244ff6.d:\Python\miniconda3\envs\pdf\python.exe.d:\Python\miniconda3\envs\pdf\python.exe.-m#ipykernel_launcher (Python Path: d:\Python\miniconda3\envs\pdf\python.exe, Conda, pdf, 3.10.14) for 'd:\Project\PDF\PDF-Extract-Kit\1.ipynb' (disableUI=true) 14:18:10.168 [info] Starting Kernel startUsingPythonInterpreter, .jvsc74a57bd08acd8431de9391161e8d4772783c626b27fa1bdc77c5f4fc5fffbef72d244ff6.d:\Python\miniconda3\envs\pdf\python.exe.d:\Python\miniconda3\envs\pdf\python.exe.-m#ipykernel_launcher (Python Path: d:\Python\miniconda3\envs\pdf\python.exe, Conda, pdf, 3.10.14) for 'd:\Project\PDF\pdftotxt.ipynb' (disableUI=true) 14:18:13.117 [warn] Disposing old controller startUsingPythonInterpreter:'.jvsc74a57bd017d8af0c70e4b74383512f517e688d6c45494931b5d200e02229297b74803799.~\AppData\Local\Programs\Python\Python310\python.exe.~\AppData\Local\Programs\Python\Python310\python.exe.-m#ipykernel_launcher' for view = 'jupyter-notebook' 14:18:13.118 [warn] Disposing old controller startUsingPythonInterpreter:'.jvsc74a57bd017d8af0c70e4b74383512f517e688d6c45494931b5d200e02229297b74803799.~\AppData\Local\Programs\Python\Python310\python.exe.~\AppData\Local\Programs\Python\Python310\python.exe.-m#ipykernel_launcher (Interactive)' for view = 'interactive' 14:18:13.123 [error] Failed to get env details from Python API for ~\APPDATA\LOCAL\PROGRAMS\PYTHON\PYTHON310\PYTHON.EXE without an error 14:18:16.251 [error] Failed to get env details from Python API for ~\APPDATA\LOCAL\PROGRAMS\PYTHON\PYTHON310\PYTHON.EXE without an error 14:18:17.438 [info] End refreshing Kernel Picker (1722233888544) 14:18:17.669 [info] Process Execution: d:\Python\miniconda3\envs\pdf\python.exe -c "import ipykernel; print(ipykernel.version); print("5dc3a68c-e34e-4080-9c3e-2a532b2ccb4d"); print(ipykernel.file)" 14:18:17.687 [info] Process Execution: d:\Python\miniconda3\envs\pdf\python.exe ~.vscode\extensions\ms-toolsai.jupyter-2023.11.1100101639-win32-x64\pythonFiles\vscode_datascience_helpers\kernel_interrupt_daemon.py --ppid 13472

cwd: ~.vscode\extensions\ms-toolsai.jupyter-2023.11.1100101639-win32-x64\pythonFiles\vscode_datascience_helpers 14:18:17.701 [info] Process Execution: d:\Python\miniconda3\envs\pdf\python.exe -m pip list 14:18:17.712 [info] Process Execution: d:\Python\miniconda3\envs\pdf\python.exe -c "import ipykernel; print(ipykernel.version); print("5dc3a68c-e34e-4080-9c3e-2a532b2ccb4d"); print(ipykernel.file)" 14:18:18.196 [info] Process Execution: d:\Python\miniconda3\envs\pdf\python.exe -m ipykernel_launcher --f=~\AppData\Roaming\jupyter\runtime\kernel-v2-13472mA38cqTUCpB0.json cwd: d:\Project\PDF\PDF-Extract-Kit 14:18:18.217 [info] Process Execution: d:\Python\miniconda3\envs\pdf\python.exe -m ipykernel_launcher --f=~\AppData\Roaming\jupyter\runtime\kernel-v2-13472Lj58eQ74FihZ.json cwd: d:\Project\PDF 14:18:22.132 [info] Process Execution: d:\Python\miniconda3\envs\pdf\python.exe ~.vscode\extensions\ms-toolsai.jupyter-2023.11.1100101639-win32-x64\pythonFiles\printJupyterDataDir.py 14:27:49.941 [info] Handle Execution of Cells 4 for d:\Project\PDF\PDF-Extract-Kit\1.ipynb 14:27:49.955 [info] Kernel acknowledged execution of cell 4 @ 1722234469954 14:27:49.980 [info] End cell 4 execution after 0.025s, completed @ 1722234469979, started @ 1722234469954 14:28:04.561 [info] Handle Execution of Cells 4 for d:\Project\PDF\PDF-Extract-Kit\1.ipynb 14:28:04.571 [info] Kernel acknowledged execution of cell 4 @ 1722234484571 14:28:05.853 [info] End cell 4 execution after 1.282s, completed @ 1722234485853, started @ 1722234484571 14:28:17.126 [info] Handle Execution of Cells 4 for d:\Project\PDF\PDF-Extract-Kit\1.ipynb 14:28:17.138 [info] Kernel acknowledged execution of cell 4 @ 1722234497137 14:28:17.209 [info] End cell 4 execution after 0.071s, completed @ 1722234497208, started @ 1722234497137 14:28:40.146 [info] Handle Execution of Cells 0 for d:\Project\PDF\PDF-Extract-Kit\1.ipynb 14:28:40.200 [info] Kernel acknowledged execution of cell 0 @ 1722234520200 14:29:31.289 [error] Disposing session as kernel process died ExitCode: 3221225477, Reason: 14:29:31.289 [info] Dispose Kernel process 2888. 14:29:31.327 [info] End cell 0 execution after -1722234520.2s, completed @ undefined, started @ 1722234520200