Giter VIP home page Giter VIP logo

dream-textures's Introduction

Dream Textures, subtitle: Stable Diffusion built-in to Blender

Latest Release Join the Discord Total Downloads Buy on Blender Market

  • Create textures, concept art, background assets, and more with a simple text prompt
  • Use the 'Seamless' option to create textures that tile perfectly with no visible seam
  • Texture entire scenes with 'Project Dream Texture' and depth to image
  • Re-style animations with the Cycles render pass
  • Run the models on your machine to iterate without slowdowns from a service

Installation

Download the latest release and follow the instructions there to get up and running.

On macOS, it is possible you will run into a quarantine issue with the dependencies. To work around this, run the following command in the app Terminal: xattr -r -d com.apple.quarantine ~/Library/Application\ Support/Blender/3.3/scripts/addons/dream_textures/.python_dependencies. This will allow the PyTorch .dylibs and .sos to load without having to manually allow each one in System Preferences.

If you want a visual guide to installation, see this video tutorial from Ashlee Martino-Tarr: https://youtu.be/kEcr8cNmqZk

Ensure you always install the latest version of the add-on if any guides become out of date.

Usage

Here's a few quick guides:

Setup instructions for various platforms and configurations.

Create textures, concept art, and more with text prompts. Learn how to use the various configuration options to get exactly what you're looking for.

A graphic showing each step of the image generation process

Texture entire models and scenes with depth to image.

A graphic showing each step of the texture projection process

Inpaint to fix up images and convert existing textures into seamless ones automatically.

Outpaint to increase the size of an image by extending it in any direction.

A graphic showing each step of the outpainting process

Use the Dream Textures node system to create complex effects.

A graphic showing each frame of a render, split with the scene and generated result

Upscale your low-res generations 4x.

A graphic showing each step of the upscaling process

Recall, export, and import history entries for later use.

Compatibility

Dream Textures has been tested with CUDA and Apple Silicon GPUs. Over 4GB of VRAM is recommended.

If you have an issue with a supported GPU, please create an issue.

Cloud Processing

If your hardware is unsupported, you can use DreamStudio to process in the cloud. Follow the instructions in the release notes to setup with DreamStudio.

Contributing

For detailed instructions on installing from source, see the guide on setting up a development environment.

Troubleshooting

If you are experiencing trouble getting Dream Textures running, check Blender's system console (in the top left under the "Window" dropdown next to "File" and "Edit") for any error messages. Then search in the issues list with your error message and symptoms.

Note On macOS there is no option to open the system console. Instead, you can get logs by opening the app Terminal, entering the command /Applications/Blender.app/Contents/MacOS/Blender and pressing the Enter key. This will launch Blender and any error messages will show up in the Terminal app.

A screenshot of the "Window" > "Toggle System Console" menu action in Blender

Features and feedback are also accepted on the issues page. If you have any issues that aren't listed, feel free to add them there!

The Dream Textures Discord server also has a common issues list and strong community of helpful people, so feel free to come by for some help there as well.

dream-textures's People

Contributors

blastframe avatar carson-katri avatar cornpo avatar dekker3d avatar eltociear avatar gottfriedhofmann avatar gregnr avatar jasonhoku avatar nullsensestudio avatar playerla avatar timmyl17 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dream-textures's Issues

Generation fails if no Material is active

follow the instruction and windows longpathenable fix. it seems all installed.
I remember there were some yellow warning about something about windows PATH in blender install directory, I use portable version of blender 3.3LTS, but in the end, it did give a 'Success'.
when I enter something like "brick" and run it. a few second later, vram went up reaching 3GB in my rtx2060 6GB. then nothing, GPU has 0% activity.
where did it go wrong?

DEBUG:dream_textures.async_loop:Starting asyncio loop
DEBUG:dream_textures.async_loop:Result of starting modal operator is {'RUNNING_MODAL'}
>> Loading model from C:\Users\Learn\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\dream_textures\stable_diffusion/models/ldm/stable-diffusion-v1/model.ckpt
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
making attention of type 'vanilla' with 512 in_channels
Working with z of shape (1, 4, 32, 32) = 4096 dimensions.
making attention of type 'vanilla' with 512 in_channels
>> Using half precision math. Call with --full_precision to use more accurate but VRAM-intensive full precision.
>> Model loaded in 12.09s
>> Max VRAM used to load the model: 2.17G
>> Current VRAM usage:2.17G
>> Setting Sampler to k_lms
ERROR:asyncio:Task exception was never retrieved
future: <Task finished name='Task-1' coro=<DreamTexture.dream_texture() done, defined at C:\Users\Learn\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\dream_textures\operators\dream_texture.py:105> exception=AttributeError("'NoneType' object has no attribute 'node_tree'")>
Traceback (most recent call last):
  File "C:\Users\Learn\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\dream_textures\operators\dream_texture.py", line 138, in dream_texture
    node_tree = context.material.node_tree if hasattr(context, 'material') else None
AttributeError: 'NoneType' object has no attribute 'node_tree'
C:\Users\Learn\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\dream_textures\async_loop.py:62: DeprecationWarning: There is no current event loop
  loop = asyncio.get_event_loop()
DEBUG:dream_textures.async_loop:no more scheduled tasks, stopping after this kick.
DEBUG:dream_textures.async_loop.AsyncLoopModalOperator:Stopped asyncio loop kicking

Packaging dependencies

In Thearoy just packaging the dependencies as folders in the addonroot should get rid of the requirement of admon perms....

I keep getting this error no matter what

Not sure what i did I just followed the steps the best i could

This is the error:
ERROR: No .egg-info directory found in C:\Users\Ashtin\AppData\Local\Temp\pip-pip-egg-info-9igt2e_l WARNING: You are using pip version 21.2.4; however, version 22.2.2 is available. You should consider upgrading via the 'C:\Program Files\Blender Foundation\Blender 3.3\3.3\python\bin\python.EXE -m pip install --upgrade pip' command.

error installing dependencies on windows

windows 10. Blender 3.2.1 ran as administrator from windows explorer with right-click.
`
Collecting k-diffusion
Cloning https://github.com/lstein/k-diffusion.git (to revision master) to c:\users\nkauf\appdata\local\temp\pip-install-xbdqugbe\k-diffusion_32dd955250f04eecbefc0143af56f330
Running command git clone -q https://github.com/lstein/k-diffusion.git 'C:\Users\nkauf\AppData\Local\Temp\pip-install-xbdqugbe\k-diffusion_32dd955250f04eecbefc0143af56f330'
Resolved https://github.com/lstein/k-diffusion.git to commit ef1bf07627c9a10ba9137e68a0206b844544a7d9
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing wheel metadata ... done
Obtaining file:///C:/Users/nkauf/AppData/Roaming/Blender%20Foundation/Blender/3.2/scripts/addons/dream_textures/stable_diffusion (from -r C:\Users\nkauf\AppData\Roaming\Blender Foundation\Blender\3.2\scripts\addons\dream_textures\requirements-win32.txt (line 32))
ERROR: Command errored out with exit status 1:
command: 'C:\Users\nkauf\Blender Foundation\stable\blender-3.2.1+stable.a2d59b2dac9e\3.2\python\bin\python.EXE' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\nkauf\AppData\Roaming\Blender Foundation\Blender\3.2\scripts\addons\dream_textures\stable_diffusion\setup.py'"'"'; file='"'"'C:\Users\nkauf\AppData\Roaming\Blender Foundation\Blender\3.2\scripts\addons\dream_textures\stable_diffusion\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\nkauf\AppData\Local\Temp\pip-pip-egg-info-nflaht66'
cwd: C:\Users\nkauf\AppData\Roaming\Blender Foundation\Blender\3.2\scripts\addons\dream_textures\stable_diffusion
Complete output (28 lines):
Traceback (most recent call last):
File "C:\Users\nkauf\Blender Foundation\stable\blender-3.2.1+stable.a2d59b2dac9e\3.2\python\lib\site-packages\pkg_resources_init_.py", line 2851, in get_entry_map
ep_map = self.ep_map
File "C:\Users\nkauf\Blender Foundation\stable\blender-3.2.1+stable.a2d59b2dac9e\3.2\python\lib\site-packages\pkg_resources_init
.py", line 2813, in getattr
raise AttributeError(attr)
AttributeError: _ep_map. Did you mean: '_dep_map'?

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Users\nkauf\AppData\Roaming\Blender Foundation\Blender\3.2\scripts\addons\dream_textures\stable_diffusion\setup.py", line 3, in <module>
    setup(
  File "C:\Users\nkauf\Blender Foundation\stable\blender-3.2.1+stable.a2d59b2dac9e\3.2\python\lib\site-packages\setuptools\__init__.py", line 152, in setup
    _install_setup_requires(attrs)
  File "C:\Users\nkauf\Blender Foundation\stable\blender-3.2.1+stable.a2d59b2dac9e\3.2\python\lib\site-packages\setuptools\__init__.py", line 142, in _install_setup_requires
    dist = MinimalDistribution(attrs)
  File "C:\Users\nkauf\Blender Foundation\stable\blender-3.2.1+stable.a2d59b2dac9e\3.2\python\lib\site-packages\setuptools\__init__.py", line 134, in __init__
    distutils.core.Distribution.__init__(self, filtered)
  File "C:\Users\nkauf\Blender Foundation\stable\blender-3.2.1+stable.a2d59b2dac9e\3.2\python\lib\site-packages\setuptools\dist.py", line 451, in __init__
    for ep in pkg_resources.iter_entry_points('distutils.setup_keywords'):
  File "C:\Users\nkauf\Blender Foundation\stable\blender-3.2.1+stable.a2d59b2dac9e\3.2\python\lib\site-packages\pkg_resources\__init__.py", line 641, in <genexpr>
    for entry in dist.get_entry_map(group).values()
  File "C:\Users\nkauf\Blender Foundation\stable\blender-3.2.1+stable.a2d59b2dac9e\3.2\python\lib\site-packages\pkg_resources\__init__.py", line 2853, in get_entry_map
    ep_map = self._ep_map = EntryPoint.parse_map(
  File "C:\Users\nkauf\Blender Foundation\stable\blender-3.2.1+stable.a2d59b2dac9e\3.2\python\lib\site-packages\pkg_resources\__init__.py", line 2538, in parse_map
    raise ValueError("Entry points must be listed in groups")
ValueError: Entry points must be listed in groups`

