Add files using upload-large-folder tool
Browse files
README.md
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
pipeline_tag: image-to-image
|
| 6 |
+
library_name: pytorch
|
| 7 |
+
tags:
|
| 8 |
+
- pix2pixhd
|
| 9 |
+
- image-translation
|
| 10 |
+
- cityscapes
|
| 11 |
+
- checkpoint
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
# BiliSakura/Pix2PixHD-ckpt
|
| 15 |
+
|
| 16 |
+
Packaged Pix2PixHD checkpoint from `models/raw/Pix2PixHD`.
|
| 17 |
+
|
| 18 |
+
## Variant
|
| 19 |
+
|
| 20 |
+
| Model | Export format | Notes |
|
| 21 |
+
| --- | --- | --- |
|
| 22 |
+
| `cityscapes` | `generator/diffusion_pytorch_model.safetensors` | local-enhancer style generator checkpoint |
|
| 23 |
+
|
| 24 |
+
## Repository layout
|
| 25 |
+
|
| 26 |
+
```text
|
| 27 |
+
Pix2PixHD-ckpt/
|
| 28 |
+
cityscapes/
|
| 29 |
+
generator/
|
| 30 |
+
config.json
|
| 31 |
+
diffusion_pytorch_model.safetensors
|
| 32 |
+
```
|
| 33 |
+
|
| 34 |
+
## Notes
|
| 35 |
+
|
| 36 |
+
- A normalized safetensors export is included under `generator/`.
|
| 37 |
+
- This checkpoint appears to be local-enhancer style (`model1_*` modules), so it is not a strict drop-in for the current `Pix2PixHDGenerator` wrapper.
|
| 38 |
+
|
| 39 |
+
## Citation
|
| 40 |
+
|
| 41 |
+
```bibtex
|
| 42 |
+
@inproceedings{wang2018pix2pixHD,
|
| 43 |
+
title={High-Resolution Image Synthesis and Semantic Manipulation with Conditional GANs},
|
| 44 |
+
author={Wang, Ting-Chun and Liu, Ming-Yu and Zhu, Jun-Yan and Tao, Andrew and Kautz, Jan and Catanzaro, Bryan},
|
| 45 |
+
booktitle={CVPR},
|
| 46 |
+
year={2018}
|
| 47 |
+
}
|
| 48 |
+
```
|
cityscapes/generator/config.json
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "Pix2PixHDGenerator",
|
| 3 |
+
"input_nc": 36,
|
| 4 |
+
"output_nc": 3,
|
| 5 |
+
"ngf": 64,
|
| 6 |
+
"n_downsampling": 4,
|
| 7 |
+
"n_blocks": 9,
|
| 8 |
+
"norm": "instance",
|
| 9 |
+
"source_checkpoint": "latest_net_G.pth"
|
| 10 |
+
}
|
cityscapes/generator/diffusion_pytorch_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f740477201464d0448df284c508d5d6cc2ef44969ff969171452a77b3c7a2de1
|
| 3 |
+
size 731435388
|