Skip to content

Commit

Permalink
add HDcube4
Browse files Browse the repository at this point in the history
  • Loading branch information
Venomalia committed Apr 2, 2023
1 parent 48c4dfb commit c95cb62
Show file tree
Hide file tree
Showing 4 changed files with 106 additions and 6 deletions.
17 changes: 17 additions & 0 deletions Alpha/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# HDcube Alpha

## Model details
```
Name:4xHDcube-Alpha
Model Architecture: Real-ESRGAN
Scale: 4
Purpose: Gamecube and Wii textures Dumps
Iterations: 250k
batch_size: 6
HR_size: 128
Epoch: 547
Dataset: artifact free textures and photos (stone, wood, metal, clothes, plants, characters, FX)
Dataset_size: 30000+
Pretrained_Model_G: 4xHDcube-AlphaBase
```
17 changes: 17 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
HDcube Model License

Copyright (c) 2023 Venomalia

The author of the generative model does not claim any copyright on the upscaled images (output).

You may not rent, sell or redistribute the generative model or any portion thereof without permission.

The above copyright notice and this permission notice shall be included in all copies of the generative model.

THE MODEL IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHOR OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE MODEL OR THE USE OR OTHER DEALINGS IN THE
MODEL.
14 changes: 8 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<img src="https://i.imgur.com/qpUjENn.png" width="400"/>

