logasja commited on
Commit
f79e334
·
verified ·
1 Parent(s): c5cf85a

Save model using Keras.

Browse files
Files changed (3) hide show
  1. README.md +9 -97
  2. assets/summary_plot.png +2 -2
  3. metadata.json +1 -1
README.md CHANGED
@@ -1,105 +1,17 @@
 
1
  ---
2
  library_name: keras
3
- base_model:
4
- - vnet
5
- - logasja/ArcFace
6
- metrics:
7
- - TopIQ-FR
8
- - ArcFace Cosine Distance
9
- datasets:
10
- - logasja/FDF
11
- pipeline_tag: image-to-image
12
- tags:
13
- - adversarial
14
- - aesthetic
15
- - quality
16
- - filter
17
- widget:
18
- - text: input
19
- output:
20
- url: ./assets/input.png
21
- - text: target
22
- output:
23
- url: ./assets/target.png
24
- - text: output
25
- output:
26
- url: ./assets/output.png
27
  ---
28
- <Gallery />
29
-
30
- Training logs [here](https://wandb.ai/spuds/auramask/runs/3f6d7763ef2e828a5edc870d2ae6e3ff)
31
 
32
- # Model Description
33
- This model uses a modified vnet for 2D input/output implemented [here](https://github.com/logasja/keras3-unets) with the following configuration.
34
 
35
- ```json
36
- {
37
- "activation": "ReLU",
38
- "batch_norm": false,
39
- "filter_num": [
40
- 64,
41
- 128,
42
- 256,
43
- 512,
44
- 512
45
- ],
46
- "n_labels": 3,
47
- "output_activation": "tanh",
48
- "pool": true,
49
- "res_num_ini": 1,
50
- "res_num_max": 3,
51
- "unpool": false
52
- }
53
- ```
54
 
55
- ```json
56
- {
57
- "alpha": 0.0001,
58
- "batch": 64,
59
- "epochs": 500,
60
- "epsilon": 1,
61
- "input": "(256, 256)",
62
- "losses": {
63
- "FEAT_ArcFace": {
64
- "d": "cosine_similarity",
65
- "f": "ArcFace",
66
- "name": "FEAT_ArcFace",
67
- "reduction": "sum_over_batch_size",
68
- "threshold": 0.68,
69
- "weight": 0.1
70
- },
71
- "TopIQ": {
72
- "full_ref": true,
73
- "lower_better": false,
74
- "name": "TopIQ",
75
- "reduction": "sum_over_batch_size",
76
- "score_range": "~0, ~1",
77
- "weight": 1
78
- }
79
- },
80
- "mixed_precision": true,
81
- "optimizer": {
82
- "amsgrad": false,
83
- "beta_1": 0.9,
84
- "beta_2": 0.999,
85
- "clipnorm": 1,
86
- "clipvalue": null,
87
- "ema_momentum": 0.99,
88
- "ema_overwrite_frequency": null,
89
- "epsilon": 1e-07,
90
- "global_clipnorm": null,
91
- "gradient_accumulation_steps": null,
92
- "learning_rate": 9.999999747378752e-05,
93
- "loss_scale_factor": null,
94
- "name": "adam",
95
- "use_ema": false,
96
- "weight_decay": null
97
- },
98
- "seed": "BIIIIIGSTRETCH",
99
- "testing": 0.01,
100
- "training": 0.99
101
- }
102
- ```
103
 
104
- ## Model Architecture Plot
105
  ![](./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: d496438b5712d1da3d883aa6922352fccb346d025f72d5d8be948055616eca01
  • Pointer size: 132 Bytes
  • Size of remote file: 2.27 MB

Git LFS Details

  • SHA256: a77caee1b4417f8f2ef9cd3fcfe89b4012713532f8383c0c4b5db47646c1cbc0
  • Pointer size: 131 Bytes
  • Size of remote file: 276 kB
metadata.json CHANGED
@@ -1 +1 @@
1
- {"keras_version": "3.8.0", "date_saved": "2025-02-17@18:09:23"}
 
1
+ {"keras_version": "3.8.0", "date_saved": "2025-02-17@18:10:45"}