generative-models

Generative Models by Stability AI (by Stability-AI)

Generative-models Alternatives

Similar projects and alternatives to generative-models

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better generative-models alternative or higher similarity.

generative-models reviews and mentions

Posts with mentions or reviews of generative-models. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-02-12.
  • Creating Videos with Stable Video Diffusion
    3 projects | dev.to | 12 Feb 2024
    git clone https://github.com/Stability-AI/generative-models.git && cd generative-models
  • Show HN: I have created a free text-to-image website that supports SDXL Turbo
    2 projects | news.ycombinator.com | 17 Dec 2023
  • How To Increase Performance Time on MacOS
    3 projects | /r/StableDiffusion | 10 Dec 2023
  • Introducing Stable Video Diffusion: Stability AI's New AI Research Tool for Image-to-Video Synthesis
    1 project | /r/Linkeesproject | 8 Dec 2023
    Generative Models by Stability AI Github Repository
  • image-to-video tutorial
    1 project | /r/StableDiffusion | 26 Nov 2023
    # clone SD repo !git clone https://github.com/Stability-AI/generative-models.git # cd into working directory # the % sets the pwd globally as usually each command is run in a subshell in google colab %cd /content/generative-models/ # installing dependencies !pip install -r requirements/pt2.txt !pip install . # HACK # I was getting ModuleNotFoundError: No module named 'scripts' # This is what ChatGPT suggested (let me know if there is a better way) file_path = '/content/generative-models/scripts/sampling/simple_video_sample.py' new_text = "import sys\nsys.path.append('/content/generative-models')\n\n" with open(file_path, 'r') as file: original_content = file.read() updated_content = new_text + original_content with open(file_path, 'w') as file: file.write(updated_content) # Need to create a checkpoints/ folder - that is where the system looks for weights import os dir_name = 'checkpoints' if not os.path.exists(dir_name): os.makedirs(dir_name) print(f"Directory '{dir_name}' created") else: print(f"Directory '{dir_name}' already exists") # Download weights into checkpoints/ folder from huggingface_hub import hf_hub_download hf_hub_download(repo_id="stabilityai/stable-video-diffusion-img2vid", filename="svd.safetensors", local_dir="checkpoints", local_dir_use_symlinks=False) # I can't remember if this step is needed but it aims to reduce the memory footprint of pytorch # I kept getting CUDA out of memory # I got these instructions from the out of memory error message os.environ['PYTORCH_CUDA_ALLOC_CONF'] = 'max_split_size_mb:512' print(os.environ['PYTORCH_CUDA_ALLOC_CONF']) # Inside of scripts/sampling/simple_video_sample.py you need to make 2 updates 1. input_path (line 26): update to the location of your file (I attached Gdrive so mine was "/content/drive/MyDrive/examples/car.jpeg" 2. decoding_t (line 34): update it to 5. you need to do this for memory preservation (CUDA out of memory). I'm not sure if 5 is the best value but it worked for me # Finally generate the video (output will be in the outputs/ folder) !python scripts/sampling/simple_video_sample.py
  • Stable Video Diffusion
    6 projects | news.ycombinator.com | 21 Nov 2023
    It looks like the huggingface page links their github that seems to have python scripts to run these: https://github.com/Stability-AI/generative-models
  • GitHub - Stability-AI/generative-models: Generative Models by Stability AI
    1 project | /r/cryptogeum | 4 Nov 2023
  • How does ComfyUI load SDXL 1.0 so VRAM-efficiently? How do I do the same in vanilla python code?
    1 project | /r/StableDiffusion | 18 Aug 2023
    However, when using the example code from HuggingFace or setting up stuff from the StabilityAI/generative-models repo in a jupyter notebook, I end up using 21 GB of VRAM just for running the default pipeline (with no base model output). If I try to run the extra `base.vae.decode(base_latents)` after generation to get unrefined outputs, I get a CUDA out of memory error as it blows past the 24GB of my NVIDIA RTX 3090.
  • SDXL 1.0 is out!
    1 project | /r/StableDiffusion | 28 Jul 2023
  • SDXL 0.9 Anyone having luck NOT centering subjects?
    1 project | /r/StableDiffusion | 10 Jul 2023
    SDXL uses cropping information as part of the conditioning. Images were randomly cropped during training and the coordinates of the crop were included as two integers at the end of the conditioning vector. If you're using ComfyUI you can use the CLIPTextEncodeSDXL node to specify where the upper left corner of the image should appear to be in relation to some hypothetical uncropped image. Here's a figure with examples from the report on SDXL:
  • A note from our sponsor - SaaSHub
    www.saashub.com | 30 Apr 2024
    SaaSHub helps you find the best software and product alternatives Learn more →

Stats

Basic generative-models repo stats
21
22,313
7.3
11 days ago

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com