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

"No model selected" only when a model is selected #763

Open
WeatherWonders opened this issue Dec 13, 2023 · 5 comments
Open

"No model selected" only when a model is selected #763

WeatherWonders opened this issue Dec 13, 2023 · 5 comments
Labels
bug Something isn't working stale The issue has not been updated in a while, and is likely outdated

Comments

@WeatherWonders
Copy link

WeatherWonders commented Dec 13, 2023

Description

In the image editor, when no model is selected (as in a new scene) in the "Dream Texture" section, there is no warning saying "no model selected". When I select a model, the warning appears and the "generate" button is still disabled, even after I click the X next to it.

v0.2 didn't have this issue, and the upscaler section works fine (except that you have to click the X twice initially to enable the "generate" button). Downloading a model or turning the add-on off and back on again fixes the issue until Blender is restarted.

Steps to Reproduce

  1. Ensure the add-on is enabled and a model has been downloaded (e.g. the recommended stabilityai ones).
  2. Restart Blender.
  3. Go to the "Dream" tab in the image editor.
  4. Set "Model" at the top to any option.

Expected Behavior

"No model selected" would appear with the drop-down to select one when dream_textures_prompt.model is an empty string, and would disappear and allow clicking "generate" when that property is a non-empty string (or, ideally, a model name).

Addon Version

Windows (CUDA)

GPU

NVIDIA

@WeatherWonders WeatherWonders added the bug Something isn't working label Dec 13, 2023
@yoyoyeahyoyo
Copy link

in the meantime, i found that if i close the dream texture tab, and toggle the plugin from disabled to enabled in edit->preferences, that resets that start button and it works again. so seems like a simple UI bug. im on linux with amd gpu

@agosch
Copy link

agosch commented Jan 29, 2024

I have the same problem on Windows 11 with Blender 4.0.

Steps to reproduce:

  1. Install Add-On and complete Setup
  2. Restart Blender
  3. Try to create a new texture, and after a model is selected it will tell you that "No model selected"

Add-On version: 0.3.1 CUDA (Windows)

GPU: NVidia RTX 4090

The workaround from @yoyoyeahyoyo works for me.

@Luciijfea
Copy link

I'm using Windows 10 x64 with Blender 4.0.2 and also got the same bug.
Add-On version: 0.3.1 CUDA (Windows)
GPU: NVIDIA GeForce RTX 2070 Super

Now while I did not find a real solution, I did make the Workaround a little shorter by editing
%APPDATA%\Roaming\Blender Foundation\Blender\4.0\scripts\addons\dream_textures\ diffusers_backend.py

Instead of raising FixItError() I simply:

265        if model is None:
267            pass
268            #raise FixItError("No model selected.", FixItError.ChangeProperty("model"))
269        else:
270                ...

This way, instead of going into settings and unloading/reloading the AddOn, all you have to do is click on "Release Generator" (X to the right of the "► Generate"-Button)

@ThaNoodles
Copy link

Hello, I have same problem in M1 Max Pro. "no model selected" every time I try to use it.

Copy paste description and steps because is the same). Work around is similar as just rechecking the addon though sometimes it doesn't work.

Description
In the image editor, when no model is selected (as in a new scene) in the "Dream Texture" section, there is no warning saying "no model selected". When I select a model, the warning appears and the "generate" button is still disabled, even after I click the X next to it.

Steps to Reproduce
Ensure the add-on is enabled and a model has been downloaded (e.g. the recommended stabilityai ones).
Restart Blender.
Go to the "Dream" tab in the image editor.
Set "Model" at the top to any option.

Expected Behavior
"No model selected" would appear with the drop-down to select one when dream_textures_prompt.model is an empty string, and would disappear and allow clicking "generate" when that property is a non-empty string (or, ideally, a model name).

Copy link

This issue is stale because it has been open for 60 days with no activity.

@github-actions github-actions bot added the stale The issue has not been updated in a while, and is likely outdated label May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working stale The issue has not been updated in a while, and is likely outdated
Projects
None yet
Development

No branches or pull requests

5 participants