Skip to content

Error Trying to use img2img

Not downloaded yet

I created a batch with this code:

"call C:\ProgramData\Anaconda3\Scripts\activate.bat ldm

set /P id=Enter Prompt And Options :

python "scripts\img2img.py" --ckpt "model 1.3.ckpt" --config "configs\stable-diffusion\v1-inference.yaml" %id%

cmd /k"

and then i use this prompt:

"--prompt "more trees" --n_samples 1 --n_rows 1 --ddim_steps 50 --n_iter 1 --init-img ./init/imageninicial.png --strength 0.5"

I don't really know how to solve the error, i'm using a rtx 3060 with 12Gb of VRam, so i suppose it should be able to handle it, the input image its a png with 512x512px

​

https://preview.redd.it/1yo9zf6nq4k91.png?width=1992&format=png&auto=webp&s=a21e03420c82c6b10770f227442c382e23397dea

2 points1 comments
Open on Reddit
About this post
Posted
Archived
Score
2 · 100% up
Kind
Image
ID
wyleu4

Author

2
posts
2
comments
2
media
View profile

1 comment

Try a reinstall from scratch using a different tutorial and make sure you have the right model. That error isn't about Vram, it's a weird internal bug.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.