When training lora model using train_text_to_image_lora.py, it reports errors like
UNet2DConditionModel object has no attribute attn_processors. Did you mean: set_attn_processor
After investigate reported error line in diffusers/loaders.py, and compare it with diffusers (version used) source code. Finally it is found that it is caused by diffusers package version. Uninstall the diffusers and re-install a lower version, problem fixed.
Most errors found in stable diffusion usage, which is caused by version mismatch. If you find diffusers or transformers related errors, first step is to check package version.
-
Previous
Cheap and delicious hawker center lunch at bugis -
Next
/usr/lib/x86_64-linux-gnu/libstdc++.so.6: version GLIBCXX_3.4.29 not found
FEATURED TAGS
computer program
javascript
nvm
node.js
Pipenv
Python
美食
AI
artifical intelligence
Machine learning
data science
digital optimiser
user profile
Cooking
cycling
green railway
feature spot
景点
work
technology
F1
中秋节
dog
setting sun
sql
photograph
Alexandra canal
flowers
bee
greenway corridors
programming
C++
passion fruit
sentosa
Marina bay sands
pigeon
squirrel
Pandan reservoir
rain
otter
Christmas
orchard road
PostgreSQL
fintech
sunset
thean hou temple in sungai lembing
海上日出
SQL optimization
pieces of memory
回忆
garden festival
ta-lib
backtrader
chatGPT
stable diffusion webui
draw.io
streamlit
LLM
prompt engineering
fastapi
stock trading
artificial-intelligence