Downloads · 30 days
2
1% of all-time downloads
majid230/Realistic_Vision_V2.0
Realistic_Vision_V2.0 is a text-to-image model from majid230. Use it when you need an image from a text prompt. It is set up for diffusers. The card lists the license as cc-by-nd-4.0.
This repository contains a fine-tuned version of the Realistic Vision V2.0 model, a powerful variant of the Stable Diffusion model, tailored for generating high-quality, realistic images from text prompts. The fine-tu…
Downloads · 30 days
2
1% of all-time downloads
All-time downloads
372
Public
Parameters
860M
4.3 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors4.3 GB · 100%
From the Hugging Face model README
This repository contains a fine-tuned version of the Realistic Vision V2.0 model, a powerful variant of the Stable Diffusion model, tailored for generating high-quality, realistic images from text prompts. The fine-tuning process was conducted on a custom dataset to improve the model's performance in specific domains.
The fine-tuned model is available on Hugging Face and can be easily accessed and utilized:
First, install the necessary libraries:
pip install torch torchvision diffusers accelerate huggingface_hub
from diffusers import StableDiffusionPipeline import torch
model_id = "majid230/Realistic_Vision_V2.0"
pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float32)
pipe = pipe.to("cuda" if torch.cuda.is_available() else "cpu")
prompt = "A futuristic cityscape at sunset"
image = pipe(prompt, num_inference_steps=50, guidance_scale=7.5).images[0]
image.save("generated_image.png")
image.show()
num_inference_steps: Adjust this parameter to control the number of steps the model takes during image generation. More steps typically yield higher-quality images. guidance_scale: Modify this to control how closely the generated image follows the prompt. Higher values make the image more prompt-specific, while lower values allow for more creative interpretations.
This project was generously supported and provided by Machine Learning 1 Pvt Ltd. The fine-tuning and further development were carried out by Majid Hanif.