Skip to content

Commit

Permalink
Adding some more models (#461)
Browse files Browse the repository at this point in the history
* Add 4xNomos2_hq_atd

* Create 4x-DRCT-L.json

* Create 4x-Nomos2-hq-drct-l.json

* Create 4x-2xAoMR-mosr.json

* Create 4x-PurePhoto-RealPLSKR.json

* fix AoMR scale (needs pretrain removal)
  • Loading branch information
Phhofm authored Oct 25, 2024
1 parent 504c33e commit 84f0c3c
Show file tree
Hide file tree
Showing 6 changed files with 277 additions and 0 deletions.
67 changes: 67 additions & 0 deletions data/models/2x-AoMR-mosr.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
{
"name": "2xAoMR_mosr",
"author": "helaman",
"license": "CC-BY-4.0",
"tags": [
"compression-removal",
"game-textures",
"general-upscaler",
"restoration"
],
"description": "[Link to Github Release with more infos to the process](https://github.com/Phhofm/models/releases/tag/2xAoMR_mosr)\n\n2xAoMR_mosr \nScale: 4 \nArchitecture: [MoSR](https://github.com/umzi2/MoSR) \nArchitecture Option: [mosr](https://github.com/umzi2/MoSR/blob/95c5bf73cca014493fe952c2fbc0bdbe593da08f/neosr/archs/mosr_arch.py#L117) \n\nAuthor: Philip Hofmann \nLicense: CC-BY-0.4 \nPurpose: A 2x mosr upscaling model for game textures \nSubject: Game Textures \nInput Type: Images \nRelease Date: 21.09.2024 (dd/mm/yy) \n\nDataset: Game Textures from Age of Mythology: Retold \nDataset Size: 13'847 \nOTF (on the fly augmentations): No \nPretrained Model: [4xNomos2_hq_mosr](https://github.com/Phhofm/models/releases/tag/4xNomos2_hq_mosr) \nIterations: 510'000 \nBatch Size: 4 \nPatch Size: 64 \n\n## Description: \nIn short: A 2x game texture mosr upscaling model, trained on and for (but not limited to) Age of Mythology: Retold textures.\n\nSince I have been playing Age of Mythology: Retold (casual player), I thought it would be interesting to train an single image super resolution model on (and for) game textures of AoMR, but this model should be usable for other game textures aswell.\nThis is a 2x model, since the biggest texture images are already 4096x4096, I thought going 4x on those would be overkill (also there are already 4x game texture upscaling models, so this model can be used for similiar cases where 4x is not needed).\n\nModel Showcase:\n[Slowpics](https://slow.pics/s/IlkmsToH)",
"date": "2024-09-21",
"architecture": "mosr",
"size": null,
"scale": 2,
"inputChannels": 3,
"outputChannels": 3,
"resources": [
{
"platform": "pytorch",
"type": "pth",
"size": 17121346,
"sha256": "6297be8b3671e4f49bb67de55901a43a9d79a829a69263b3f1cd77242b084dd8",
"urls": [
"https://github.com/Phhofm/models/releases/download/2xAoMR_mosr/2xAoMR_mosr.pth"
]
},
{
"platform": "onnx",
"type": "onnx",
"size": 17176545,
"sha256": "bbb2d937d4bf048b64811fa9a9fe1ce568a7020244af8b82640aed10257bb9d3",
"urls": [
"https://github.com/Phhofm/models/releases/download/2xAoMR_mosr/2xAoMR_mosr_static_3_256_256_fp32.onnx"
]
}
],
"trainingIterations": 510000,
"trainingBatchSize": 4,
"trainingHRSize": 128,
"trainingOTF": false,
"dataset": "Game Textures from Age of Mythology: Retold",
"datasetSize": 13847,
"pretrainedModelG": "4x-Nomos2-hq-mosr",
"images": [
{
"type": "paired",
"LR": "https://i.slow.pics/8lxm7EFW.webp",
"SR": "https://i.slow.pics/waabp4ph.webp"
},
{
"type": "paired",
"LR": "https://i.slow.pics/3j7OZmwh.webp",
"SR": "https://i.slow.pics/0fR4zr75.webp"
},
{
"type": "paired",
"LR": "https://i.slow.pics/zvWFFRaJ.webp",
"SR": "https://i.slow.pics/OCEPN5Ql.webp"
},
{
"type": "paired",
"LR": "https://i.slow.pics/SOnGYqrz.webp",
"SR": "https://i.slow.pics/0TiiqMNv.webp"
}
]
}
28 changes: 28 additions & 0 deletions data/models/4x-DRCT-L.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"name": "DRCT-L_X4",
"author": "ming053l",
"license": "MIT",
"tags": [
"pretrained",
"research"
],
"description": "Official 4x drct-l Pretrain model, as released on their [DRCT Github Page](https://github.com/ming053l/DRCT?tab=readme-ov-file)",
"date": "2024-06-02",
"architecture": "drct",
"size": null,
"scale": 4,
"inputChannels": 3,
"outputChannels": 3,
"resources": [
{
"platform": "pytorch",
"type": "pth",
"size": 485570697,
"sha256": "a99044c0275699d1a296ae21b8f322fa8c65d7b9be2213ee2a3dcc280ab8d64b",
"urls": [
"https://drive.google.com/file/d/1bVxvA6QFbne2se0CQJ-jyHFy94UOi3h5/view?usp=drive_link"
]
}
],
"images": []
}
70 changes: 70 additions & 0 deletions data/models/4x-Nomos2-hq-atd.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
{
"name": "4xNomos2_hq_atd",
"author": "helaman",
"license": "CC-BY-4.0",
"tags": [
"general-upscaler",
"photo"
],
"description": "[Link to Github Release](https://github.com/Phhofm/models/releases/tag/4xNomos2_hq_atd)\n\n4xNomos2_hq_atd \nScale: 4 \nArchitecture: [ATD](https://github.com/LabShuHangGU/Adaptive-Token-Dictionary) \nArchitecture Option: [atd](https://github.com/muslll/neosr/blob/dc4e3742132bae2c2aa8e8d16de3a9fcec6b1a74/neosr/archs/atd_arch.py#L891) \n\nAuthor: Philip Hofmann \nLicense: CC-BY-0.4 \nPurpose: Upscaler \nSubject: Photography \nInput Type: Images \nRelease Date: 05.09.2024 \n\nDataset: [nomosv2](https://github.com/muslll/neosr/?tab=readme-ov-file#-datasets) \nDataset Size: 6000 \nOTF (on the fly augmentations): No \nPretrained Model: 003_ATD_SRx4_finetune \nIterations: 180'000 \nBatch Size: 2 \nPatch Size: 48 \nNorm: true \n\nDescription: \nAn atd 4x upscaling model, similiar to the [4xNomos2_hq_dat2](https://github.com/Phhofm/models/releases/tag/4xNomos2_hq_dat2) or [4xNomos2_hq_mosr](https://github.com/Phhofm/models/releases/tag/4xNomos2_hq_mosr) models, trained and for usage on non-degraded input to give good quality output.",
"date": "2024-09-05",
"architecture": "atd",
"size": null,
"scale": 4,
"inputChannels": 3,
"outputChannels": 3,
"resources": [
{
"platform": "pytorch",
"type": "pth",
"size": 81890530,
"sha256": "06e007a70af59c4e3acfbfbd5dca4ed20dfaeadd9857ffca63c8c807a8c40283",
"urls": [
"https://github.com/Phhofm/models/releases/download/4xNomos2_hq_atd/4xNomos2_hq_atd.pth"
]
},
{
"platform": "pytorch",
"type": "safetensors",
"size": 81689540,
"sha256": "0fc5d114b19d1fe3c444e27e87a742f3584fb9bef412339f0c71474e93df39a6",
"urls": [
"https://github.com/Phhofm/models/releases/download/4xNomos2_hq_atd/4xNomos2_hq_atd.safetensors"
]
}
],
"trainingIterations": 180000,
"trainingBatchSize": 2,
"trainingHRSize": 192,
"trainingOTF": false,
"dataset": "nomosv2",
"datasetSize": 6000,
"pretrainedModelG": "4x-003-ATD-SRx4-finetune",
"images": [
{
"type": "paired",
"LR": "https://i.slow.pics/v0AY9pMK.webp",
"SR": "https://i.slow.pics/IiC6UJxW.webp"
},
{
"type": "paired",
"LR": "https://i.slow.pics/7AtECrMv.webp",
"SR": "https://i.slow.pics/ms06gbzQ.webp"
},
{
"type": "paired",
"LR": "https://i.slow.pics/RHQ89ltM.webp",
"SR": "https://i.slow.pics/Xjgl2Lf0.webp"
},
{
"type": "paired",
"LR": "https://i.slow.pics/elPUwwzO.webp",
"SR": "https://i.slow.pics/ubFVzUbe.webp"
},
{
"type": "paired",
"LR": "https://i.slow.pics/tUS50pl7.webp",
"SR": "https://i.slow.pics/tatSlTZZ.webp"
}
]
}
60 changes: 60 additions & 0 deletions data/models/4x-Nomos2-hq-drct-l.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
{
"name": "4xNomos2_hq_drct-l",
"author": "helaman",
"license": "CC-BY-4.0",
"tags": [
"general-upscaler",
"photo"
],
"description": "[Link to Github Release](https://github.com/Phhofm/models/releases/tag/4xNomos2_hq_drct-l)\n\n4xNomos2_hq_drct-l \nScale: 4 \nArchitecture: [DRCT](https://github.com/ming053l/DRCT) \nArchitecture Option: [drct_l](https://github.com/muslll/neosr/blob/dc4e3742132bae2c2aa8e8d16de3a9fcec6b1a74/neosr/archs/drct_arch.py#L937) \n\nAuthor: Philip Hofmann \nLicense: CC-BY-0.4 \nPurpose: Upscaler \nSubject: Photography \nInput Type: Images \nRelease Date: 08.09.2024 \n\nDataset: [nomosv2](https://github.com/muslll/neosr/?tab=readme-ov-file#-datasets) \nDataset Size: 6000 \nOTF (on the fly augmentations): No \nPretrained Model: DRCT-L_X4 \nIterations: 200'000 \nBatch Size: 2 \nPatch Size: 64 \n\nDescription: \nAn drct-l 4x upscaling model, similiar to the [4xNomos2_hq_atd](https://github.com/Phhofm/models/releases/tag/4xNomos2_hq_atd), [4xNomos2_hq_dat2](https://github.com/Phhofm/models/releases/tag/4xNomos2_hq_dat2) and [4xNomos2_hq_mosr](https://github.com/Phhofm/models/releases/tag/4xNomos2_hq_mosr) models, trained and for usage on non-degraded input to give good quality output. \n\nModel Showcase:\n[Slowpics](https://slow.pics/c/1mODuuUS)",
"date": "2024-09-08",
"architecture": "drct",
"size": null,
"scale": 4,
"inputChannels": 3,
"outputChannels": 3,
"resources": [
{
"platform": "pytorch",
"type": "pth",
"size": 242743038,
"sha256": "9f10855fb26dfc2e1c475188d0f16e4692e2e7ca792d46ddf39d75b6ed2326dd",
"urls": [
"https://github.com/Phhofm/models/releases/download/4xNomos2_hq_drct-l/4xNomos2_hq_drct-l.pth"
]
},
{
"platform": "pytorch",
"type": "safetensors",
"size": 242543780,
"sha256": "1a10632101bb2aca6151301dd811921f1c438ff55159fd579fb576c143477797",
"urls": [
"https://github.com/Phhofm/models/releases/download/4xNomos2_hq_drct-l/4xNomos2_hq_drct-l.safetensors"
]
}
],
"trainingIterations": 200000,
"trainingBatchSize": 2,
"trainingHRSize": 256,
"trainingOTF": false,
"dataset": "nomosv2",
"datasetSize": 6000,
"pretrainedModelG": "4x-DRCT-L",
"images": [
{
"type": "paired",
"LR": "https://i.slow.pics/62pgfv2s.webp",
"SR": "https://i.slow.pics/KTaesH50.webp"
},
{
"type": "paired",
"LR": "https://i.slow.pics/UQ7MU0Dy.webp",
"SR": "https://i.slow.pics/s7eIGeNr.webp"
},
{
"type": "paired",
"LR": "https://i.slow.pics/zz8eMuz4.webp",
"SR": "https://i.slow.pics/qtRZt0Hw.webp"
}
]
}
49 changes: 49 additions & 0 deletions data/models/4x-PurePhoto-RealPLSKR.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"name": "4xPurePhoto-RealPLSKR",
"author": "asterixcool",
"license": "CC-BY-SA-4.0",
"tags": [
"ai-generated",
"compression-removal",
"jpeg",
"photo",
"restoration"
],
"description": "Skilled in working with cats, hair, parties, and creating clear images. Also proficient in resizing photos and enlarging large, sharp images. Can effectively improve images from small sizes as well (300px at smallest on one side, depending on the subject). Experienced in experimenting with techniques like upscaling with this model twice and then reducing it by 50% to enhance details, especially in features like hair or animals.",
"date": "2024-09-21",
"architecture": "realplksr",
"size": null,
"scale": 4,
"inputChannels": 3,
"outputChannels": 3,
"resources": [
{
"platform": "pytorch",
"type": "pth",
"size": 29663426,
"sha256": "5913af168a6a1d38d216c91eb60f475d27eeebbd57ff8ed8943fdc7a84d1b250",
"urls": [
"https://github.com/starinspace/StarinspaceUpscale/releases/download/Models/4xPurePhoto-RealPLSKR.pth"
]
}
],
"trainingIterations": 152000,
"trainingBatchSize": 8,
"trainingOTF": false,
"dataset": "8684 handpicked photos",
"datasetSize": 8684,
"images": [
{
"type": "paired",
"caption": "Cat",
"LR": "https://imgsli.com/i/b1c777f5-5e38-4674-9af6-1925ddbddbee.jpg",
"SR": "https://imgsli.com/i/3fe8e25b-20d3-4e6a-932c-45cb5342ff60.jpg"
},
{
"type": "paired",
"caption": "Cow",
"LR": "https://imgsli.com/i/b05e0fdc-7861-48dc-bf0e-a8af14023ac2.jpg",
"SR": "https://imgsli.com/i/056afafe-ffe5-4b2e-b22f-84ba94ce0a41.jpg"
}
]
}
3 changes: 3 additions & 0 deletions data/users.json
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,9 @@
"madiator": {
"name": "Madiator"
},
"ming053l": {
"name": "ming053l"
},
"mitch": {
"name": "mitch#1337"
},
Expand Down

0 comments on commit 84f0c3c

Please sign in to comment.