We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
描述错误: 源码安装gpu版本运行报错 无法启动.
报错如下:
(myenv) PS D:\game\ok-wuthering-waves-master> python main_gpu.py 📢 Tips: QFluentWidgets Pro is now released. Click https://qfluentwidgets.com/pages/pro to learn more about it. 2025-02-18 03:25:21,744 INFO MainThread ok:ok-script init v5.0.11, ['main_gpu.py'], pid=38216 config: {'debug': False, 'use_gui': True, 'config_folder': 'configs', 'gui_icon': 'icon.png', 'ocr': {'lib': 'paddleocr'}, 'start_timeout': 120, 'wait_until_before_delay': 2, 'template_matching': {'coco_feature_json': 'assets\\result.json', 'default_horizontal_variance': 0.002, 'default_vertical_variance': 0.002, 'default_threshold': 0.8}, 'windows': {'exe': 'Client-Win64-Shipping.exe', 'calculate_pc_exe_path': <function calculate_pc_exe_path at 0x00000167C5BC8EA0>, 'hwnd_class': 'UnrealWindow', 'interaction': 'PostMessage', 'can_bit_blt': True, 'bit_blt_render_full': True, 'check_hdr': False, 'force_no_hdr': False, 'check_night_light': True, 'force_no_night_light': False, 'require_bg': True}, 'window_size': {'width': 800, 'height': 600, 'min_width': 600, 'min_height': 450}, 'supported_resolution': {'ratio': '16:9', 'min_size': (1280, 720)}, 'analytics': {'report_url': 'http://111.231.71.225/report'}, 'git_update': {'sources': [{'name': 'Global', 'git_url': 'https://github.com/ok-oldking/ok-ww-update.git', 'pip_url': 'https://pypi.org/simple/'}, {'name': '清华大学', 'git_url': 'https://e.coding.net/g-frfh1513/ok-wuthering-waves/ok-wuthering-waves.git', 'pip_url': 'https://pypi.tuna.tsinghua.edu.cn/simple'}, {'name': 'China', 'git_url': 'https://e.coding.net/g-frfh1513/ok-wuthering-waves/ok-wuthering-waves.git', 'pip_url': 'https://pypi.tuna.tsinghua.edu.cn/simple'}, {'name': '腾讯云', 'git_url': 'https://e.coding.net/g-frfh1513/ok-wuthering-waves/ok-wuthering-waves.git', 'pip_url': 'https://mirrors.cloud.tencent.com/pypi/simple'}, {'name': '阿里云', 'git_url': 'https://e.coding.net/g-frfh1513/ok-wuthering-waves/ok-wuthering-waves.git', 'pip_url': 'https://mirrors.aliyun.com/pypi/simple'}]}, 'links': {'default': {'github': 'https://github.com/ok-oldking/ok-wuthering-waves', 'faq': 'https://github.com/ok-oldking/ok-wuthering-waves#FAQ'}, 'zh_CN': {'github': 'https://github.com/ok-oldking/ok-wuthering-waves', 'faq': 'https://github.com/ok-oldking/ok-wuthering-waves#FAQ'}}, 'about': '\n <p style="color:red;">\n <strong>本软件是 免费开源的。</strong> 如果你被收费,请立即退款。请访问QQ频道或GitHub下载最新的官方版本。\n </p>\n <p style="color:red;">\n <strong>本软件仅供个人使用,用于学习Python编程、计算机视觉、UI自动化等。</strong> 请勿将其用于任何营利性或商业用途。\n </p>\n <p style="color:red;">\n <strong>使用本软件可能会导致账号被封。</strong> 请在了解风险后再使用。\n </p>\n', 'screenshots_folder': 'screenshots', 'gui_title': 'OK-WW', 'log_file': 'logs/ok-ww.log', 'error_log_file': 'logs/ok-ww_error.log', 'launcher_log_file': 'logs/launcher.log', 'launcher_error_log_file': 'logs/launcher_error.log', 'version': 'v5.0.11', 'onetime_tasks': [['src.task.FarmEchoTask', 'FarmEchoTask'], ['src.task.FarmWorldBossTask', 'FarmWorldBossTask'], ['src.task.DiagnosisTask', 'DiagnosisTask']], 'trigger_tasks': [['src.task.AutoCombatTask', 'AutoCombatTask'], ['src.task.AutoPickTask', 'AutoPickTask'], ['src.task.SkipDialogTask', 'AutoDialogTask'], ['src.task.MouseResetTask', 'MouseResetTask'], ['src.task.AutoLoginTask', 'AutoLoginTask']]} 2025-02-18 03:25:21,745 INFO MainThread ok:SetProcessDpiAwareness 0 2025-02-18 03:25:21,746 INFO MainThread ok:__init__ start 2025-02-18 03:25:21,747 INFO MainThread ok:HwndWindow init title:None player_id:-1 exe_name:Client-Win64-Shipping.exe hwnd_class:UnrealWindow 2025-02-18 03:25:21,753 INFO MainThread ok:__init__ end 2025-02-18 03:25:21,764 INFO MainThread ok:do_init, config: {'debug': False, 'use_gui': True, 'config_folder': 'configs', 'gui_icon': 'icon.png', 'ocr': {'lib': 'paddleocr'}, 'start_timeout': 120, 'wait_until_before_delay': 2, 'template_matching': {'coco_feature_json': 'assets\\result.json', 'default_horizontal_variance': 0.002, 'default_vertical_variance': 0.002, 'default_threshold': 0.8}, 'windows': {'exe': 'Client-Win64-Shipping.exe', 'calculate_pc_exe_path': <function calculate_pc_exe_path at 0x00000167C5BC8EA0>, 'hwnd_class': 'UnrealWindow', 'interaction': 'PostMessage', 'can_bit_blt': True, 'bit_blt_render_full': True, 'check_hdr': False, 'force_no_hdr': False, 'check_night_light': True, 'force_no_night_light': False, 'require_bg': True}, 'window_size': {'width': 800, 'height': 600, 'min_width': 600, 'min_height': 450}, 'supported_resolution': {'ratio': '16:9', 'min_size': (1280, 720)}, 'analytics': {'report_url': 'http://111.231.71.225/report'}, 'git_update': {'sources': [{'name': 'Global', 'git_url': 'https://github.com/ok-oldking/ok-ww-update.git', 'pip_url': 'https://pypi.org/simple/'}, {'name': '清华大学', 'git_url': 'https://e.coding.net/g-frfh1513/ok-wuthering-waves/ok-wuthering-waves.git', 'pip_url': 'https://pypi.tuna.tsinghua.edu.cn/simple'}, {'name': 'China', 'git_url': 'https://e.coding.net/g-frfh1513/ok-wuthering-waves/ok-wuthering-waves.git', 'pip_url': 'https://pypi.tuna.tsinghua.edu.cn/simple'}, {'name': '腾讯云', 'git_url': 'https://e.coding.net/g-frfh1513/ok-wuthering-waves/ok-wuthering-waves.git', 'pip_url': 'https://mirrors.cloud.tencent.com/pypi/simple'}, {'name': '阿里云', 'git_url': 'https://e.coding.net/g-frfh1513/ok-wuthering-waves/ok-wuthering-waves.git', 'pip_url': 'https://mirrors.aliyun.com/pypi/simple'}]}, 'links': {'default': {'github': 'https://github.com/ok-oldking/ok-wuthering-waves', 'faq': 'https://github.com/ok-oldking/ok-wuthering-waves#FAQ'}, 'zh_CN': {'github': 'https://github.com/ok-oldking/ok-wuthering-waves', 'faq': 'https://github.com/ok-oldking/ok-wuthering-waves#FAQ'}}, 'about': '\n <p style="color:red;">\n <strong>本软件是免费开源的。</strong> 如果你被收费,请立即 退款。请访问QQ频道或GitHub下载最新的官方版本。\n </p>\n <p style="color:red;">\n <strong>本软件仅供个人使用,用于学习Python编程、计算机视觉、UI自动化等。</strong> 请勿将其用于任何营利性或商业用途。\n </p>\n <p style="color:red;">\n <strong>使用本软件可能会导致账号被封。</strong> 请在了解风险后再使用。\n </p>\n', 'screenshots_folder': 'screenshots', 'gui_title': 'OK-WW', 'log_file': 'logs/ok-ww.log', 'error_log_file': 'logs/ok-ww_error.log', 'launcher_log_file': 'logs/launcher.log', 'launcher_error_log_file': 'logs/launcher_error.log', 'version': 'v5.0.11', 'onetime_tasks': [['src.task.FarmEchoTask', 'FarmEchoTask'], ['src.task.FarmWorldBossTask', 'FarmWorldBossTask'], ['src.task.DiagnosisTask', 'DiagnosisTask']], 'trigger_tasks': [['src.task.AutoCombatTask', 'AutoCombatTask'], ['src.task.AutoPickTask', 'AutoPickTask'], ['src.task.SkipDialogTask', 'AutoDialogTask'], ['src.task.MouseResetTask', 'MouseResetTask'], ['src.task.AutoLoginTask', 'AutoLoginTask']]} 2025-02-18 03:25:21,764 INFO MainThread ok:init ocr {'lib': 'paddleocr'} 2025-02-18 03:25:21,764 INFO MainThread ok:use paddleocr as ocr lib 信息: 用提供的模式无法找到文件。 D:\game\ok-wuthering-waves-master\myenv\Lib\site-packages\paddle\utils\cpp_extension\extension_utils.py:711: UserWarning: No ccache found. Please be aware that recompiling all source files may be required. You can download and install ccache from: https://github.com/ccache/ccache/blob/master/doc/INSTALL.md warnings.warn(warning_message) [2025/02/18 03:25:24] ppocr DEBUG: Namespace(help='==SUPPRESS==', use_gpu=True, use_xpu=False, use_npu=False, use_mlu=False, ir_optim=True, use_tensorrt=False, min_subgraph_size=15, precision='fp32', gpu_mem=500, gpu_id=0, image_dir=None, page_num=0, det_algorithm='DB', det_model_dir='D:\\game\\ok-wuthering-waves-master\\paddle_model\\ch\\det', det_limit_side_len=960, det_limit_type='max', det_box_type='quad', det_db_thresh=0.3, det_db_box_thresh=0.6, det_db_unclip_ratio=1.5, max_batch_size=10, use_dilation=False, det_db_score_mode='fast', det_east_score_thresh=0.8, det_east_cover_thresh=0.1, det_east_nms_thresh=0.2, det_sast_score_thresh=0.5, det_sast_nms_thresh=0.2, det_pse_thresh=0, det_pse_box_thresh=0.85, det_pse_min_area=16, det_pse_scale=1, scales=[8, 16, 32], alpha=1.0, beta=1.0, fourier_degree=5, rec_algorithm='SVTR_LCNet', rec_model_dir='D:\\game\\ok-wuthering-waves-master\\paddle_model\\ch\\rec', rec_image_inverse=True, rec_image_shape='3, 48, 320', rec_batch_num=6, max_text_length=25, rec_char_dict_path='D:\\game\\ok-wuthering-waves-master\\myenv\\Lib\\site-packages\\paddleocr\\ppocr\\utils\\ppocr_keys_v1.txt', use_space_char=True, vis_font_path='./doc/fonts/simfang.ttf', drop_score=0.5, e2e_algorithm='PGNet', e2e_model_dir=None, e2e_limit_side_len=768, e2e_limit_type='max', e2e_pgnet_score_thresh=0.5, e2e_char_dict_path='./ppocr/utils/ic15_dict.txt', e2e_pgnet_valid_set='totaltext', e2e_pgnet_mode='fast', use_angle_cls=False, cls_model_dir='D:\\game\\ok-wuthering-waves-master\\paddle_model\\ch\\cls', cls_image_shape='3, 48, 192', label_list=['0', '180'], cls_batch_num=6, cls_thresh=0.9, enable_mkldnn=False, cpu_threads=10, use_pdserving=False, warmup=False, sr_model_dir=None, sr_image_shape='3, 32, 128', sr_batch_num=1, draw_img_save_dir='./inference_results', save_crop_res=False, crop_res_save_dir='./output', use_mp=False, total_process_num=1, process_id=0, benchmark=False, save_log_path='./log_output/', show_log=True, use_onnx=False, return_word_box=False, output='./output', table_max_len=488, table_algorithm='TableAttn', table_model_dir=None, merge_no_span_structure=True, table_char_dict_path=None, formula_algorithm='LaTeXOCR', formula_model_dir=None, formula_char_dict_path=None, formula_batch_num=1, layout_model_dir=None, layout_dict_path=None, layout_score_threshold=0.5, layout_nms_threshold=0.5, kie_algorithm='LayoutXLM', ser_model_dir=None, re_model_dir=None, use_visual_backbone=True, ser_dict_path='../train_data/XFUND/class_list_xfun.txt', ocr_order_method=None, mode='structure', image_orientation=False, layout=True, table=True, formula=False, ocr=True, recovery=False, recovery_to_markdown=False, use_pdf2docx_api=False, invert=False, binarize=False, alphacolor=(255, 255, 255), lang='ch', det=True, rec=True, type='ocr', savefile=False, ocr_version='PP-OCRv4', structure_version='PP-StructureV2') [2025/02/18 03:25:24] ppocr WARNING: The first GPU is used for inference by default, GPU ID: 0 [2025/02/18 03:25:26] ppocr WARNING: The first GPU is used for inference by default, GPU ID: 0 2025-02-18 03:25:28,556 INFO TaskExecutor ok:start execute 2025-02-18 03:25:28,556 INFO TaskExecutor ok:executor is paused sleep 2025-02-18 03:25:28,581 INFO MainThread MouseResetTask:start mouse reset 2025-02-18 03:25:28,588 INFO MainThread ok:_CreateMutex a42b018045dec07358ac596950dfa832 2025-02-18 03:25:28,589 INFO MainThread ok:do_init, end 2025-02-18 03:25:28,589 INFO MainThread ok:OK start id:1545210808272 pid:38216 2025-02-18 03:25:28,589 INFO RefreshAdb ok:start update_pc_device 2025-02-18 03:25:28,593 INFO RefreshAdb ok:capture method <class 'ok.__init__.BitBltCaptureMethod'> qt.qpa.window: SetProcessDpiAwarenessContext() failed: 操作成功完成。 Qt's default DPI awareness context is DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2. If you know what you are doing, you can overwrite this default using qt.conf (https://doc.qt.io/qt-6/highdpi.html#configuring-windows). setHighDpiScaleFactorRoundingPolicy must be called before creating the QGuiApplication instance 2025-02-18 03:25:28,606 INFO MainThread app:translator install success <PySide6.QtCore.QLocale(Chinese, Simplified Han, China) at 0x0000016789914380>, 开发工具 2025-02-18 03:25:28,616 INFO MainThread GitUpdater:Added D:\game\ok-wuthering-waves-master\python\git\bin to PATH for the current script. 2025-02-18 03:25:28,620 ERROR MainThread ok:start error Traceback (most recent call last): File "ok\\__init__.pyx", line 1474, in ok.OK.start File "ok\\__init__.pyx", line 1465, in ok.OK.app File "ok\\__init__.pyx", line 1111, in ok.App.__init__ File "ok\\update\\GitUpdater.pyx", line 52, in ok.update.GitUpdater.GitUpdater.__init__ File "ok\\update\\GitUpdater.pyx", line 123, in ok.update.GitUpdater.GitUpdater.load_current_ver File "ok\\update\\GitUpdater.pyx", line 288, in ok.update.GitUpdater.GitUpdater.read_launcher_config File "ok\\update\\GitUpdater.pyx", line 445, in ok.update.GitUpdater.get_file_in_path_or_cwd FileNotFoundError: repo\v5.0.11 launcher.json not found 2025-02-18 03:25:28,621 ERROR MainThread Uncaught exception: Traceback (most recent call last): File "ok\\__init__.pyx", line 1474, in ok.OK.start File "ok\\__init__.pyx", line 1465, in ok.OK.app File "ok\\__init__.pyx", line 1111, in ok.App.__init__ File "ok\\update\\GitUpdater.pyx", line 52, in ok.update.GitUpdater.GitUpdater.__init__ File "ok\\update\\GitUpdater.pyx", line 123, in ok.update.GitUpdater.GitUpdater.load_current_ver File "ok\\update\\GitUpdater.pyx", line 288, in ok.update.GitUpdater.GitUpdater.read_launcher_config File "ok\\update\\GitUpdater.pyx", line 445, in ok.update.GitUpdater.get_file_in_path_or_cwd FileNotFoundError: repo\v5.0.11 launcher.json not found During handling of the above exception, another exception occurred: Traceback (most recent call last): File "D:\game\ok-wuthering-waves-master\main_gpu.py", line 8, in <module> ok.start() File "ok\\__init__.pyx", line 1505, in ok.OK.start File "ok\\__init__.pyx", line 1465, in ok.OK.app File "ok\\__init__.pyx", line 1097, in ok.App.__init__ File "ok\\gui\\util\\app.pyx", line 18, in ok.gui.util.app.init_app_config RuntimeError: Please destroy the QApplication singleton before creating a new QApplication instance. 2025-02-18 03:25:28,658 INFO TaskExecutor ok:sleep Exit event set. Exiting early.
windows操作系统: Windows 11 Pro 23H2
上传日志: ok-script.log
The text was updated successfully, but these errors were encountered:
ok-oldking
No branches or pull requests
描述错误:
源码安装gpu版本运行报错 无法启动.
报错如下:
windows操作系统:
Windows 11 Pro 23H2
上传日志:
ok-script.log
The text was updated successfully, but these errors were encountered: