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 attribute 'drop_path' error when running against image #3

Open
FlyingRhenquest opened this issue Jan 18, 2024 · 1 comment
Open

Comments

@FlyingRhenquest
Copy link

I'm receiving a "No attribute 'drop_path' error when running this extension against an image. Apparently this is an issue between Midas and timm -- reverting to timm 0.6.13 works around it. Brief steps for that are:

  • cd to your stable-diffusion-webui directory
  • Modify webui-user.bat and add "--skip-install" to your command line args (or timm will be reverted to latest)
  • .\venv\Scripts\pip install timm==0.6.13
  • Start stable diffusion with webui-user.bat
@AlexandrMilko
Copy link

It did not work for one of the latest versions of stable-diffusion-webui as of 08.04.2024
But I used an older version of stable-diffusion-webui and now it works:
Version: v1.3.0-134-g0bf09c30
Commit hash: 0bf09c30c608ebe63fb154bd197e4baad978de63

Although, there was a different error with httpx:
TypeError: AsyncConnectionPool.init() got an unexpected keyword argument 'socket_options'
which is easily fixable by adding "httpx==0.24.1" to requirements_versions.txt.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants