Upload folder using huggingface_hub
Browse files- vae/README.md +14 -0
- vae/config.json +41 -0
- vae/model.safetensors +3 -0
vae/README.md
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: designet
|
| 3 |
+
tags:
|
| 4 |
+
- font-generation
|
| 5 |
+
- model_hub_mixin
|
| 6 |
+
- pytorch_model_hub_mixin
|
| 7 |
+
- svg
|
| 8 |
+
- vae
|
| 9 |
+
---
|
| 10 |
+
|
| 11 |
+
This model has been pushed to the Hub using the [PytorchModelHubMixin](https://huggingface.co/docs/huggingface_hub/package_reference/mixins#huggingface_hub.PyTorchModelHubMixin) integration:
|
| 12 |
+
- Code: https://github.com/TomasGuija/DesigNet
|
| 13 |
+
- Paper: [More Information Needed]
|
| 14 |
+
- Docs: [More Information Needed]
|
vae/config.json
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_path": "fontia.deepsvg.deepsvg.model.lightning_module.SVG_VAE",
|
| 3 |
+
"_instantiator": "lightning.pytorch.cli.instantiate_module",
|
| 4 |
+
"args_dim": 256,
|
| 5 |
+
"close_paths": true,
|
| 6 |
+
"d_model": 256,
|
| 7 |
+
"dim_feedforward": 512,
|
| 8 |
+
"dim_z": 256,
|
| 9 |
+
"discrete_arguments": false,
|
| 10 |
+
"dropout": 0.1,
|
| 11 |
+
"eval_frequency": 10,
|
| 12 |
+
"hierarchical": true,
|
| 13 |
+
"learning_rate": 0.0001,
|
| 14 |
+
"loss_alignment_weight": 1,
|
| 15 |
+
"loss_args_weight": 12500,
|
| 16 |
+
"loss_aux_weight": 5000,
|
| 17 |
+
"loss_cmd_weight": 1,
|
| 18 |
+
"loss_consistency_weight": 5000,
|
| 19 |
+
"loss_continuity_weight": 1,
|
| 20 |
+
"loss_visibility_weight": 1,
|
| 21 |
+
"max_evaluation_batches": 10,
|
| 22 |
+
"max_num_groups": 4,
|
| 23 |
+
"max_seq_len": 32,
|
| 24 |
+
"max_total_len": 64,
|
| 25 |
+
"n_args": 8,
|
| 26 |
+
"n_commands": 5,
|
| 27 |
+
"n_heads": 8,
|
| 28 |
+
"n_layers": 4,
|
| 29 |
+
"n_layers_decode": 4,
|
| 30 |
+
"normalized_coords": true,
|
| 31 |
+
"num_glyphs": 62,
|
| 32 |
+
"num_groups_proposal": 4,
|
| 33 |
+
"predict_alignment": true,
|
| 34 |
+
"predict_continuity": true,
|
| 35 |
+
"rel_targets": false,
|
| 36 |
+
"train_with_refinement": false,
|
| 37 |
+
"use_aux_points": true,
|
| 38 |
+
"use_letter_encoding": false,
|
| 39 |
+
"use_point_posenc": false,
|
| 40 |
+
"weight_decay": 0.0
|
| 41 |
+
}
|
vae/model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0c20c5985a3d83533c36dd68ec42866d407c5bba760269556e750a23f3ecf7a1
|
| 3 |
+
size 37300604
|