Instructions to use DipakFaceML/image-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use DipakFaceML/image-model with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("DipakFaceML/image-model", 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
- Local Apps Settings
- Draw Things
- DiffusionBee
Fine-tuned with lambdalabs/naruto-blip-captions
Browse files- unet/config.json +1 -1
- vae/config.json +1 -1
unet/config.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
{
|
| 2 |
"_class_name": "UNet2DConditionModel",
|
| 3 |
"_diffusers_version": "0.37.0",
|
| 4 |
-
"_name_or_path": "/root/.cache/huggingface/hub/models--DipakFaceML--image-model/snapshots/
|
| 5 |
"act_fn": "silu",
|
| 6 |
"addition_embed_type": null,
|
| 7 |
"addition_embed_type_num_heads": 64,
|
|
|
|
| 1 |
{
|
| 2 |
"_class_name": "UNet2DConditionModel",
|
| 3 |
"_diffusers_version": "0.37.0",
|
| 4 |
+
"_name_or_path": "/root/.cache/huggingface/hub/models--DipakFaceML--image-model/snapshots/08d0b33ced2c11be155df628996881d380335a42/unet",
|
| 5 |
"act_fn": "silu",
|
| 6 |
"addition_embed_type": null,
|
| 7 |
"addition_embed_type_num_heads": 64,
|
vae/config.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
{
|
| 2 |
"_class_name": "AutoencoderKL",
|
| 3 |
"_diffusers_version": "0.37.0",
|
| 4 |
-
"_name_or_path": "/root/.cache/huggingface/hub/models--DipakFaceML--image-model/snapshots/
|
| 5 |
"act_fn": "silu",
|
| 6 |
"block_out_channels": [
|
| 7 |
128,
|
|
|
|
| 1 |
{
|
| 2 |
"_class_name": "AutoencoderKL",
|
| 3 |
"_diffusers_version": "0.37.0",
|
| 4 |
+
"_name_or_path": "/root/.cache/huggingface/hub/models--DipakFaceML--image-model/snapshots/08d0b33ced2c11be155df628996881d380335a42/vae",
|
| 5 |
"act_fn": "silu",
|
| 6 |
"block_out_channels": [
|
| 7 |
128,
|