AlonzoLeeeooo's picture
Update README.md
2cd309b verified
|
raw
history blame
1.43 kB
---
license: mit
---
<div align="center">
# Re-implementation of ControlNet with Shape Masks
[[`GitHub`]](https://github.com/AlonzoLeeeooo/shape-guided-controlnet) / [[`Dataset`]](https://huggingface.co/datasets/AlonzoLeeeooo/COCO2014-train-u2net-masks)
</div>
A re-implementation of ControlNet with shape masks.
# Model Weights Structure
```
shape-guided-controlnet/
└── annotators <----- Model weights of the shape mask annotator (`U2-Net`)
└── u2net.pth
└── shape-guided-controlnet <----- Model weights of the trained ControlNet with shape masks
β”œβ”€β”€ config.json
└── diffusion_pytorch_model.safetensors
└── stable-diffusion-v1.5 <----- Model weights of Stable Diffusion v1.5
β”œβ”€β”€ feature_extractor
β”œβ”€β”€ scheduler
β”œβ”€β”€ text_encoder
β”œβ”€β”€ tokenizer
β”œβ”€β”€ unet
β”œβ”€β”€ vae
β”œβ”€β”€ model_index.json
β”œβ”€β”€ v1-5-pruned.safetensors
└── v1-inference.yaml
```
# Results
Here are some example results generated by the trained model:
1. "A red bag"
<div align="center">
<img src="assets/bag_total.png" alt="Bag" width="500" />
</div>
2. "A sport car"
<div align="center">
<img src="assets/sport_car_total.png" alt="Sport Car" width="500" />
</div>
3. "A blue truck"
<div align="center">
<img src="assets/truck_total.png" alt="Truck" width="500" />
</div>