Push model using huggingface_hub.
Browse files- README.md +12 -0
- config.json +30 -0
- model.safetensors +3 -0
README.md
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
pipeline_tag: image-to-image
|
| 4 |
+
tags:
|
| 5 |
+
- model_hub_mixin
|
| 6 |
+
- pytorch_model_hub_mixin
|
| 7 |
+
---
|
| 8 |
+
|
| 9 |
+
This model has been pushed to the Hub using the [PytorchModelHubMixin](https://huggingface.co/docs/huggingface_hub/package_reference/mixins#huggingface_hub.PyTorchModelHubMixin) integration:
|
| 10 |
+
- Code: https://github.com/KhoiDOO/vitvqganvae
|
| 11 |
+
- Paper: [More Information Needed]
|
| 12 |
+
- Docs: https://github.com/KhoiDOO/vitvqganvae
|
config.json
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"codebook_size": 512,
|
| 3 |
+
"conv_type": "conv1d",
|
| 4 |
+
"dec_act_func": "GLU",
|
| 5 |
+
"dec_act_kwargs": {
|
| 6 |
+
"dim": 1
|
| 7 |
+
},
|
| 8 |
+
"dim": 128,
|
| 9 |
+
"enc_act_func": "LeakyReLU",
|
| 10 |
+
"enc_act_kwargs": {
|
| 11 |
+
"negative_slope": 0.1
|
| 12 |
+
},
|
| 13 |
+
"first_conv_kernel_size": 5,
|
| 14 |
+
"group": 8,
|
| 15 |
+
"in_channel": 3,
|
| 16 |
+
"l2_recon_loss": true,
|
| 17 |
+
"layer_mults": null,
|
| 18 |
+
"layers": 2,
|
| 19 |
+
"num_res_blocks": 1,
|
| 20 |
+
"out_channel": 3,
|
| 21 |
+
"quantizer": "VectorQuantize",
|
| 22 |
+
"quantizer_kwargs": {
|
| 23 |
+
"codebook_dim": 64,
|
| 24 |
+
"commitment_weight": 0.25,
|
| 25 |
+
"decay": 0.99,
|
| 26 |
+
"heads": 8,
|
| 27 |
+
"kmeans_init": true,
|
| 28 |
+
"use_cosine_sim": true
|
| 29 |
+
}
|
| 30 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e7606cb86e6814feaf24b9a68b56d0ac5533832e2d21d3b33b158e79c8aecae4
|
| 3 |
+
size 8164048
|