Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Instructions for newbs #1

Closed
That-Dude opened this issue Aug 16, 2023 · 9 comments
Closed

Instructions for newbs #1

That-Dude opened this issue Aug 16, 2023 · 9 comments

Comments

@That-Dude
Copy link

I'm sure this is NOT the best approach but this worked for me on Windows.

Assuming you already have the original Fooocus 7z file downloaded, installed and working.

Close Fooocus if its running.
cd into the parent folder that contains Foooccus / python-embeded / run.bat
git clone https://github.com/MoonRide303/Fooocus.git Fooocus-MoonRide

duplicate run.bat to run-moonride.bat

Copy (or move) your models folder from Fooocus/models to Fooocus-MoonRide/models

edit run-moonride.bat and change Fooocus to Fooocus-MoonRide

double click the run-moonride.bat

@MoonRide303
Copy link
Owner

@That-Dude To be honest I simply use python .\launch.py from Anaconda PowerShell launched in main Fooocus directory - worked fine for the original Fooocus repository, and works for this little fork of mine, too :).

@That-Dude
Copy link
Author

@That-Dude To be honest I simply use python .\launch.py from Anaconda PowerShell launched in main Fooocus directory - worked fine for the original Fooocus repository, and works for this little fork of mine, too :).

...Googles Anaconda PowerShell :-)

@MoonRide303
Copy link
Owner

MoonRide303 commented Aug 16, 2023

@That-Dude To be honest I simply use python .\launch.py from Anaconda PowerShell launched in main Fooocus directory - worked fine for the original Fooocus repository, and works for this little fork of mine, too :).

...Googles Anaconda PowerShell :-)

If you already have working Python environment, then don't bother - Anaconda is Python distribution popular among data scientists, but it has its own quirks (managing depencies using conda can be pain in the back, for example). What I really meant is that I simply use python to execute launch.py, and it works fine. I didn't even download Fooocus archive, just the repo from the github - I already had SDXL model files, so I hardlinked them to proper Fooocus directories, and that was all :).

@barepixels
Copy link

barepixels commented Aug 17, 2023

Forgot to thank That-Dude His instruction save me some hairs

@aimarxjg
Copy link

aimarxjg commented Aug 21, 2023

@That-Dude To be honest I simply use python .\launch.py from Anaconda PowerShell launched in main Fooocus directory - worked fine for the original Fooocus repository, and works for this little fork of mine, too :).

Hello, my first contact with FOC saw your modified version, and I especially like it. I don't know how to start it (I saw the novice tutorial, but I don't understand Anaconda PowerShell at all). I decompressed the downloaded compressed file and replaced the original FOC. It can also work. Now I have a few questions for you to answer, thank you
1 Does it affect the use of such replacement files? For example, some settings are missing? Do two versions have to coexist?
2 I will replace it and run it again. Is it automatically updated? Is it the original FOC or your modified version?
3 Is the version of the replacement file unavailable after the update? For example, change back to the original FOC?

@MoonRide303
Copy link
Owner

MoonRide303 commented Aug 21, 2023

@aimarxjg I am planning to prepare standalone package for Fooocus MRE, similar to vanilla Fooocus - it will be easier to use for less experienced users, then. Should be ready within next couple of days.

In general it's safe to use both version from same folder. Personally I switch between versions using git - you can add new remote repository like that:

git remote add moonride https://github.com/MoonRide303/Fooocus-MRE.git

then you fetch information from it:

git fetch moonride

and then you can just switch between different branches from different remote repositories. Switching to Fooocus MRE:

git checkout moonride-main

and getting back to vanilla:

git checkout main

Changes in files that are not tracked by git are ignored.

This was referenced Aug 21, 2023
@MoonRide303
Copy link
Owner

@aimarxjg I've prepared standalone package for Fooocus-MRE, you can download it from here : Fooocus-MRE-v1.0.40.7z. Please let me know, if it works for you.

@aimarxjg
Copy link

@aimarxjg I've prepared standalone package for Fooocus-MRE, you can download it from here : Fooocus-MRE-v1.0.40.7z. Please let me know, if it works for you.

Thank you for informing me. Thank you. Thank you. Thank you~

@MoonRide303
Copy link
Owner

Should be easy enough to use even for people who never touched git, Python and pip - you can just download the archive, and run the .bat. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants