Giter Club home page Giter Club logo

openjourney-v4-setup's Introduction

Openjourney-v4 Local Setup

About

This is a simplified setup of the Open Journey v4 image generation model available on huggingface. It allows you to start creating AI-generated images on your local machine.

Setup

There's a bit of setup required for this repo so buckle up.

If you don't have brew or python3 installed you're gonna have a bad time. Get that set up before continuing.

Next order of business, you're going to need git-lfs to manage exceedingly large files associated with the OpenJourney repo:

brew install git-lfs

Then run the following commands in this repo's directory to clone the OpenJourney model:

git lfs install
git clone https://huggingface.co/prompthero/openjourney-v4

Fair warning, the files exceed 25GB and will take a while to pull down. If you want to clone without large files and just have reference to their pointers, prepend the git clone with:

GIT_LFS_SKIP_SMUDGE=1

Now you're going to need a few more dependencies to make the magic happen:

# diffusers library
pip3 install diffusers
# pytorch
pip3 install torch

Usage

Once setup is complete, update the prompt in generateImage.py run the following command:

python3 generateImage.py

An image will be created using the OpenJourney-v4 image generation model. Enjoy!

Disclaimer

Please note this setup is geared towards MacBooks with Apple Silicon chips. Performance may vary for other setups

About

If you found this setup tutorial useful or had any issues along the way, feel free to contact me at [email protected] or hit me up on LinkedIn. Also if you create any amusing images please send them my way, I'd love to see them!

openjourney-v4-setup's People

Contributors

stephenscript avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

motifnoticer

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.