# HDcube
This is an [ESRGAN](https://github.com/xinntao/ESRGAN) model trained specifically for upscaling GameCube and Wii textures, but it can of course be used for other textures from that period, like playstation 2, Xbox or PC games from that time.
This is an [ESRGAN](https://github.com/xinntao/ESRGAN) model trained specifically for upscaling and restoration of GameCube and Wii textures, but it can of course be used for other textures from that period, like playstation 2, Xbox or PC games from that time.

It can be used for all image formats supported by Gamecube and Wii hardware and can remove its typical artifacts like
CMPR Block Compression (DXT1 algorithm, also known as BC1), color palette errors, color reduction up to 8bit color depth and 1bit alpha depth.
Expand All @@ -19,17 +19,19 @@ You get the best quality if you upscale the alpha channel [separately](https://i
|---|---|
|<img src="https://i.imgur.com/LF0HGBg.png" width="512"/>|<img src="https://i.imgur.com/vDWRaLs.png" width="512"/>|

|GameCube|HDCube 3|GameCube|HDCube 3|
|GameCube|HDCube 4|GameCube|HDCube 4|
|---|---|---|---|
|<img src="https://i.imgur.com/476bdeZ.png" width="256"/>|<img src="https://i.imgur.com/wYESlsV.png" width="256"/>|<img src="https://i.imgur.com/7GGgStJ.png" width="256"/>|<img src="https://i.imgur.com/euMrBE5.png" width="256"/>|
|<img src="https://i.imgur.com/HxYcYN4.png" width="256"/>|<img src="https://i.imgur.com/GT9RjVc.png" width="256"/>|<img src="https://i.imgur.com/Bz39avz.png" width="256"/>|<img src="https://i.imgur.com/jXX6lhG.png" width="256"/>|
|<img src="https://i.imgur.com/R34f0Jv.png" width="256"/>|<img src="https://i.imgur.com/heetXP2.png" width="256"/>|<img src="https://i.imgur.com/U2DXTH5.png" width="256"/>|<img src="https://i.imgur.com/XZ8x19N.png" width="256"/>|
|<img src="https://i.imgur.com/476bdeZ.png" width="256"/>|<img src="https://i.imgur.com/nIv5qBs.png" width="256"/>|<img src="https://i.imgur.com/7GGgStJ.png" width="256"/>|<img src="https://i.imgur.com/HRBTAYV.png" width="256"/>|
|<img src="https://i.imgur.com/U2DXTH5.png" width="256"/>|<img src="https://i.imgur.com/u8PWMpD.png" width="256"/>|<img src="https://i.imgur.com/R34f0Jv.png" width="256"/>|<img src="https://i.imgur.com/BFMiypi.png" width="256"/>|

[more...](https://github.com/Venomalia/HDcube/tree/main/v3#image-comparison)
[more...](https://github.com/Venomalia/HDcube/tree/main/v4#image-comparison)

## Versions
|Scale|Name|Iterations|Architecture|Date|
|---|---|---|---|---|
|4|[HDcube4-A](https://github.com/Venomalia/HDcube/tree/main/v4)|250k|[Real-ESRGAN](https://github.com/xinntao/Real-ESRGAN)|2023-03-20|
|4|[HDcube4-B](https://github.com/Venomalia/HDcube/tree/main/v4)|250k|[Real-ESRGAN](https://github.com/xinntao/Real-ESRGAN)|2023-03-20|
|4|[HDcube-Alpha](https://github.com/Venomalia/HDcube/tree/main/Alpha)|250k|[Real-ESRGAN Compact](https://github.com/xinntao/Real-ESRGAN)|2023-03-20|
|2|[HDcubeCompact](https://github.com/Venomalia/HDcube/tree/main/Compact)|500k|[Real-ESRGAN Compact](https://github.com/xinntao/Real-ESRGAN)|2023-02-09|
|4|[HDcube3](https://github.com/Venomalia/HDcube/tree/main/v3)|500k|[ESRGAN](https://github.com/xinntao/ESRGAN)|2022-12-13|
|4|[HDcube2](https://github.com/Venomalia/HDcube/tree/main/v2)|250k|[ESRGAN](https://github.com/xinntao/ESRGAN)|2022-05-31|
Expand Down
64 changes: 64 additions & 0 deletions v4/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
# HDcube 4

## Model details
```
Name:4xHDCube4
Model Architecture: Real-ESRGAN
Scale: 4
Purpose: Gamecube and Wii textures Dumps
Iterations: 400k
batch_size: 6
HR_size: 128
Epoch: 22
Dataset: artifact free textures and photos (stone, wood, metal, clothes, plants, characters, FX)
Dataset_size: 100000+
Pretrained_Model_G: 4xHDCube4Base
```
```
Name:4xHDCube4-B
Model Architecture: Real-ESRGAN
Scale: 4
Purpose: Gamecube and Wii textures Dumps
Iterations: 500k
batch_size: 6
HR_size: 128
Epoch: 69
Dataset: artifact free textures and photos (stone, wood, metal, clothes, plants, characters, FX)
Dataset_size: 50000+
Pretrained_Model_G: 4xHDCube4Base
```

[<img src="https://img.shields.io/badge/Download-4x HDCube4-red?style=for-the-badge&logo=ko-fi" alt="Download" height="34"/>](https://ko-fi.com/venomalia/shop)

## Image comparison
### Interpolation
Model A and B have different error corrections and fokus.
![grafik](https://i.imgur.com/fVHpN5h.png)

## Old Models
<img src="https://i.imgur.com/MKiZ3au.png" width="700"/>
<img src="https://i.imgur.com/tKJQQ3J.png" width="700"/>
<img src="https://i.imgur.com/MQGWy2y.png" width="700"/>
<img src="https://i.imgur.com/GnRz6XF.png" width="700"/>
<img src="https://i.imgur.com/lPpA1jD.png" width="700"/>
<img src="https://i.imgur.com/zFEPqvB.png" width="700"/>

### Textures
Output use `4xHDCube4(A50,B50)`
|Input|Output|
|---|---|
|<img src="https://i.imgur.com/476bdeZ.png" width="336"/>|<img src="https://i.imgur.com/nIv5qBs.png" width="336"/>|
|<img src="https://i.imgur.com/7GGgStJ.png" width="336"/>|<img src="https://i.imgur.com/HRBTAYV.png" width="336"/>|
|<img src="https://i.imgur.com/R34f0Jv.png" width="336"/>|<img src="https://i.imgur.com/BFMiypi.png" width="336"/>|
|<img src="https://i.imgur.com/U2DXTH5.png" width="336"/>|<img src="https://i.imgur.com/u8PWMpD.png" width="336"/>|

|Input|Output|
|---|---|
|<img src="https://i.imgur.com/Jj9aOA1.png" width="768"/>|<img src="https://i.imgur.com/zUoj7tP.png" width="768"/>|
|<img src="https://i.imgur.com/kn2ey2d.png" width="768"/>|<img src="https://i.imgur.com/vfsQfwC.png" width="768"/>|
|<img src="https://i.imgur.com/bpEbK3F.png" width="768"/>|<img src="https://i.imgur.com/iXycy28.png" width="768"/>|
|<img src="https://i.imgur.com/snjq2Gu.png" width="768"/>|<img src="https://i.imgur.com/RHdDogL.png" width="768"/>|
|<img src="https://i.imgur.com/uYLeplL.png" width="768"/>|<img src="https://i.imgur.com/A3gdR8z.png" width="768"/>|
|<img src="https://i.imgur.com/oLtxkqP.png" width="768"/>|<img src="https://i.imgur.com/RHHceW2.png" width="768"/>|

0 comments on commit c95cb62

Please sign in to comment.