Home Artists Posts Import Register

Downloads

Content

Here's a cool trick on how to get unlimited image generation with Midjourney for absolutely free! All you need is a discord account! Try this now! 

Files

Comments

Archlight Àphidac

So you can confirm this is not working anymore? :(

Aitrepreneur

Yeah midjourney changed their rules unfortunately, they don't allow free generation anymore, you need to pay if you want to try it out, which is why Stable diffusion is better now ;)

Anonymous

To everyone who is experiencing issues during installation. 1. Do NOT run as an Administrator, this will install the AI Folder in System32! 2. Do right-click on the .bat file, edit. Press CTRL + A, then return. Do paste this code in: @echo off echo Checking and installing necessary software... REM Check and install Python python --version > NUL 2>&1 if %errorlevel% NEQ 0 ( echo Installing Python 3.10.6... powershell -Command "& {Invoke-WebRequest -Uri 'https://www.python.org/ftp/python/3.10.6/python-3.10.6-amd64.exe' -OutFile 'python-3.10.6-amd64.exe'}" if %errorlevel% NEQ 0 ( echo Failed to download Python installer. exit /b ) start /wait python-3.10.6-amd64.exe /quiet InstallAllUsers=1 PrependPath=1 del python-3.10.6-amd64.exe ) else ( echo Python already installed. ) REM Check and install Git git --version > NUL 2>&1 if %errorlevel% NEQ 0 ( echo Installing Git... powershell -Command "& {Invoke-WebRequest -Uri 'https://github.com/git-for-windows/git/releases/download/v2.41.0.windows.3/Git-2.41.0.3-64-bit.exe' -OutFile 'Git-2.41.0.3-64-bit.exe'}" if %errorlevel% NEQ 0 ( echo Failed to download Git installer. exit /b ) start /wait Git-2.41.0.3-64-bit.exe /VERYSILENT del Git-2.41.0.3-64-bit.exe ) else ( echo Git already installed. ) echo Cloning stable-diffusion-webui repository... git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git if %errorlevel% NEQ 0 ( echo Failed to clone repository. exit /b ) echo Listing the contents of the cloned repository... dir .\\stable-diffusion-webui\\ echo Changing directory to the cloned repository... cd .\\stable-diffusion-webui\\ echo Downloading models... powershell -Command "& {(New-Object System.Net.WebClient).DownloadFile('https://huggingface.co/stabilityai/stable-diffusion-xl-refiner-1.0/resolve/main/sd_xl_refiner_1.0_0.9vae.safetensors', '.\\models\\Stable-diffusion\\sd_xl_refiner_1.0_0.9vae.safetensors')}" if %errorlevel% NEQ 0 ( echo Failed to download models. exit /b ) echo Setup completed successfully! """ Removed redundancy by defining a base directory and using it for all subsequent paths. Organized the commands in a clear sequence for better readability. Used SET to define the base directory and the repository path, making it easier to manage and change in the future. Implemented checks to verify if Python and Git are present on the system. If not found, the script exits with an appropriate message. Added a line to launch a Python script (launch.py) after setting up the environment. It's crucial to have error-handling mechanisms in place, especially when dealing with operations like cloning repositories. Ensuring appropriate permissions on the folders and files is vital to avoid "Access Denied" issues. This can be set manually via the folder properties or by using tools/scripts. Always ensure that necessary Python modules (like fastapi) are installed before executing scripts that rely on them. When dealing with Git, be cautious of file systems that don't record ownership, as this can cause "dubious ownership" errors. This was addressed by setting specific directories as safe. Resolving "Access Denied" in Windows: - File/Folder Permissions: - Right-click on the affected folder or drive. - Choose "Properties" and then the "Security" tab. - Add the necessary user and assign the required permissions. Or / and close the current Command Prompt. Search for "Command Prompt" in the Windows search bar. Right-click and select "Run as administrator". Navigate to your folder and copy/paste git config --global --add safe.directory D:/AI/ Replace the path with your path.

João Reis (edited)

Comment edits

2023-08-25 06:47:31 Hello, I managed to install everything, but i got this error when trying to generate. GPU: GTX1660 - 6GB VRAM *** Error completing request Traceback (most recent call last): File "C:\Users\Jorei\Downloads\stable-diffusion-webui\modules\call_queue.py", line 58, in f res = list(func(*args, **kwargs)) File "C:\Users\Jorei\Downloads\stable-diffusion-webui\modules\call_queue.py", line 37, in f res = func(*args, **kwargs) File "C:\Users\Jorei\Downloads\stable-diffusion-webui\modules\txt2img.py", line 62, in txt2img processed = processing.process_images(p) File "C:\Users\Jorei\Downloads\stable-diffusion-webui\modules\processing.py", line 677, in process_images res = process_images_inner(p) File "C:\Users\Jorei\Downloads\stable-diffusion-webui\modules\processing.py", line 794, in process_images_inner samples_ddim = p.sample(conditioning=p.c, unconditional_conditioning=p.uc, seeds=p.seeds, subseeds=p.subseeds, subseed_strength=p.subseed_strength, prompts=p.prompts) File "C:\Users\Jorei\Downloads\stable-diffusion-webui\modules\processing.py", line 1054, in sample samples = self.sampler.sample(self, x, conditioning, unconditional_conditioning, image_conditioning=self.txt2img_image_conditioning(x)) File "C:\Users\Jorei\Downloads\stable-diffusion-webui\modules\sd_samplers_kdiffusion.py", line 464, in sample samples = self.launch_sampling(steps, lambda: self.func(self.model_wrap_cfg, x, extra_args={ File "C:\Users\Jorei\Downloads\stable-diffusion-webui\modules\sd_samplers_kdiffusion.py", line 303, in launch_sampling return func() File "C:\Users\Jorei\Downloads\stable-diffusion-webui\modules\sd_samplers_kdiffusion.py", line 464, in samples = self.launch_sampling(steps, lambda: self.func(self.model_wrap_cfg, x, extra_args={ File "C:\Users\Jorei\Downloads\stable-diffusion-webui\venv\lib\site-packages\torch\utils\_contextlib.py", line 115, in decorate_context return func(*args, **kwargs) File "C:\Users\Jorei\Downloads\stable-diffusion-webui\repositories\k-diffusion\k_diffusion\sampling.py", line 145, in sample_euler_ancestral denoised = model(x, sigmas[i] * s_in, **extra_args) File "C:\Users\Jorei\Downloads\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\module.py", line 1501, in _call_impl return forward_call(*args, **kwargs) File "C:\Users\Jorei\Downloads\stable-diffusion-webui\modules\sd_samplers_kdiffusion.py", line 215, in forward devices.test_for_nans(x_out, "unet") File "C:\Users\Jorei\Downloads\stable-diffusion-webui\modules\devices.py", line 155, in test_for_nans raise NansException(message) modules.devices.NansException: A tensor with all NaNs was produced in Unet. This could be either because there's not enough precision to represent the picture, or because your video card does not support half type. Try setting the "Upcast cross attention layer to float32" option in Settings > Stable Diffusion or using the --no-half commandline argument to fix this. Use --disable-nan-check commandline argument to disable this check.
2023-08-24 08:27:56

João Reis

I enabled "Upcast cross attention layer to float32" but I get the same error.