Skip to content

Commit bb91a8b

Browse files
authored
feat: support DAT (#601)
1 parent c7ef1d2 commit bb91a8b

File tree

3 files changed

+17
-4
lines changed

3 files changed

+17
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ apt install -y libomp5 xdg-utils
7777

7878
The following references were referenced in the development of this project:
7979

80-
- [Final2x-core](https://github.com/Final2x/Final2x-core)
80+
- [Final2x-core](https://github.com/Tohrusky/Final2x-core)
8181
- [ccrestoration](https://github.com/TensoRaws/ccrestoration)
8282
- [PyTorch](https://github.com/pytorch/pytorch)
8383
- [ncnn](https://github.com/Tencent/ncnn)

resources/download-core.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ const child_process = require('child_process')
99

1010
const coreDict = {
1111
'macos-arm64':
12-
'https://github.com/Tohrusky/Final2x-core/releases/download/2024-11-08/Final2x-core-macos-arm64.7z',
12+
'https://github.com/Tohrusky/Final2x-core/releases/download/2024-11-09/Final2x-core-macos-arm64.7z',
1313
'macos-x64':
14-
'https://github.com/Tohrusky/Final2x-core/releases/download/2024-11-08/Final2x-core-macos-x64.7z',
14+
'https://github.com/Tohrusky/Final2x-core/releases/download/2024-11-09/Final2x-core-macos-x64.7z',
1515
'windows-x64':
16-
'https://github.com/Tohrusky/Final2x-core/releases/download/2024-11-08/Final2x-core-windows-latest.7z'
16+
'https://github.com/Tohrusky/Final2x-core/releases/download/2024-11-09/Final2x-core-windows-latest.7z'
1717
}
1818

1919
console.log('-'.repeat(50))

src/renderer/src/utils/ModelOptions.ts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,17 @@ export const modelOptions: any[] = [
4747
{ label: 'SCUNet_color_50_1x', value: 'SCUNet_color_50_1x.pth' },
4848
{ label: 'SCUNet_color_real_psnr_1x', value: 'SCUNet_color_real_psnr_1x.pth' },
4949
{ label: 'SCUNet_color_real_gan_1x', value: 'SCUNet_color_real_gan_1x.pth' },
50+
{ label: 'DAT_S_2x', value: 'DAT_S_2x.pth' },
51+
{ label: 'DAT_S_3x', value: 'DAT_S_3x.pth' },
52+
{ label: 'DAT_S_4x', value: 'DAT_S_4x.pth' },
53+
{ label: 'DAT_2x', value: 'DAT_2x.pth' },
54+
{ label: 'DAT_3x', value: 'DAT_3x.pth' },
55+
{ label: 'DAT_4x', value: 'DAT_4x.pth' },
56+
{ label: 'DAT_2_2x', value: 'DAT_2_2x.pth' },
57+
{ label: 'DAT_2_3x', value: 'DAT_2_3x.pth' },
58+
{ label: 'DAT_2_4x', value: 'DAT_2_4x.pth' },
59+
{ label: 'DAT_light_2x', value: 'DAT_light_2x.pth' },
60+
{ label: 'DAT_light_3x', value: 'DAT_light_3x.pth' },
61+
{ label: 'DAT_light_4x', value: 'DAT_light_4x.pth' },
62+
{ label: 'DAT_APISR_GAN_generator_4x', value: 'DAT_APISR_GAN_generator_4x.pth' },
5063
]

0 commit comments

Comments
 (0)