512 limit

Apologies if the answer is obvious, but anytime i try anything above 512X512, nothing happens.
1024 hangs (left overnight to be sure), 512 is immediate.

My VRAM goes up to 8gb so something is happening......Windows

thank you !

basicr error

I have installed the add-on in Blender 3.3 and 3.4, but on both I get the following error when installing dependencies:

ERROR: Could not find a version that satisfies the requirement basicsr>=1.4.2 (from gfpgan) (from versions: 1.3.1, 1.3.2, 1.3.3, 1.3.3.1, 1.3.3.3, 1.3.3.4, 1.3.3.5, 1.3.3.6, 1.3.3.7, 1.3.3.8, 1.3.3.9, 1.3.3.10, 1.3.3.11, 1.3.4.0, 1.3.4.1, 1.3.4.2, 1.3.4.3, 1.3.4.4, 1.3.4.6, 1.3.4.7, 1.3.4.8, 1.3.4.9, 1.3.5, 1.4.0, 1.4.1, 1.4.2)
ERROR: No matching distribution found for basicsr>=1.4.2

I looked up basicr on github, but I don't know how I can install it myself to fix the error...
Any help would be appreciated.

IsADirectory Error on M1 Mac

Running this addon on my M1 MacBook Pro. After clicking "OK" to generate a texture, the console outputs the following error:

