Upload folder using huggingface_hub
Browse files- SmartBlur_TextEnhance_Gan.pth +3 -0
- config.json +82 -0
SmartBlur_TextEnhance_Gan.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ac14ab0d0665b515532fff38873fa4d78c5b41d1da4548c88adb9ff686e0b042
|
| 3 |
+
size 7004621
|
config.json
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"generator": {
|
| 3 |
+
"type": "SimpleGenerator",
|
| 4 |
+
"layers": [
|
| 5 |
+
{
|
| 6 |
+
"type": "Conv2d",
|
| 7 |
+
"in_channels": 3,
|
| 8 |
+
"out_channels": 64,
|
| 9 |
+
"kernel_size": 7,
|
| 10 |
+
"stride": 1,
|
| 11 |
+
"padding": 3,
|
| 12 |
+
"bias": false
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "BatchNorm2d",
|
| 16 |
+
"num_features": 64
|
| 17 |
+
},
|
| 18 |
+
{
|
| 19 |
+
"type": "ReLU",
|
| 20 |
+
"inplace": true
|
| 21 |
+
},
|
| 22 |
+
{
|
| 23 |
+
"type": "Conv2d",
|
| 24 |
+
"in_channels": 64,
|
| 25 |
+
"out_channels": 3,
|
| 26 |
+
"kernel_size": 7,
|
| 27 |
+
"stride": 1,
|
| 28 |
+
"padding": 3,
|
| 29 |
+
"bias": false
|
| 30 |
+
},
|
| 31 |
+
{
|
| 32 |
+
"type": "Tanh"
|
| 33 |
+
}
|
| 34 |
+
]
|
| 35 |
+
},
|
| 36 |
+
"discriminator": {
|
| 37 |
+
"type": "Discriminator",
|
| 38 |
+
"layers": [
|
| 39 |
+
{
|
| 40 |
+
"type": "Conv2d",
|
| 41 |
+
"in_channels": 3,
|
| 42 |
+
"out_channels": 64,
|
| 43 |
+
"kernel_size": 4,
|
| 44 |
+
"stride": 2,
|
| 45 |
+
"padding": 1
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"type": "LeakyReLU",
|
| 49 |
+
"negative_slope": 0.2,
|
| 50 |
+
"inplace": true
|
| 51 |
+
},
|
| 52 |
+
{
|
| 53 |
+
"type": "Conv2d",
|
| 54 |
+
"in_channels": 64,
|
| 55 |
+
"out_channels": 128,
|
| 56 |
+
"kernel_size": 4,
|
| 57 |
+
"stride": 2,
|
| 58 |
+
"padding": 1
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"type": "BatchNorm2d",
|
| 62 |
+
"num_features": 128
|
| 63 |
+
},
|
| 64 |
+
{
|
| 65 |
+
"type": "LeakyReLU",
|
| 66 |
+
"negative_slope": 0.2,
|
| 67 |
+
"inplace": true
|
| 68 |
+
},
|
| 69 |
+
{
|
| 70 |
+
"type": "Conv2d",
|
| 71 |
+
"in_channels": 128,
|
| 72 |
+
"out_channels": 1,
|
| 73 |
+
"kernel_size": 4,
|
| 74 |
+
"stride": 1,
|
| 75 |
+
"padding": 0
|
| 76 |
+
},
|
| 77 |
+
{
|
| 78 |
+
"type": "Sigmoid"
|
| 79 |
+
}
|
| 80 |
+
]
|
| 81 |
+
}
|
| 82 |
+
}
|