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

[bug]点击启动后报错 #1042

Open
YY888888YY opened this issue Jan 19, 2025 · 0 comments
Open

[bug]点击启动后报错 #1042

YY888888YY opened this issue Jan 19, 2025 · 0 comments

Comments

@YY888888YY
Copy link

  • 系统环境 / System Environment:

  • 版本 Windows 11 专业版 版本号 24H2

  • BetterGI版本号 / BetterGI Version:

  • 更好的原神 v0.39.1.0

  • 问题描述 / Description of the issue:

Microsoft.ML.OnnxRuntime.OnnxRuntimeException: [ErrorCode:RuntimeException] Exception during initialization: 
   at Microsoft.ML.OnnxRuntime.InferenceSession.Init(Byte[] modelData, SessionOptions options, PrePackedWeightsContainer prepackedWeightsContainer)
   at Microsoft.ML.OnnxRuntime.InferenceSession..ctor(Byte[] model, SessionOptions options)
   at Compunet.YoloV8.YoloV8Predictor..ctor(BinarySelector model, YoloV8Metadata metadata, YoloV8Configuration configuration, SessionOptions options)
   at Compunet.YoloV8.YoloV8Builder.Build()
   at BetterGenshinImpact.GameTask.AutoFishing.AutoFishingTrigger..ctor() in D:\HuiPrograming\Projects\CSharp\MiHoYo\BetterGenshinImpact\BetterGenshinImpact\GameTask\AutoFishing\AutoFishingTrigger.cs:line 35
   at BetterGenshinImpact.GameTask.GameTaskManager.LoadInitialTriggers() in D:\HuiPrograming\Projects\CSharp\MiHoYo\BetterGenshinImpact\BetterGenshinImpact\GameTask\GameTaskManager.cs:line 45
   at BetterGenshinImpact.GameTask.TaskTriggerDispatcher.Start(IntPtr hWnd, CaptureModes mode, Int32 interval) in D:\HuiPrograming\Projects\CSharp\MiHoYo\BetterGenshinImpact\BetterGenshinImpact\GameTask\TaskTriggerDispatcher.cs:line 140
   at BetterGenshinImpact.ViewModel.Pages.HomePageViewModel.Start(IntPtr hWnd) in D:\HuiPrograming\Projects\CSharp\MiHoYo\BetterGenshinImpact\BetterGenshinImpact\ViewModel\Pages\HomePageViewModel.cs:line 208
   at BetterGenshinImpact.ViewModel.Pages.HomePageViewModel.OnStartTriggerAsync() in D:\HuiPrograming\Projects\CSharp\MiHoYo\BetterGenshinImpact\BetterGenshinImpact\ViewModel\Pages\HomePageViewModel.cs:line 200
   at CommunityToolkit.Mvvm.Input.AsyncRelayCommand.AwaitAndThrowIfFailed(Task executionTask)
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
  • 复现步骤 / Reproduction steps:
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

1 participant