Downloads · 30 days
0
GeroldMeisinger/controlnet-channels
controlnet-channels is a machine learning model from GeroldMeisinger. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as cc-by-nc-sa-4.0.
Downloads · 30 days
0
Access
Public
Updated Oct 25, 2023
Repo size
749 MB
Likes
1
Public
Click a slice to open those files.
.safetensors723 MB · 97%
From the Hugging Face model README
Restore missing RGB channels
Restore a missing channel of a RGB image by using ControlNet to guide image generation of Stable Diffusion to infer missing channel from the other two channels.
accelerate launch train_controlnet.py \
--pretrained_model_name_or_path="runwayml/stable-diffusion-v1-5" \
--train_batch_size=4 \
--gradient_accumulation_steps=8 \
--proportion_empty_prompts=0.5
--mixed_precision="fp16" \
--learning_rate=1e-5 \
--enable_xformers_memory_efficient_attention \
--use_8bit_adam \
--set_grads_to_none \
--seed=0 \
--num_train_epochs=2
fastdup default settings