logasja commited on
Commit
ae140fc
·
verified ·
1 Parent(s): d6b9125

Save model using Keras.

Browse files
Files changed (4) hide show
  1. README.md +9 -103
  2. assets/summary_plot.png +2 -2
  3. config.json +0 -0
  4. metadata.json +1 -1
README.md CHANGED
@@ -1,111 +1,17 @@
 
1
  ---
2
  library_name: keras
3
- widget:
4
- - text: input
5
- output:
6
- url: ./assets/input.png
7
- - text: target
8
- output:
9
- url: ./assets/target.png
10
- - text: output
11
- output:
12
- url: ./assets/output.png
13
- tags:
14
- - adversarial
15
- - aesthetic
16
- - quality
17
- - filter
18
- metrics:
19
- - TopIQ-FR
20
- - ArcFace Cosine Distance
21
- license: gpl-3.0
22
- base_model:
23
- - vnet
24
- - logasja/ArcFace
25
- pipeline_tag: image-to-image
26
- datasets:
27
- - logasja/FDF
28
  ---
29
- <Gallery />
30
-
31
- Training logs [here](https://wandb.ai/spuds/auramask/runs/c6b4dca9b7481325c2e23ef759c8bd74)
32
 
33
- # Model Description
34
- This model uses a modified vnet for 2D input/output implemented [here](https://github.com/logasja/keras3-unets) with the following configuration.
35
 
36
- ```json
37
- {
38
- "activation": "ReLU",
39
- "batch_norm": false,
40
- "filter_num": [
41
- 64,
42
- 128,
43
- 256,
44
- 512,
45
- 512
46
- ],
47
- "n_labels": 3,
48
- "output_activation": "tanh",
49
- "pool": false,
50
- "res_num_ini": 1,
51
- "res_num_max": 3,
52
- "unpool": false
53
- }
54
- ```
55
 
56
- ```json
57
- {
58
- "alpha": 0.0001,
59
- "batch": 64,
60
- "epochs": 500,
61
- "epsilon": 1,
62
- "input": "(256, 256)",
63
- "losses": {
64
- "FEAT_ArcFace": {
65
- "d": "cosine_similarity",
66
- "f": "ArcFace",
67
- "name": "FEAT_ArcFace",
68
- "reduction": "sum_over_batch_size",
69
- "threshold": 0.68,
70
- "weight": 0.1
71
- },
72
- "TopIQ": {
73
- "full_ref": true,
74
- "lower_better": false,
75
- "name": "TopIQ",
76
- "reduction": "sum_over_batch_size",
77
- "score_range": "~0, ~1",
78
- "weight": 0.9
79
- },
80
- "mean_squared_error": {
81
- "name": "mean_squared_error",
82
- "reduction": "sum_over_batch_size",
83
- "weight": 0.1
84
- }
85
- },
86
- "mixed_precision": true,
87
- "optimizer": {
88
- "amsgrad": false,
89
- "beta_1": 0.9,
90
- "beta_2": 0.999,
91
- "clipnorm": null,
92
- "clipvalue": null,
93
- "ema_momentum": 0.99,
94
- "ema_overwrite_frequency": null,
95
- "epsilon": 1e-07,
96
- "global_clipnorm": null,
97
- "gradient_accumulation_steps": null,
98
- "learning_rate": 9.999999747378752e-05,
99
- "loss_scale_factor": null,
100
- "name": "adamw",
101
- "use_ema": false,
102
- "weight_decay": 0.004
103
- },
104
- "seed": "BIIIIIGSTRETCH",
105
- "testing": 0.01,
106
- "training": 0.99
107
- }
108
- ```
109
 
110
- ## Model Architecture Plot
111
  ![](./assets/summary_plot.png)
 
1
+
2
  ---
3
  library_name: keras
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
  ---
 
 
 
5
 
6
+ This model has been uploaded using the Keras library and can be used with JAX,
7
+ TensorFlow, and PyTorch backends.
8
 
9
+ This model card has been generated automatically and should be completed by the
10
+ model author.
11
+ See [Model Cards documentation](https://huggingface.co/docs/hub/model-cards) for
12
+ more information.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
13
 
14
+ For more details about the model architecture, check out
15
+ [config.json](./config.json).
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16
 
 
17
  ![](./assets/summary_plot.png)
assets/summary_plot.png CHANGED

Git LFS Details

  • SHA256: 42e25365509bcf144fc382e54c206c6d215ada9d29f6f4162d06ea940e13e1b7
  • Pointer size: 132 Bytes
  • Size of remote file: 2.16 MB

Git LFS Details

  • SHA256: 6bf0b6ee04c26976fcdec1075e82de19f322523fca2354cc9563ed25706f8dcd
  • Pointer size: 131 Bytes
  • Size of remote file: 277 kB
config.json CHANGED
The diff for this file is too large to render. See raw diff
 
metadata.json CHANGED
@@ -1 +1 @@
1
- {"keras_version": "3.8.0", "date_saved": "2025-02-20@15:13:16"}
 
1
+ {"keras_version": "3.8.0", "date_saved": "2025-02-20@15:14:40"}