Instructions to use yepengliu/ctrlregen with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use yepengliu/ctrlregen with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("yepengliu/ctrlregen", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -42,9 +42,6 @@ Below are some examples. The left one represents the original image, while the r
|
|
| 42 |
|
| 43 |
<p><img src="https://github.com/user-attachments/assets/93295f22-e264-48ce-afc7-35c59b3256e7" width="500"></p>
|
| 44 |
|
| 45 |
-
## How to train
|
| 46 |
-
|
| 47 |
-
Note: I am still working on this part.
|
| 48 |
|
| 49 |
## Disclaimer
|
| 50 |
This project aims to enhance the robustness of image watermarks. Users are free to leverage this tool to strengthen their watermarking algorithms; however, they must **adhere to local regulations and use it responsibly**. The developers disclaim any liability for potential misuse by users.
|
|
|
|
| 42 |
|
| 43 |
<p><img src="https://github.com/user-attachments/assets/93295f22-e264-48ce-afc7-35c59b3256e7" width="500"></p>
|
| 44 |
|
|
|
|
|
|
|
|
|
|
| 45 |
|
| 46 |
## Disclaimer
|
| 47 |
This project aims to enhance the robustness of image watermarks. Users are free to leverage this tool to strengthen their watermarking algorithms; however, they must **adhere to local regulations and use it responsibly**. The developers disclaim any liability for potential misuse by users.
|