>> Loading model from /Users/jakebaine/Library/Application Support/Blender/3.3/scripts/addons/dream_textures/stable_diffusion/models/ldm/stable-diffusion-v1/model.ckpt LatentDiffusion: Running in eps-prediction mode DiffusionWrapper has 859.52 M params. making attention of type 'vanilla' with 512 in_channels Working with z of shape (1, 4, 32, 32) = 4096 dimensions. making attention of type 'vanilla' with 512 in_channels ERROR:asyncio:Task exception was never retrieved future: <Task finished name='Task-3' coro=<DreamTexture.dream_texture() done, defined at /Users/jakebaine/Library/Application Support/Blender/3.3/scripts/addons/dream_textures/operators/dream_texture.py:105> exception=IsADirectoryError(21, 'Is a directory')> Traceback (most recent call last): File "/Users/jakebaine/Library/Application Support/Blender/3.3/scripts/addons/dream_textures/operators/dream_texture.py", line 136, in dream_texture generator.load_model() File "/Users/jakebaine/Library/Application Support/Blender/3.3/scripts/addons/dream_textures/stable_diffusion/ldm/generate.py", line 457, in load_model model = self._load_model_from_config(self.config, self.weights) File "/Users/jakebaine/Library/Application Support/Blender/3.3/scripts/addons/dream_textures/stable_diffusion/ldm/generate.py", line 578, in _load_model_from_config model = instantiate_from_config(c.model) File "/Users/jakebaine/Library/Application Support/Blender/3.3/scripts/addons/dream_textures/stable_diffusion/ldm/util.py", line 89, in instantiate_from_config return get_obj_from_str(config['target'])( File "/Users/jakebaine/Library/Application Support/Blender/3.3/scripts/addons/dream_textures/stable_diffusion/ldm/models/diffusion/ddpm.py", line 657, in __init__ self.instantiate_cond_stage(cond_stage_config) File "/Users/jakebaine/Library/Application Support/Blender/3.3/scripts/addons/dream_textures/stable_diffusion/ldm/models/diffusion/ddpm.py", line 768, in instantiate_cond_stage model = instantiate_from_config(config) File "/Users/jakebaine/Library/Application Support/Blender/3.3/scripts/addons/dream_textures/stable_diffusion/ldm/util.py", line 89, in instantiate_from_config return get_obj_from_str(config['target'])( File "/Users/jakebaine/Library/Application Support/Blender/3.3/scripts/addons/dream_textures/stable_diffusion/ldm/modules/encoders/modules.py", line 245, in __init__ self.tokenizer = CLIPTokenizer.from_pretrained( File "/Applications/Blender.app/Contents/Resources/3.3/python/lib/python3.10/site-packages/transformers/tokenization_utils_base.py", line 1734, in from_pretrained resolved_vocab_files[file_id] = cached_file( File "/Applications/Blender.app/Contents/Resources/3.3/python/lib/python3.10/site-packages/transformers/utils/hub.py", line 408, in cached_file resolved_file = hf_hub_download( File "/Applications/Blender.app/Contents/Resources/3.3/python/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 1172, in hf_hub_download with open(ref_path) as f: IsADirectoryError: [Errno 21] Is a directory: '/Users/jakebaine/.cache/huggingface/hub/models--openai--clip-vit-large-patch14/refs/main'

I've tried installing the addon two times, completing all steps with no errors.

Running on M1 MacBook Pro 14inch with 16GB of RAM and 14GPU cores. Latest stable release of Blender 3.3.

Error installing dependencies on windows

I've tried 4 different times to install, ive reinstalled both blender and the addon and each time it gets a decent way through before getting stuck
The blender info log says this:

Command '['C:\\Program Files\\Blender Foundation\\Blender 3.3\\3.3\\python\\bin\\python.EXE', '-m', 'pip', 'install', '-r', 'C:\\Users\\Mason\\AppData\\Roaming\\Blender Foundation\\Blender\\3.3\\scripts\\addons\\dream_textures\\requirements-win-torch-1-11-0.txt', '--no-cache-dir']' returned non-zero exit status 1.

And the python command prompt looking thing tells me this:

ERROR: Could not find a version that satisfies the requirement basicsr>=1.4.2 (from gfpgan) (from versions: 1.3.1, 1.3.2, 1.3.3, 1.3.3.1, 1.3.3.3, 1.3.3.4, 1.3.3.5, 1.3.3.6, 1.3.3.7, 1.3.3.8, 1.3.3.9, 1.3.3.10, 1.3.3.11, 1.3.4.0, 1.3.4.1, 1.3.4.2, 1.3.4.3, 1.3.4.4, 1.3.4.6, 1.3.4.7, 1.3.4.8, 1.3.4.9, 1.3.5, 1.4.0, 1.4.1, 1.4.2) ERROR: No matching distribution found for basicsr>=1.4.2 WARNING: You are using pip version 21.2.4; however, version 22.2.2 is available. You should consider upgrading via the 'C:\Program Files\Blender Foundation\Blender 3.3\3.3\python\bin\python.EXE -m pip install --upgrade pip' command.

help please

edit: im trying to upgrade pip through python like its telling me but i have absolutely no frame of reference whatsoever for how to use python

edit: GPU is a gtx 1660, also realized it might not be a good idea trying to mess with python

Mac M1 8 GB error no module named: six.moves.collections_abc

>> Calculating sha256 hash of weights file
>> sha256 = fe4efff1e174c627256e44ec2991ba279b3816e364b49f9be2abc0b3ff3f8556 (53.14s)
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
making attention of type 'vanilla' with 512 in_channels
Working with z of shape (1, 4, 32, 32) = 4096 dimensions.
making attention of type 'vanilla' with 512 in_channels
ERROR:asyncio:Task exception was never retrieved
future: <Task finished name='Task-1' coro=<DreamTexture.dream_texture() done, defined at /Users/jimmygunawan/Library/Application Support/Blender/3.3/scripts/addons/dream_textures/operators/dream_texture.py:105> exception=RuntimeError("Failed to import transformers.models.clip.modeling_clip because of the following error (look up to see its traceback):\nNo module named 'six.moves.collections_abc'")>
Traceback (most recent call last):
  File "/Applications/BLENDER_33/Blender.app/Contents/Resources/3.3/python/lib/python3.10/site-packages/transformers/utils/import_utils.py", line 1031, in _get_module
    return importlib.import_module("." + module_name, self.__name__)
  File "/Applications/BLENDER_33/Blender.app/Contents/Resources/3.3/python/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/Applications/BLENDER_33/Blender.app/Contents/Resources/3.3/python/lib/python3.10/site-packages/transformers/models/clip/modeling_clip.py", line 27, in <module>
    from ...modeling_utils import PreTrainedModel
  File "/Applications/BLENDER_33/Blender.app/Contents/Resources/3.3/python/lib/python3.10/site-packages/transformers/modeling_utils.py", line 75, in <module>
    from accelerate import __version__ as accelerate_version
  File "/Applications/BLENDER_33/Blender.app/Contents/Resources/3.3/python/lib/python3.10/site-packages/accelerate/__init__.py", line 7, in <module>
    from .accelerator import Accelerator
  File "/Applications/BLENDER_33/Blender.app/Contents/Resources/3.3/python/lib/python3.10/site-packages/accelerate/accelerator.py", line 33, in <module>
    from .tracking import LOGGER_TYPE_TO_CLASS, GeneralTracker, filter_trackers
  File "/Applications/BLENDER_33/Blender.app/Contents/Resources/3.3/python/lib/python3.10/site-packages/accelerate/tracking.py", line 34, in <module>
    import wandb
  File "/Applications/BLENDER_33/Blender.app/Contents/Resources/3.3/python/lib/python3.10/site-packages/wandb/__init__.py", line 26, in <module>
    from wandb import sdk as wandb_sdk
  File "/Applications/BLENDER_33/Blender.app/Contents/Resources/3.3/python/lib/python3.10/site-packages/wandb/sdk/__init__.py", line 7, in <module>
    from .wandb_artifacts import Artifact  # noqa: F401
  File "/Applications/BLENDER_33/Blender.app/Contents/Resources/3.3/python/lib/python3.10/site-packages/wandb/sdk/wandb_artifacts.py", line 33, in <module>
    from wandb.apis import InternalApi, PublicApi
  File "/Applications/BLENDER_33/Blender.app/Contents/Resources/3.3/python/lib/python3.10/site-packages/wandb/apis/__init__.py", line 30, in <module>
    from .internal import Api as InternalApi  # noqa
  File "/Applications/BLENDER_33/Blender.app/Contents/Resources/3.3/python/lib/python3.10/site-packages/wandb/apis/internal.py", line 1, in <module>
    from wandb.sdk.internal.internal_api import Api as InternalApi
  File "/Applications/BLENDER_33/Blender.app/Contents/Resources/3.3/python/lib/python3.10/site-packages/wandb/sdk/internal/internal_api.py", line 33, in <module>
    from wandb_gql import Client, gql  # type: ignore
  File "/Applications/BLENDER_33/Blender.app/Contents/Resources/3.3/python/lib/python3.10/site-packages/wandb/vendor/gql-0.2.0/wandb_gql/__init__.py", line 1, in <module>
    from .gql import gql
  File "/Applications/BLENDER_33/Blender.app/Contents/Resources/3.3/python/lib/python3.10/site-packages/wandb/vendor/gql-0.2.0/wandb_gql/gql.py", line 2, in <module>
    from wandb_graphql.language.parser import parse
  File "/Applications/BLENDER_33/Blender.app/Contents/Resources/3.3/python/lib/python3.10/site-packages/wandb/vendor/graphql-core-1.1/wandb_graphql/__init__.py", line 43, in <module>
    from .graphql import (
  File "/Applications/BLENDER_33/Blender.app/Contents/Resources/3.3/python/lib/python3.10/site-packages/wandb/vendor/graphql-core-1.1/wandb_graphql/graphql.py", line 1, in <module>
    from .execution import ExecutionResult, execute
  File "/Applications/BLENDER_33/Blender.app/Contents/Resources/3.3/python/lib/python3.10/site-packages/wandb/vendor/graphql-core-1.1/wandb_graphql/execution/__init__.py", line 21, in <module>
    from .executor import execute
  File "/Applications/BLENDER_33/Blender.app/Contents/Resources/3.3/python/lib/python3.10/site-packages/wandb/vendor/graphql-core-1.1/wandb_graphql/execution/executor.py", line 2, in <module>
    from six.moves.collections_abc import Iterable
ModuleNotFoundError: No module named 'six.moves.collections_abc'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/Users/jimmygunawan/Library/Application Support/Blender/3.3/scripts/addons/dream_textures/operators/dream_texture.py", line 136, in dream_texture
    generator.load_model()
  File "/Users/jimmygunawan/Library/Application Support/Blender/3.3/scripts/addons/dream_textures/stable_diffusion/ldm/generate.py", line 457, in load_model
    model = self._load_model_from_config(self.config, self.weights)
  File "/Users/jimmygunawan/Library/Application Support/Blender/3.3/scripts/addons/dream_textures/stable_diffusion/ldm/generate.py", line 578, in _load_model_from_config
    model = instantiate_from_config(c.model)
  File "/Users/jimmygunawan/Library/Application Support/Blender/3.3/scripts/addons/dream_textures/stable_diffusion/ldm/util.py", line 89, in instantiate_from_config
    return get_obj_from_str(config['target'])(
  File "/Users/jimmygunawan/Library/Application Support/Blender/3.3/scripts/addons/dream_textures/stable_diffusion/ldm/models/diffusion/ddpm.py", line 657, in __init__
    self.instantiate_cond_stage(cond_stage_config)
  File "/Users/jimmygunawan/Library/Application Support/Blender/3.3/scripts/addons/dream_textures/stable_diffusion/ldm/models/diffusion/ddpm.py", line 768, in instantiate_cond_stage
    model = instantiate_from_config(config)
  File "/Users/jimmygunawan/Library/Application Support/Blender/3.3/scripts/addons/dream_textures/stable_diffusion/ldm/util.py", line 89, in instantiate_from_config
    return get_obj_from_str(config['target'])(
  File "/Users/jimmygunawan/Library/Application Support/Blender/3.3/scripts/addons/dream_textures/stable_diffusion/ldm/util.py", line 99, in get_obj_from_str
    return getattr(importlib.import_module(module, package=None), cls)
  File "/Applications/BLENDER_33/Blender.app/Contents/Resources/3.3/python/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/Users/jimmygunawan/Library/Application Support/Blender/3.3/scripts/addons/dream_textures/stable_diffusion/ldm/modules/encoders/modules.py", line 6, in <module>
    from transformers import CLIPTokenizer, CLIPTextModel
  File "<frozen importlib._bootstrap>", line 1075, in _handle_fromlist
  File "/Applications/BLENDER_33/Blender.app/Contents/Resources/3.3/python/lib/python3.10/site-packages/transformers/utils/import_utils.py", line 1022, in __getattr__
    value = getattr(module, name)
  File "/Applications/BLENDER_33/Blender.app/Contents/Resources/3.3/python/lib/python3.10/site-packages/transformers/utils/import_utils.py", line 1021, in __getattr__
    module = self._get_module(self._class_to_module[name])
  File "/Applications/BLENDER_33/Blender.app/Contents/Resources/3.3/python/lib/python3.10/site-packages/transformers/utils/import_utils.py", line 1033, in _get_module
    raise RuntimeError(
RuntimeError: Failed to import transformers.models.clip.modeling_clip because of the following error (look up to see its traceback):
No module named 'six.moves.collections_abc'

Blender can't find the zipper

Hello everyone!
I can't install the add-on, blender doesn't detect the zipper, I tried a manual installation but it doesn't work, any ideas?

Thanks everyone! i can't wait to be able to use this add-on for the youtube channel!

Request: Dream Textures Batch output?

On my M1 Mac, it runs 1000-3000 seconds at least to generate something from a prompt (25-50 samples). I am thinking to run this overnight like maybe if possible output a batch, so I can get a nice 20-30 AI Art per night. I wonder if there is a plan to support batch "dreams"?

Thanks!

Running on Mac M1 8GB is Really Slow?

I wonder if it's my iMac M1 8GB machine that is too slow to run this stable diffusion or that the addon is not optimized or maybe I have option that's not turned on, but producing even a small size artwork is really slow.

So far I use the preset photograph, but kept only getting abstract result, this one takes 5-10 minutes for 64 x 64 pixels:
Screenshot 2022-09-18 at 11 21 53 am

I can't install dependencies on Linux

Hi.
With v0.0.3 from Releases files when I hit the "Install dependencies" button in the addon , I get the following message:
Command '['/media/TEMP/Blender_Releases/blender-2.83.0-linux64/blender', '-m', 'pip', 'install', '-r', '/home/nulluser/.config/blender/2.83/scripts/addons/dream_textures/stable_diffusion/requirements.txt']' returned non-zero exit status 1.

With github "main" version I get:
Command '['/media/TEMP/Blender_Releases/blender-2.83.0-linux64/blender', '-m', 'pip', 'install', '-r', '/home/nulluser/.config/blender/2.83/scripts/addons/dream-textures-main/stable_diffusion/requirements-mac.txt']' returned non-zero exit status 1.

Similar error, and apparently it is also trying to load Mac dependencies instead of Linux dependencies.

Using KDE Neon distro (based in Ubuntu 20.04)

Could you tell me the command to manually install the dependencies on Linux in the meantime?

Thanks.

Installation: Torch Dependency Version Conflict

Add-on, Application and OS versions

Dream Textures 0.0.3
Blender 3.3
Mac OS 10.15.7

Describe the bug

When installing dependencies, I get an error message that different packages require different specific versions of Torch.

Kornia requires a later version, while Torchvision requires an earlier one.

I changed line 14 of dream_textures/stable_diffusion/requirements.txt from torch==1.12.1 to torch>=1.12.1, but same error.

How to Reproduce

On Mac with same specs, install Dream Textures, then in preferences panel click Install dependencies.

Error message

ERROR: Cannot install -r /Users/***/Library/Application Support/Blender/3.3/scripts/addons/dream_textures/stable_diffusion/requirements.txt (line 14), -r /Users/***/Library/Application Support/Blender/3.3/scripts/addons/dream_textures/stable_diffusion/requirements.txt (line 6) and torch==1.12.1 because these package versions have conflicting dependencies.

The conflict is caused by:
    The user requested torch==1.12.1
    kornia 0.6.0 depends on torch>=1.8.1
    torchvision 0.12.0 depends on torch==1.11.0

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

Screenshots

n/a

ModuleNotFoundError

I've installed dreamtextures as per the instructions.
After installing the dependencies (which was marked as success) I pressed the validate install and got this error:

ModuleNotFoundError: No module named 'antlr4'

So I restarted Blender in admin mode and reinstalled the dependencies, again a success. But the validation failed again with the same module.

How to solve this issue?

Scene is `None` before Image to Image completes

Not sure why but I always get this StructRNA error message when using Initial Image option. Was hoping for it to generate image from image. And wondering whether inpainting really works... So far no luck.

>> image will be resized to fit inside a box 512x512 in size.
>> after adjusting image dimensions to be multiples of 64, init image is 512x512
>> sampler 'KSampler' is not yet supported. Using DDIM sampler
2022-09-19 12:01:23,448 [ERROR] asyncio: Task exception was never retrieved
future: <Task finished name='Task-1' coro=<DreamTexture.dream_texture() done, defined at /Users/jimmygunawan/Library/Application Support/Blender/3.4/scripts/addons/dream_textures/operators/dream_texture.py:105> exception=ReferenceError('StructRNA of type Scene has been removed')>
Traceback (most recent call last):
  File "/Users/jimmygunawan/Library/Application Support/Blender/3.4/scripts/addons/dream_textures/operators/dream_texture.py", line 246, in dream_texture
    await loop.run_in_executor(None, perform)
  File "/Applications/BLENDER_34/Blender.app/Contents/Resources/3.4/python/lib/python3.10/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/Users/jimmygunawan/Library/Application Support/Blender/3.4/scripts/addons/dream_textures/operators/dream_texture.py", line 209, in perform
    generator.prompt2image(
  File "/Users/jimmygunawan/Library/Application Support/Blender/3.4/scripts/addons/dream_textures/stable_diffusion/ldm/generate.py", line 344, in prompt2image
    results = generator.generate(
  File "/Users/jimmygunawan/Library/Application Support/Blender/3.4/scripts/addons/dream_textures/stable_diffusion/ldm/dream/generator/base.py", line 70, in generate
    image = make_image(x_T)
  File "/Applications/BLENDER_34/Blender.app/Contents/Resources/3.4/python/lib/python3.10/site-packages/torch/autograd/grad_mode.py", line 27, in decorate_context
    return func(*args, **kwargs)
  File "/Users/jimmygunawan/Library/Application Support/Blender/3.4/scripts/addons/dream_textures/stable_diffusion/ldm/dream/generator/txt2img.py", line 30, in make_image
    samples, _ = sampler.sample(
  File "/Applications/BLENDER_34/Blender.app/Contents/Resources/3.4/python/lib/python3.10/site-packages/torch/autograd/grad_mode.py", line 27, in decorate_context
    return func(*args, **kwargs)
  File "/Users/jimmygunawan/Library/Application Support/Blender/3.4/scripts/addons/dream_textures/stable_diffusion/ldm/models/diffusion/ksampler.py", line 83, in sample
    K.sampling.__dict__[f'sample_{self.schedule}'](
  File "/Applications/BLENDER_34/Blender.app/Contents/Resources/3.4/python/lib/python3.10/site-packages/torch/autograd/grad_mode.py", line 27, in decorate_context
    return func(*args, **kwargs)
  File "/Applications/BLENDER_34/Blender.app/Contents/Resources/3.4/python/lib/python3.10/site-packages/k_diffusion/sampling.py", line 193, in sample_lms
    callback({'x': x, 'i': i, 'sigma': sigmas[i], 'sigma_hat': sigmas[i], 'denoised': denoised})
  File "/Users/jimmygunawan/Library/Application Support/Blender/3.4/scripts/addons/dream_textures/stable_diffusion/ldm/models/diffusion/ksampler.py", line 66, in route_callback
    img_callback(k_callback_values['x'], k_callback_values['i'])
  File "/Users/jimmygunawan/Library/Application Support/Blender/3.4/scripts/addons/dream_textures/operators/dream_texture.py", line 167, in view_step
    step_image = pil_to_image(generator._sample_to_image(samples), name=f'Step {step + 1}/{scene.dream_textures_prompt.steps}')
ReferenceError: StructRNA of type Scene has been removed
Generating:   0%|                                                                                                                          | 0/1 [00:00<?, ?it/s]Running DDIM Sampling with 7 timesteps

Decoding image:   0%|                                                                                                                      | 0/7 [00:00<?, ?it/s]

dependencies

**_**I've tried 4 different times to install, ive reinstalled both blender and the addon and each time it gets a decent way through before getting stuck

i have found this type of error while downloading dream addon on blender**_**
Read prefs: C:\Users\dkver\AppData\Roaming\Blender Foundation\Blender\3.3\config\userpref.blend
Reloading external rigs...
RRead prefs: C:\Users\dkver\AppData\Roaming\Blender Foundation\Blender\3.3\config\userpref.blend
Reloading external rigs...
Reloading external metarigs...
pip 21.2.4 from C:\Program Files\WindowsApps\BlenderFoundation.Blender_3.3.0.0_x64__ppwjx1n5r4v9t\Blender\3.3\python\lib\site-packages\pip (python 3.10)
Traceback (most recent call last):
File "C:\Users\dkver\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\dream-textures-main\operators\install_dependencies.py", line 141, in execute
install_and_import_requirements(requirements_txt=context.scene.dream_textures_requirements_path)
File "C:\Users\dkver\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\dream-textures-main\operators\install_dependencies.py", line 115, in install_and_import_requirements
python_devel_tgz.extractall(path=python_include_dir, members=members(python_devel_tgz))
File "C:\Program Files\WindowsApps\BlenderFoundation.Blender_3.3.0.0_x64__ppwjx1n5r4v9t\Blender\3.3\python\lib\tarfile.py", line 2040, in extractall
self.extract(tarinfo, path, set_attrs=not tarinfo.isdir(),
File "C:\Program Files\WindowsApps\BlenderFoundation.Blender_3.3.0.0_x64__ppwjx1n5r4v9t\Blender\3.3\python\lib\tarfile.py", line 2081, in extract
self._extract_member(tarinfo, os.path.join(path, tarinfo.name),
File "C:\Program Files\WindowsApps\BlenderFoundation.Blender_3.3.0.0_x64__ppwjx1n5r4v9t\Blender\3.3\python\lib\tarfile.py", line 2146, in _extract_member
os.makedirs(upperdirs)
File "C:\Program Files\WindowsApps\BlenderFoundation.Blender_3.3.0.0_x64__ppwjx1n5r4v9t\Blender\3.3\python\lib\os.py", line 225, in makedirs
mkdir(name, mode)
PermissionError: [WinError 5] Access is denied: 'C:\Program Files\WindowsApps\BlenderFoundation.Blender_3.3.0.0_x64__ppwjx1n5r4v9t\Blender\3.3\python\Include'
Error: Python: Traceback (most recent call last):
File "C:\Users\dkver\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\dream-textures-main\operators\install_dependencies.py", line 141, in execute
install_and_import_requirements(requirements_txt=context.scene.dream_textures_requirements_path)
File "C:\Users\dkver\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\dream-textures-main\operators\install_dependencies.py", line 115, in install_and_import_requirements
python_devel_tgz.extractall(path=python_include_dir, members=members(python_devel_tgz))
File "C:\Program Files\WindowsApps\BlenderFoundation.Blender_3.3.0.0_x64__ppwjx1n5r4v9t\Blender\3.3\python\lib\tarfile.py", line 2040, in extractall
self.extract(tarinfo, path, set_attrs=not tarinfo.isdir(),
File "C:\Program Files\WindowsApps\BlenderFoundation.Blender_3.3.0.0_x64__ppwjx1n5r4v9t\Blender\3.3\python\lib\tarfile.py", line 2081, in extract
self._extract_member(tarinfo, os.path.join(path, tarinfo.name),
File "C:\Program Files\WindowsApps\BlenderFoundation.Blender_3.3.0.0_x64__ppwjx1n5r4v9t\Blender\3.3\python\lib\tarfile.py", line 2146, in _extract_member
os.makedirs(upperdirs)
File "C:\Program Files\WindowsApps\BlenderFoundation.Blender_3.3.0.0_x64__ppwjx1n5r4v9t\Blender\3.3\python\lib\os.py", line 225, in makedirs
mkdir(name, mode)
PermissionError: [WinError 5] Access is denied: 'C:\Program Files\WindowsApps\BlenderFoundation.Blender_3.3.0.0_x64__ppwjx1n5r4v9t\Blender\3.3\python\Include'

Spontaneous crash upon attempting to plug in/edit normal values/roughness values

The image plugs into the procedural shader just fine and there are no issues during the generation, but upon attempting to edit/plug in any normal/roughness values while in rendered mode the program will spontaneously crash, these values can be edited in material preview and then viewed in rendered mode.
blender crash log

CPU: Amd Ryzen 5 5600x 6-core
GPU: Nvidia Geforce rtx 3050 8gb vram

Below is a blend file in which the issue is encountered.
https://mega.nz/file/mJZlAbwI#PdESWIChYugVFn0Vi58jNy8RP691F7N2HsDxo2kInh0

Getting Error during install on Apple Silicon

Error is: Command '['/Applications/Blender.app/Contents/Resources/3.0/python/bin/python3.9', '-m', 'pip', 'install', '-r', '/Users/alexajwhite/Library/Application Support/Blender/3.0/scripts/addons/dream_textures/stable_diffusion/requirements.txt']' returned non-zero exit status 1.

Installing Dependencies stops after successfully preloading CLIP model

Installing dependencies works until after it preloads CLIP model, it just says "...success" and will not progress no matter how long I wait. I can't close the terminal window and if I close blender then the texture doesn't generate after pressing OK in the panel. I've attached a screenshot of the blender terminal at the point where it gets stuck at below.
Screenshot (6)

Error During Generate: Certificate Verify Failed

Add-on, Application and OS versions

Dream Textures 0.0.3
Blender 3.3
Mac OS 10.15.7

Describe the bug

When generating a texture, two certificate issues caused it to fail.

1.) future: <Task finished name='Task-1' coro=<DreamTexture.dream_texture() done, defined at /Users/***/Library/Application Support/Blender/3.3/scripts/addons/dream_textures/__init__.py:448> exception=URLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)'))>

2.) urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)>

and perhaps related, no current event loop was found.

How to Reproduce

On Mac with same specs, generate new texture.

Error message

Full event log:

>> cuda not available, using device cpu
Global seed set to 27427138
>> Loading model from /Users/***/Library/Application Support/Blender/3.3/scripts/addons/dream_textures/stable_diffusion/models/ldm/stable-diffusion-v1/model.ckpt
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
making attention of type 'vanilla' with 512 in_channels
Working with z of shape (1, 4, 32, 32) = 4096 dimensions.
making attention of type 'vanilla' with 512 in_channels
Downloading: "https://github.com/DagnyT/hardnet/raw/master/pretrained/train_liberty_with_aug/checkpoint_liberty_with_aug.pth" to /Users/***/.cache/torch/hub/checkpoints/checkpoint_liberty_with_aug.pth
Task exception was never retrieved
future: <Task finished name='Task-1' coro=<DreamTexture.dream_texture() done, defined at /Users/***/Library/Application Support/Blender/3.3/scripts/addons/dream_textures/__init__.py:448> exception=URLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)'))>
Traceback (most recent call last):
  File "/Applications/Blender.app/Contents/Resources/3.3/python/lib/python3.10/urllib/request.py", line 1348, in do_open
    h.request(req.get_method(), req.selector, req.data, headers,
  File "/Applications/Blender.app/Contents/Resources/3.3/python/lib/python3.10/http/client.py", line 1282, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/Applications/Blender.app/Contents/Resources/3.3/python/lib/python3.10/http/client.py", line 1328, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/Applications/Blender.app/Contents/Resources/3.3/python/lib/python3.10/http/client.py", line 1277, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/Applications/Blender.app/Contents/Resources/3.3/python/lib/python3.10/http/client.py", line 1037, in _send_output
    self.send(msg)
  File "/Applications/Blender.app/Contents/Resources/3.3/python/lib/python3.10/http/client.py", line 975, in send
    self.connect()
  File "/Applications/Blender.app/Contents/Resources/3.3/python/lib/python3.10/http/client.py", line 1454, in connect
    self.sock = self._context.wrap_socket(self.sock,
  File "/Applications/Blender.app/Contents/Resources/3.3/python/lib/python3.10/ssl.py", line 512, in wrap_socket
    return self.sslsocket_class._create(
  File "/Applications/Blender.app/Contents/Resources/3.3/python/lib/python3.10/ssl.py", line 1070, in _create
    self.do_handshake()
  File "/Applications/Blender.app/Contents/Resources/3.3/python/lib/python3.10/ssl.py", line 1341, in do_handshake
    self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/***/Library/Application Support/Blender/3.3/scripts/addons/dream_textures/__init__.py", line 493, in dream_texture
    t2i.load_model()
  File "/Users/***/Library/Application Support/Blender/3.3/scripts/addons/dream_textures/stable_diffusion/ldm/simplet2i.py", line 592, in load_model
    model = self._load_model_from_config(config, self.weights)
  File "/Users/***/Library/Application Support/Blender/3.3/scripts/addons/dream_textures/stable_diffusion/ldm/simplet2i.py", line 664, in _load_model_from_config
    model = instantiate_from_config(config.model)
  File "/Users/***/Library/Application Support/Blender/3.3/scripts/addons/dream_textures/stable_diffusion/ldm/util.py", line 89, in instantiate_from_config
    return get_obj_from_str(config['target'])(
  File "/Users/***/Library/Application Support/Blender/3.3/scripts/addons/dream_textures/stable_diffusion/ldm/models/diffusion/ddpm.py", line 657, in __init__
    self.instantiate_cond_stage(cond_stage_config)
  File "/Users/***/Library/Application Support/Blender/3.3/scripts/addons/dream_textures/stable_diffusion/ldm/models/diffusion/ddpm.py", line 768, in instantiate_cond_stage
    model = instantiate_from_config(config)
  File "/Users/***/Library/Application Support/Blender/3.3/scripts/addons/dream_textures/stable_diffusion/ldm/util.py", line 89, in instantiate_from_config
    return get_obj_from_str(config['target'])(
  File "/Users/***/Library/Application Support/Blender/3.3/scripts/addons/dream_textures/stable_diffusion/ldm/util.py", line 99, in get_obj_from_str
    return getattr(importlib.import_module(module, package=None), cls)
  File "/Applications/Blender.app/Contents/Resources/3.3/python/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/Users/***/Library/Application Support/Blender/3.3/scripts/addons/dream_textures/stable_diffusion/ldm/modules/encoders/modules.py", line 7, in <module>
    import kornia
  File "/Applications/Blender.app/Contents/Resources/3.3/python/lib/python3.10/site-packages/kornia/__init__.py", line 10, in <module>
    from . import (
  File "/Applications/Blender.app/Contents/Resources/3.3/python/lib/python3.10/site-packages/kornia/augmentation/__init__.py", line 43, in <module>
    from .container import AugmentationSequential, ImageSequential, PatchSequential, VideoSequential
  File "/Applications/Blender.app/Contents/Resources/3.3/python/lib/python3.10/site-packages/kornia/augmentation/container/__init__.py", line 1, in <module>
    from .augment import AugmentationSequential
  File "/Applications/Blender.app/Contents/Resources/3.3/python/lib/python3.10/site-packages/kornia/augmentation/container/augment.py", line 17, in <module>
    from .patch import PatchSequential
  File "/Applications/Blender.app/Contents/Resources/3.3/python/lib/python3.10/site-packages/kornia/augmentation/container/patch.py", line 9, in <module>
    from kornia.contrib.extract_patches import extract_tensor_patches
  File "/Applications/Blender.app/Contents/Resources/3.3/python/lib/python3.10/site-packages/kornia/contrib/__init__.py", line 4, in <module>
    from .image_stitching import ImageStitcher
  File "/Applications/Blender.app/Contents/Resources/3.3/python/lib/python3.10/site-packages/kornia/contrib/image_stitching.py", line 7, in <module>
    from kornia.feature import LocalFeatureMatcher, LoFTR
  File "/Applications/Blender.app/Contents/Resources/3.3/python/lib/python3.10/site-packages/kornia/feature/__init__.py", line 4, in <module>
    from .integrated import (
  File "/Applications/Blender.app/Contents/Resources/3.3/python/lib/python3.10/site-packages/kornia/feature/integrated.py", line 52, in <module>
    class LAFDescriptor(nn.Module):
  File "/Applications/Blender.app/Contents/Resources/3.3/python/lib/python3.10/site-packages/kornia/feature/integrated.py", line 65, in LAFDescriptor
    patch_descriptor_module: nn.Module = HardNet(True),
  File "/Applications/Blender.app/Contents/Resources/3.3/python/lib/python3.10/site-packages/kornia/feature/hardnet.py", line 66, in __init__
    pretrained_dict = torch.hub.load_state_dict_from_url(
  File "/Applications/Blender.app/Contents/Resources/3.3/python/lib/python3.10/site-packages/torch/hub.py", line 727, in load_state_dict_from_url
    download_url_to_file(url, cached_file, hash_prefix, progress=progress)
  File "/Applications/Blender.app/Contents/Resources/3.3/python/lib/python3.10/site-packages/torch/hub.py", line 593, in download_url_to_file
    u = urlopen(req)
  File "/Applications/Blender.app/Contents/Resources/3.3/python/lib/python3.10/urllib/request.py", line 216, in urlopen
    return opener.open(url, data, timeout)
  File "/Applications/Blender.app/Contents/Resources/3.3/python/lib/python3.10/urllib/request.py", line 519, in open
    response = self._open(req, data)
  File "/Applications/Blender.app/Contents/Resources/3.3/python/lib/python3.10/urllib/request.py", line 536, in _open
    result = self._call_chain(self.handle_open, protocol, protocol +
  File "/Applications/Blender.app/Contents/Resources/3.3/python/lib/python3.10/urllib/request.py", line 496, in _call_chain
    result = func(*args)
  File "/Applications/Blender.app/Contents/Resources/3.3/python/lib/python3.10/urllib/request.py", line 1391, in https_open
    return self.do_open(http.client.HTTPSConnection, req,
  File "/Applications/Blender.app/Contents/Resources/3.3/python/lib/python3.10/urllib/request.py", line 1351, in do_open
    raise URLError(err)
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)>
/Users/***/Library/Application Support/Blender/3.3/scripts/addons/dream_textures/async_loop.py:62: DeprecationWarning: There is no current event loop
  loop = asyncio.get_event_loop()

Screenshots

n/a

Not releasing Vram until blender closes.

Windows 10
3070ti (516.94)
32gb ram
Blender 3.30

After running Dream Texture generation, the Vram is not released, disabling the ability to use cycles to view any preview/render due to lack of vram.

It's not working for me. Ii just keeps saying "please complete setup in the preferences window".

It's not working for me. It just keeps saying "please complete setup in the preferences window".

I did, 20 times. I installed the add-on, installed the dependencies, and moved the file to be renamed to "model.cpkt" into the addons folder, all while in administrative mode.

I'm using an Nvidia 3060ti and I'm on Blender 3.3.

You may need clearer install instructions or something. I can't get it to work.

All I get is "C:\Program Files\Blender Foundation\3.3\python\lib\site-packages\accelerate\state.py:16: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives from distutils.util import strtobool"

What does that even mean?

No module named 'antlr4'

During validation I incounter a fail "no module named 'antlr4'"
Everything else worked well up to this point.

Graphics is RTX 3090

No Steps taken as I have little python XP

There is no current event loop loop = asyncio.get_event_loop() error.

Trying to run Dream Texture on Blender 3.3 on windows and get the following from the Terminal:

"...AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\dream_textures\async_loop.py:62: DeprecationWarning: There is no current event loop
loop = asyncio.get_event_loop()"

Fresh install and installed as Admin.

Apple M1 Pro - Time to generate is exponentially longer after first generation

Running Blender 3.3 and latest release of Monterey.

The generation of the first texture in a fresh start of Blender takes about 47 seconds running on a base 14inch M1 Pro MacBook Pro.

After the first generation, every attempt following that takes way longer at 583 seconds. Same settings for each generation so I'm not sure why it takes longer.

can't inpaint on generated textures

It seems that the inpaint brush's alpha is not applied on the active image. This means that the second expression will not be true and the inpaint menu will not be visible.

if area.spaces.active.image is not None and image_has_alpha(area.spaces.active.image):

A workaround is to save the inpainted image as RGBA and then run the inpainting.

updates:

This is from a freshly generated picture in the Image Editor:
image
In the blender data API, everything checks out though. (the image is 24bits deep)

This happens when you apply the alpha in the editor:
image

Nothing happens when I select Init Image

When I click on the file icon in Init Image and select an image from my own file, the Dream Textures settings window closes. When I click on Dream Textures again and try to set it up, the selected image is gone and setting is back to the original state. The version of Blender used is 3.3LTS.
22

PermissionError: [WinError 5]

hi!
I'm getting this error message, any advice how to get over it?

PermissionError: [WinError 5] Access is denied: 'C:\Program Files\Blender Foundation\Blender 3.2\3.2\python\Include'

*this it what is above it
Error: Python: Traceback (most recent call last):
File "C:\Users\jouko\AppData\Roaming\Blender Foundation\Blender\3.2\scripts\addons\dream_textures\operators\install_dependencies.py", line 141, in execute
install_and_import_requirements(requirements_txt=context.scene.dream_textures_requirements_path)
File "C:\Users\jouko\AppData\Roaming\Blender Foundation\Blender\3.2\scripts\addons\dream_textures\operators\install_dependencies.py", line 115, in install_and_import_requirements
python_devel_tgz.extractall(path=python_include_dir, members=members(python_devel_tgz))
File "C:\Program Files\Blender Foundation\Blender 3.2\3.2\python\lib\tarfile.py", line 2040, in extractall
self.extract(tarinfo, path, set_attrs=not tarinfo.isdir(),
File "C:\Program Files\Blender Foundation\Blender 3.2\3.2\python\lib\tarfile.py", line 2081, in extract
self._extract_member(tarinfo, os.path.join(path, tarinfo.name),
File "C:\Program Files\Blender Foundation\Blender 3.2\3.2\python\lib\tarfile.py", line 2146, in _extract_member
os.makedirs(upperdirs)
File "C:\Program Files\Blender Foundation\Blender 3.2\3.2\python\lib\os.py", line 225, in makedirs
mkdir(name, mode)
PermissionError: [WinError 5] Access is denied: 'C:\Program Files\Blender Foundation\Blender 3.2\3.2\python\Include'

Can this work for Mac with Non Silicon

Since my M1 8GB is a bit slow, I was wondering if it would run faster with my older MacBookPro with specs below:

Screenshot 2022-09-19 at 12 42 22 pm

MacBook Pro
Processor 2.8 GHz Quad-Core
Intel Core i7
Graphics Intel HD Graphics
630 1536 MB
Memory 16 GB 2133 MHz
LPDDR3
Startup Disk Macintosh HD

No such file or directory: openai--clip-vit-large-patch14

Installation runs smoothly. When I ask for a texture generation, i get this messages:

Task exception was never retrieved future: <Task finished name='Task-1' coro=<DreamTexture.dream_texture() done, defined at /Users/nikos/Library/Application Support/Blender/3.2/scripts/addons/dream_textures/operators/dream_texture.py:105> exception=FileNotFoundError(2, 'No such file or directory')> Traceback (most recent call last): File "/Users/nikos/Library/Application Support/Blender/3.2/scripts/addons/dream_textures/operators/dream_texture.py", line 136, in dream_texture generator.load_model() File "/Users/nikos/Library/Application Support/Blender/3.2/scripts/addons/dream_textures/stable_diffusion/ldm/generate.py", line 457, in load_model model = self._load_model_from_config(self.config, self.weights) File "/Users/nikos/Library/Application Support/Blender/3.2/scripts/addons/dream_textures/stable_diffusion/ldm/generate.py", line 578, in _load_model_from_config model = instantiate_from_config(c.model) File "/Users/nikos/Library/Application Support/Blender/3.2/scripts/addons/dream_textures/stable_diffusion/ldm/util.py", line 89, in instantiate_from_config return get_obj_from_str(config['target'])( File "/Users/nikos/Library/Application Support/Blender/3.2/scripts/addons/dream_textures/stable_diffusion/ldm/models/diffusion/ddpm.py", line 657, in __init__ self.instantiate_cond_stage(cond_stage_config) File "/Users/nikos/Library/Application Support/Blender/3.2/scripts/addons/dream_textures/stable_diffusion/ldm/models/diffusion/ddpm.py", line 768, in instantiate_cond_stage model = instantiate_from_config(config) File "/Users/nikos/Library/Application Support/Blender/3.2/scripts/addons/dream_textures/stable_diffusion/ldm/util.py", line 89, in instantiate_from_config return get_obj_from_str(config['target'])( File "/Users/nikos/Library/Application Support/Blender/3.2/scripts/addons/dream_textures/stable_diffusion/ldm/modules/encoders/modules.py", line 245, in __init__ self.tokenizer = CLIPTokenizer.from_pretrained( File "/Applications/Blender.app/Contents/Resources/3.2/python/lib/python3.10/site-packages/transformers/tokenization_utils_base.py", line 1734, in from_pretrained resolved_vocab_files[file_id] = cached_file( File "/Applications/Blender.app/Contents/Resources/3.2/python/lib/python3.10/site-packages/transformers/utils/hub.py", line 408, in cached_file resolved_file = hf_hub_download( File "/Applications/Blender.app/Contents/Resources/3.2/python/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 1172, in hf_hub_download with open(ref_path) as f: FileNotFoundError: [Errno 2] No such file or directory: '/Users/nikos/.cache/huggingface/hub/models--openai--clip-vit-large-patch14/refs/main'

I dont make to install the dependencies

When i click install it starts (i think) and after 5-6 seconds appears an error saying this: ERROR: File "setup.py" or "setup.cfg" not found. Directory cannot be installed in editable mode: C:\Users\username\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\dream-textures-main\stable_diffusion
WARNING: You are using pip version 21.2.4; however, version 22.2.2 is available.
You should consider upgrading via the 'C:\Program Files\Blender Foundation\Blender 3.3\3.3\python\bin\python.EXE -m pip install --upgrade pip' command.
i have tried to unzip the python zip that appears in C:\Users\username\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\dream-textures-main into the adress C:\Users\username\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\dream-textures-main\stable_diffusion
but didnt work it just appeared another error i have reinstalled it so for run it for clean
I dont know about coding much
also apologies for my english (not first language)

"setup.py" or "setup.cfg" error code while installing dependencies

Full Error message:

ERROR: File "setup.py" or "setup.cfg" not found. Directory cannot be installed in editable mode: C:\Users\Xayzer\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\dream-textures-main\stable_diffusion

I downloaded the zip from the releases tab, started blender as administrator, and I used regedit to set LongPathsEnabled to 1.

Installing dependencies on linux, blender snap version

I get the following error when clicking the install dependencies (Linux (AMD)) on ubuntu 20.04, Radeon RX 5500

Python: Traceback (most recent call last):
  File "/home/peter/.config/blender/3.3/scripts/addons/dream_textures/operators/install_dependencies.py", line 141, in execute
    install_and_import_requirements(requirements_txt=context.scene.dream_textures_requirements_path)
  File "/home/peter/.config/blender/3.3/scripts/addons/dream_textures/operators/install_dependencies.py", line 115, in install_and_import_requirements
    python_devel_tgz.extractall(path=python_include_dir, members=members(python_devel_tgz))
  File "/snap/blender/2790/3.3/python/lib/python3.10/tarfile.py", line 2040, in extractall
    self.extract(tarinfo, path, set_attrs=not tarinfo.isdir(),
  File "/snap/blender/2790/3.3/python/lib/python3.10/tarfile.py", line 2081, in extract
    self._extract_member(tarinfo, os.path.join(path, tarinfo.name),
  File "/snap/blender/2790/3.3/python/lib/python3.10/tarfile.py", line 2154, in _extract_member
    self.makefile(tarinfo, targetpath)
  File "/snap/blender/2790/3.3/python/lib/python3.10/tarfile.py", line 2195, in makefile
    with bltn_open(targetpath, "wb") as target:
OSError: [Errno 30] Read-only file system: '/snap/blender/2790/3.3/python/include/python3.10/pystate.h'

I've tried the following:

Installing the dependencies like describes in this issue. I needed to comment out "--prefer-binary" in requirements.txt to have it run though. They install fine now with requirements-lin-AMD.txt, but it is not recognized as a completed installation in blender.

I can't change the read only status of pystate.h as it is in a snap folder which is intended to be read only as far as I understand.

Any ideas?

Generating images don't work on Linux

Followed all the steps in the add-on tab, including validating the installation. But when trying to generate an image, Blender hangs for a few seconds and then the generation fails.

May be related, but during the installation process, I had to run Blender as root to get the dependencies set up.

This is the error that blender produces:

>> Loading model from /home/owbosh/.config/blender/3.3/scripts/addons/dream_textures/stable_diffusion/models/ldm/stable-diffusion-v1/model.ckpt
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
making attention of type 'vanilla' with 512 in_channels
Working with z of shape (1, 4, 32, 32) = 4096 dimensions.
making attention of type 'vanilla' with 512 in_channels
Task exception was never retrieved
future: <Task finished name='Task-1' coro=<DreamTexture.dream_texture() done, defined at /home/owbosh/.config/blender/3.3/scripts/addons/dream_textures/operators/dream_texture.py:105> exception=OSError("Can't load tokenizer for 'openai/clip-vit-large-patch14'. If you were trying to load it from 'https://huggingface.co/models', make sure you don't have a local directory with the same name. Otherwise, make sure 'openai/clip-vit-large-patch14' is the correct path to a directory containing all relevant files for a CLIPTokenizer tokenizer.")>
Traceback (most recent call last):
  File "/home/owbosh/.config/blender/3.3/scripts/addons/dream_textures/operators/dream_texture.py", line 136, in dream_texture
    generator.load_model()
  File "/home/owbosh/.config/blender/3.3/scripts/addons/dream_textures/stable_diffusion/ldm/generate.py", line 457, in load_model
    model = self._load_model_from_config(self.config, self.weights)
  File "/home/owbosh/.config/blender/3.3/scripts/addons/dream_textures/stable_diffusion/ldm/generate.py", line 578, in _load_model_from_config
    model = instantiate_from_config(c.model)
  File "/home/owbosh/.config/blender/3.3/scripts/addons/dream_textures/stable_diffusion/ldm/util.py", line 89, in instantiate_from_config
    return get_obj_from_str(config['target'])(
  File "/home/owbosh/.config/blender/3.3/scripts/addons/dream_textures/stable_diffusion/ldm/models/diffusion/ddpm.py", line 657, in __init__
    self.instantiate_cond_stage(cond_stage_config)
  File "/home/owbosh/.config/blender/3.3/scripts/addons/dream_textures/stable_diffusion/ldm/models/diffusion/ddpm.py", line 768, in instantiate_cond_stage
    model = instantiate_from_config(config)
  File "/home/owbosh/.config/blender/3.3/scripts/addons/dream_textures/stable_diffusion/ldm/util.py", line 89, in instantiate_from_config
    return get_obj_from_str(config['target'])(
  File "/home/owbosh/.config/blender/3.3/scripts/addons/dream_textures/stable_diffusion/ldm/modules/encoders/modules.py", line 245, in __init__
    self.tokenizer = CLIPTokenizer.from_pretrained(
  File "/usr/lib/python3.10/site-packages/transformers/tokenization_utils_base.py", line 1768, in from_pretrained
    raise EnvironmentError(
OSError: Can't load tokenizer for 'openai/clip-vit-large-patch14'. If you were trying to load it from 'https://huggingface.co/models', make sure you don't have a local directory with the same name. Otherwise, make sure 'openai/clip-vit-large-patch14' is the correct path to a directory containing all relevant files for a CLIPTokenizer tokenizer.
/home/owbosh/.config/blender/3.3/scripts/addons/dream_textures/async_loop.py:62: DeprecationWarning: There is no current event loop
  loop = asyncio.get_event_loop()

RuntimeError: expected scalar type Half but found Float

when i try to generate:

i'm spammed with deprecation warnings:
%appdata%\Blender Foundation\Blender\3.3\scripts\addons\dream_textures\async_loop.py:62: DeprecationWarning: There is no current event loop

here's the log when it fails with the above warnings filtered:


>> Loading model from %appdata%\Blender Foundation\Blender\3.3\scripts\addons\dream_textures\stable_diffusion/models/ldm/stable-diffusion-v1/model.ckpt
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
making attention of type 'vanilla' with 512 in_channels
Working with z of shape (1, 4, 32, 32) = 4096 dimensions.
making attention of type 'vanilla' with 512 in_channels
>> Using half precision math. Call with --full_precision to use more accurate but VRAM-intensive full precision.
>> Model loaded in 6.94s
>> Max VRAM used to load the model: 2.17G
>> Current VRAM usage:2.17G
>> Setting Sampler to k_lms
Generating:   0%|                                                                                | 0/1 [00:00<?, ?it/s]                                                                                      
%appdata%\Blender Foundation\Blender\3.3\scripts\addons\dream_textures\async_loop.py:62: DeprecationWarning: There is no current event loopoundation\Blender\3.3\scripts\addons\dream_textures\async_loop.py:62: Deprecati
  loop = asyncio.get_event_loop()ent 
  loop  0%|                                                                                           | 0/25 [00:00<?, ?it/s]
Generating:   0%|                                                                                | 0/1 [00:00<?, ?it/s]
Traceback (most recent call last):
  File "%appdata%\Blender Foundation\Blender\3.3\scripts\addons\dream_textures\stable_diffusion\ldm\generate.py", line 344, in prompt2image
    results = generator.generate(
  File "%appdata%\blender foundation\blender\3.3\scripts\addons\dream_textures\stable_diffusion\ldm\dream\generator\base.py", line 70, in generate
    image = make_image(x_T)
  File "C:\Program Files\Blender Foundation\Blender 3.3\3.3\python\lib\site-packages\torch\autograd\grad_mode.py", line 27, in decorate_context
    return func(*args, **kwargs)
  File "%appdata%\blender foundation\blender\3.3\scripts\addons\dream_textures\stable_diffusion\ldm\dream\generator\txt2img.py", line 30, in make_image
    samples, _ = sampler.sample(
  File "C:\Program Files\Blender Foundation\Blender 3.3\3.3\python\lib\site-packages\torch\autograd\grad_mode.py", line 27, in decorate_context
    return func(*args, **kwargs)
  File "%appdata%\blender foundation\blender\3.3\scripts\addons\dream_textures\stable_diffusion\ldm\models\diffusion\ksampler.py", line 83, in sample
    K.sampling.__dict__[f'sample_{self.schedule}'](
  File "C:\Program Files\Blender Foundation\Blender 3.3\3.3\python\lib\site-packages\torch\autograd\grad_mode.py", line 27, in decorate_context
    return func(*args, **kwargs)
  File "C:\Program Files\Blender Foundation\Blender 3.3\3.3\python\lib\site-packages\k_diffusion\sampling.py", line 186, in sample_lms
    denoised = model(x, sigmas[i] * s_in, **extra_args)
  File "C:\Program Files\Blender Foundation\Blender 3.3\3.3\python\lib\site-packages\torch\nn\modules\module.py", line 1110, in _call_impl
    return forward_call(*input, **kwargs)
  File "%appdata%\blender foundation\blender\3.3\scripts\addons\dream_textures\stable_diffusion\ldm\models\diffusion\ksampler.py", line 16, in forward
    uncond, cond = self.inner_model(x_in, sigma_in, cond=cond_in).chunk(2)
  File "C:\Program Files\Blender Foundation\Blender 3.3\3.3\python\lib\site-packages\torch\nn\modules\module.py", line 1110, in _call_impl
    return forward_call(*input, **kwargs)
  File "C:\Program Files\Blender Foundation\Blender 3.3\3.3\python\lib\site-packages\k_diffusion\external.py", line 100, in forward
    eps = self.get_eps(input * c_in, self.sigma_to_t(sigma), **kwargs)
  File "C:\Program Files\Blender Foundation\Blender 3.3\3.3\python\lib\site-packages\k_diffusion\external.py", line 126, in get_eps
    return self.inner_model.apply_model(*args, **kwargs)
  File "%appdata%\blender foundation\blender\3.3\scripts\addons\dream_textures\stable_diffusion\ldm\models\diffusion\ddpm.py", line 1440, in apply_model
    x_recon = self.model(x_noisy, t, **cond)
  File "C:\Program Files\Blender Foundation\Blender 3.3\3.3\python\lib\site-packages\torch\nn\modules\module.py", line 1110, in _call_impl
    return forward_call(*input, **kwargs)
  File "%appdata%\blender foundation\blender\3.3\scripts\addons\dream_textures\stable_diffusion\ldm\models\diffusion\ddpm.py", line 2148, in forward
    out = self.diffusion_model(x, t, context=cc)
  File "C:\Program Files\Blender Foundation\Blender 3.3\3.3\python\lib\site-packages\torch\nn\modules\module.py", line 1110, in _call_impl
    return forward_call(*input, **kwargs)
  File "%appdata%\blender foundation\blender\3.3\scripts\addons\dream_textures\stable_diffusion\ldm\modules\diffusionmodules\openaimodel.py", line 798, in forward
    emb = self.time_embed(t_emb)
  File "C:\Program Files\Blender Foundation\Blender 3.3\3.3\python\lib\site-packages\torch\nn\modules\module.py", line 1110, in _call_impl
    return forward_call(*input, **kwargs)
  File "C:\Program Files\Blender Foundation\Blender 3.3\3.3\python\lib\site-packages\torch\nn\modules\container.py", line 141, in forward
    input = module(input)
  File "C:\Program Files\Blender Foundation\Blender 3.3\3.3\python\lib\site-packages\torch\nn\modules\module.py", line 1110, in _call_impl
    return forward_call(*input, **kwargs)
  File "C:\Program Files\Blender Foundation\Blender 3.3\3.3\python\lib\site-packages\torch\nn\modules\linear.py", line 103, in forward
    return F.linear(input, self.weight, self.bias)
RuntimeError: expected scalar type Half but found Float
>> Could not generate image.
>> Usage stats:
>>   0 image(s) generated in
 
0.83s
>>   Max VRAM used for this generation:
 
2.21G.
 
Current VRAM utilization:
 
2.21G
>>   Max VRAM used since script start: 
 
2.21G

Can no longer activate the addon after installing

I previously managed to install the addon (v0.04) however had trouble verifying the update. I decided to reinstall dependencies and then to reinstall addon fully, however when activating addon (tested with 0.04 and 0.05) I get

Exception in module register(): C:\Users\Ollie\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\dream_textures\__init__.py Traceback (most recent call last): File "C:\Program Files\Blender Foundation\Blender 3.3\3.3\scripts\modules\addon_utils.py", line 369, in enable mod.register() File "C:\Users\Ollie\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\dream_textures\__init__.py", line 51, in register async_loop.setup_asyncio_executor() NameError: name 'async_loop' is not defined

I tried this on a fresh install of Blender 3.3 with the same result.

I'm using Windows 11

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.