mirror of
https://github.com/babalae/better-genshin-impact.git
synced 2026-05-09 00:34:14 +08:00
OCR修改默认强制推理配置
This commit is contained in:
@@ -14,10 +14,10 @@ public partial class HardwareAccelerationConfig : ObservableObject
|
||||
private InferenceDeviceType _inferenceDevice = InferenceDeviceType.Cpu;
|
||||
|
||||
/// <summary>
|
||||
/// 是否强制OCR使用CPU推理。在某些环境上使用GPU进行OCR推理会导致性能下降(比如很多使用DirectML推理的情况下)。默认关闭。
|
||||
/// 是否强制OCR使用CPU推理。在某些环境上使用GPU进行OCR推理会导致性能下降(比如很多使用DirectML推理的情况下)。默认开启。
|
||||
/// </summary>
|
||||
[ObservableProperty]
|
||||
private bool _cpuOcr = false;
|
||||
private bool _cpuOcr = true;
|
||||
|
||||
#region 一般GPU加速设置
|
||||
|
||||
|
||||
@@ -133,7 +133,7 @@
|
||||
<ui:TextBlock Grid.Row="1"
|
||||
Grid.Column="0"
|
||||
Foreground="{ui:ThemeResource TextFillColorTertiaryBrush}"
|
||||
Text="解决部分GPU推理性能和报错问题 默认关闭" />
|
||||
Text="解决部分GPU推理性能和报错问题 默认开启" />
|
||||
<TextBlock Grid.Row="2"
|
||||
Grid.Column="0"
|
||||
Foreground="{ui:ThemeResource TextFillColorSecondaryBrush}"
|
||||
|
||||
Reference in New Issue
Block a user