python3.10에서 제공하는 ldm라이브러리가 아닌 laten-diffusion 에서 제공하는 ldm이 필요하다.
from ldhttp://m.modules.diffusionmodules.util import make_ddim_sampling_parameters, make_ddim_timesteps, noise_like, extract_into_tensor
File "/home/erica/.pyenv/versions/3.10.12/lib/python3.10/site-packages/ldm.py", line 20
print self.face_rec_model_path
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
해결방법 : 기존 ldm제거
pip uninstall ldm
신규 stable diffusion 을 위한 ldm 설치
'딥러닝 > 환경구축' 카테고리의 다른 글
[에러해결] error: RPC failed; curl 56 GnuTLS recv error (-9): Error decoding the received TLS packet. (0) | 2023.09.11 |
---|---|
hugging face ssl error (requests.exceptions.SSLError: HTTPSConnectionPool(host='huggingface.co', port=443) (0) | 2023.05.25 |
딥러닝 유용 사이트 모음 (0) | 2022.06.23 |
FOCS 설치 에러모음 (0) | 2022.06.23 |