mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Merge branch 'main' of https://github.com/BaristaLabs/stable-diffusion-dream into add-simple-variant-mechanism
This commit is contained in:
commit
feea5fb063
2
.gitignore
vendored
2
.gitignore
vendored
@ -169,7 +169,7 @@ cython_debug/
|
|||||||
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
|
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
|
||||||
#.idea/
|
#.idea/
|
||||||
|
|
||||||
src/
|
src
|
||||||
logs/
|
logs/
|
||||||
**/__pycache__/
|
**/__pycache__/
|
||||||
outputs
|
outputs
|
||||||
|
13
.gitmodules
vendored
Normal file
13
.gitmodules
vendored
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
[submodule "taming-transformers"]
|
||||||
|
path = src/taming-transformers
|
||||||
|
url = https://github.com/CompVis/taming-transformers.git
|
||||||
|
ignore = dirty
|
||||||
|
[submodule "clip"]
|
||||||
|
path = src/clip
|
||||||
|
url = https://github.com/openai/CLIP.git
|
||||||
|
ignore = dirty
|
||||||
|
[submodule "k-diffusion"]
|
||||||
|
path = src/k-diffusion
|
||||||
|
url = https://github.com/lstein/k-diffusion.git
|
||||||
|
ignore = dirty
|
||||||
|
|
@ -68,6 +68,7 @@ from contextlib import contextmanager, nullcontext
|
|||||||
import time
|
import time
|
||||||
import math
|
import math
|
||||||
import re
|
import re
|
||||||
|
import traceback
|
||||||
|
|
||||||
from ldm.util import instantiate_from_config
|
from ldm.util import instantiate_from_config
|
||||||
from ldm.models.diffusion.ddim import DDIMSampler
|
from ldm.models.diffusion.ddim import DDIMSampler
|
||||||
@ -416,7 +417,8 @@ The vast majority of these arguments default to reasonable values.
|
|||||||
print('*interrupted*')
|
print('*interrupted*')
|
||||||
print('Partial results will be returned; if --grid was requested, nothing will be returned.')
|
print('Partial results will be returned; if --grid was requested, nothing will be returned.')
|
||||||
except RuntimeError as e:
|
except RuntimeError as e:
|
||||||
print(str(e))
|
print("Oops! A runtime error has occurred. If this is unexpected, please copy-and-paste this stack trace and post it as an Issue to http://github.com/lstein/stable-diffusion")
|
||||||
|
traceback.print_exc()
|
||||||
|
|
||||||
toc = time.time()
|
toc = time.time()
|
||||||
print(f'{image_count} images generated in',"%4.2fs"% (toc-tic))
|
print(f'{image_count} images generated in',"%4.2fs"% (toc-tic))
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
accelerate==0.12.0
|
accelerate==0.12.0
|
||||||
albumentations==0.4.3
|
albumentations==0.4.3
|
||||||
clip==1.0
|
|
||||||
einops==0.3.0
|
einops==0.3.0
|
||||||
huggingface-hub==0.8.1
|
huggingface-hub==0.8.1
|
||||||
imageio==2.9.0
|
imageio==2.9.0
|
||||||
|
@ -81,7 +81,6 @@ def main():
|
|||||||
exit(-1)
|
exit(-1)
|
||||||
|
|
||||||
# preload the model
|
# preload the model
|
||||||
if not debugging:
|
|
||||||
t2i.load_model()
|
t2i.load_model()
|
||||||
print("\n* Initialization done! Awaiting your command (-h for help, 'q' to quit, 'cd' to change output dir, 'pwd' to print output dir)...")
|
print("\n* Initialization done! Awaiting your command (-h for help, 'q' to quit, 'cd' to change output dir, 'pwd' to print output dir)...")
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user