赞
踩
Latent Diffusion Models
GitHub - CompVis/latent-diffusion: High-Resolution Image Synthesis with Latent Diffusion Models
LDM环境配置:
pip install pytorch-lightning==1.6.1
pip install torch==1.10.1+cu111 torchvision==0.11.2+cu111 torchaudio==0.10.1 -f https://download.pytorch.org/whl/cu111/torch_stable.html
pip install -e git+https://github.com/CompVis/taming-transformers.git@master#egg=taming-transformers
pip install -e git+https://github.com/openai/CLIP.git@main#egg=clip
pip uninstall setuptools
pip install setuptools==59.5.0
pip install Pillow==9.5.0
下面这个未安装可能会引起:“NameError: name 'trainer' is not defined”
pip install test_tube
- #
- # Name Version Build Channel
- _libgcc_mutex 0.1 main
- _openmp_mutex 5.1 1_gnu
- absl-py 2.1.0 pypi_0 pypi
- aiohttp 3.9.3 pypi_0 pypi
- aiosignal 1.3.1 pypi_0 pypi
- albumentations 0.4.3 pypi_0 pypi
- altair 5.2.0 pypi_0 pypi
- antlr4-python3-runtime 4.8 pypi_0 pypi
- astunparse 1.6.3 pypi_0 pypi
- async-timeout 4.0.3 pypi_0 pypi
- attrs 23.2.0 pypi_0 pypi
- blas 1.0 mkl
- blinker 1.7.0 pypi_0 pypi
- ca-certificates 2023.12.12 h06a4308_0
- cachetools 5.3.3 pypi_0 pypi
- certifi 2024.2.2 pypi_0 pypi
- charset-normalizer 3.3.2 pypi_0 pypi
- click 8.1.7 pypi_0 pypi
- clip 1.0 dev_0 <develop>
- cudatoolkit 11.0.221 h6bb024c_0
- einops 0.7.0 pypi_0 pypi
- filelock 3.13.1 pypi_0 pypi
- flatbuffers 24.3.7 pypi_0 pypi
- freetype 2.12.1 h4a9f257_0
- frozenlist 1.4.1 pypi_0 pypi
- fsspec 2024.2.0 pypi_0 pypi
- ftfy 6.1.3 pypi_0 pypi
- future 1.0.0 pypi_0 pypi
- gast 0.4.0 pypi_0 pypi
- gitdb 4.0.11 pypi_0 pypi
- gitpython 3.1.42 pypi_0 pypi
- google-auth 2.28.2 pypi_0 pypi
- google-auth-oauthlib 0.4.6 pypi_0 pypi
- google-pasta 0.2.0 pypi_0 pypi
- grpcio 1.62.1 pypi_0 pypi
- h5py 3.10.0 pypi_0 pypi
- huggingface-hub 0.21.4 pypi_0 pypi
- idna 3.6 pypi_0 pypi
- imageio 2.9.0 pypi_0 pypi
- imageio-ffmpeg 0.4.2 pypi_0 pypi
- imgaug 0.2.6 pypi_0 pypi
- importlib-metadata 7.0.2 pypi_0 pypi
- importlib-resources 6.1.3 pypi_0 pypi
- intel-openmp 2021.4.0 h06a4308_3561
- jinja2 3.1.3 pypi_0 pypi
- joblib 1.3.2 pypi_0 pypi
- jpeg 9e h5eee18b_1
- jsonschema 4.21.1 pypi_0 pypi
- jsonschema-specifications 2023.12.1 pypi_0 pypi
- keras 2.11.0 pypi_0 pypi
- kornia 0.6.4 pypi_0 pypi
- latent-diffusion 0.0.1 dev_0 <develop>
- lazy-loader 0.3 pypi_0 pypi
- lcms2 2.12 h3be6417_0
- ld_impl_linux-64 2.38 h1181459_1
- lerc 3.0 h295c915_0
- libclang 16.0.6 pypi_0 pypi
- libdeflate 1.17 h5eee18b_1
- libffi 3.3 he6710b0_2
- libgcc-ng 11.2.0 h1234567_1
- libgfortran-ng 11.2.0 h00389a5_1
- libgfortran5 11.2.0 h1234567_1
- libgomp 11.2.0 h1234567_1
- libpng 1.6.39 h5eee18b_0
- libstdcxx-ng 11.2.0 h1234567_1
- libtiff 4.5.1 h6a678d5_0
- libuv 1.44.2 h5eee18b_0
- libwebp-base 1.3.2 h5eee18b_0
- lightning-utilities 0.10.1 pypi_0 pypi
- lz4-c 1.9.4 h6a678d5_0
- markdown 3.5.2 pypi_0 pypi
- markdown-it-py 3.0.0 pypi_0 pypi
- markupsafe 2.1.5 pypi_0 pypi
- mdurl 0.1.2 pypi_0 pypi
- mkl 2021.4.0 h06a4308_640
- mkl-service 2.4.0 py38h7f8727e_0
- mkl_fft 1.3.1 py38hd3c417c_0
- mkl_random 1.2.2 py38h51133e4_0
- mpmath 1.3.0 pypi_0 pypi
- multidict 6.0.5 pypi_0 pypi
- ncurses 6.4 h6a678d5_0
- networkx 3.1 pypi_0 pypi
- ninja 1.10.2 h06a4308_5
- ninja-base 1.10.2 hd09550d_5
- numpy 1.24.4 pypi_0 pypi
- nvidia-cublas-cu12 12.1.3.1 pypi_0 pypi
- nvidia-cuda-cupti-cu12 12.1.105 pypi_0 pypi
- nvidia-cuda-nvrtc-cu12 12.1.105 pypi_0 pypi
- nvidia-cuda-runtime-cu12 12.1.105 pypi_0 pypi
- nvidia-cudnn-cu12 8.9.2.26 pypi_0 pypi
- nvidia-cufft-cu12 11.0.2.54 pypi_0 pypi
- nvidia-curand-cu12 10.3.2.106 pypi_0 pypi
- nvidia-cusolver-cu12 11.4.5.107 pypi_0 pypi
- nvidia-cusparse-cu12 12.1.0.106 pypi_0 pypi
- nvidia-nccl-cu12 2.19.3 pypi_0 pypi
- nvidia-nvjitlink-cu12 12.4.99 pypi_0 pypi
- nvidia-nvtx-cu12 12.1.105 pypi_0 pypi
- oauthlib 3.2.2 pypi_0 pypi
- omegaconf 2.1.1 pypi_0 pypi
- opencv-python 4.1.2.30 pypi_0 pypi
- opencv-python-headless 4.9.0.80 pypi_0 pypi
- openjpeg 2.4.0 h3ad879b_0
- openssl 1.1.1w h7f8727e_0
- opt-einsum 3.3.0 pypi_0 pypi
- packaging 23.2 pypi_0 pypi
- pandas 2.0.3 pypi_0 pypi
- pillow 10.2.0 py38h5eee18b_0
- pip 20.3.3 py38h06a4308_0
- pkgutil-resolve-name 1.3.10 pypi_0 pypi
- protobuf 3.19.6 pypi_0 pypi
- pudb 2019.2 pypi_0 pypi
- pyarrow 15.0.1 pypi_0 pypi
- pyasn1 0.5.1 pypi_0 pypi
- pyasn1-modules 0.3.0 pypi_0 pypi
- pydeck 0.8.1b0 pypi_0 pypi
- pydeprecate 0.3.1 pypi_0 pypi
- pygments 2.17.2 pypi_0 pypi
- python 3.8.5 h7579374_1
- python-dateutil 2.9.0.post0 pypi_0 pypi
- pytorch-lightning 1.6.1 pypi_0 pypi
- pytz 2024.1 pypi_0 pypi
- pywavelets 1.4.1 pypi_0 pypi
- pyyaml 6.0.1 pypi_0 pypi
- readline 8.2 h5eee18b_0
- referencing 0.33.0 pypi_0 pypi
- regex 2023.12.25 pypi_0 pypi
- requests 2.31.0 pypi_0 pypi
- requests-oauthlib 1.3.1 pypi_0 pypi
- rich 13.7.1 pypi_0 pypi
- rpds-py 0.18.0 pypi_0 pypi
- rsa 4.9 pypi_0 pypi
- sacremoses 0.1.1 pypi_0 pypi
- scann 1.2.9 pypi_0 pypi
- scikit-image 0.20.0 pypi_0 pypi
- scipy 1.9.1 pypi_0 pypi
- setuptools 59.5.0 pypi_0 pypi
- six 1.16.0 pyhd3eb1b0_1
- smmap 5.0.1 pypi_0 pypi
- sqlite 3.41.2 h5eee18b_0
- streamlit 1.32.0 pypi_0 pypi
- sympy 1.12 pypi_0 pypi
- taming-transformers 0.0.1 dev_0 <develop>
- tenacity 8.2.3 pypi_0 pypi
- tensorboard 2.11.2 pypi_0 pypi
- tensorboard-data-server 0.6.1 pypi_0 pypi
- tensorboard-plugin-wit 1.8.1 pypi_0 pypi
- tensorflow 2.11.1 pypi_0 pypi
- tensorflow-estimator 2.11.0 pypi_0 pypi
- tensorflow-io-gcs-filesystem 0.34.0 pypi_0 pypi
- termcolor 2.4.0 pypi_0 pypi
- test-tube 0.7.5 pypi_0 pypi
- tifffile 2023.7.10 pypi_0 pypi
- tk 8.6.12 h1ccaba5_0
- tokenizers 0.12.1 pypi_0 pypi
- toml 0.10.2 pypi_0 pypi
- toolz 0.12.1 pypi_0 pypi
- torch 1.10.1+cu111 pypi_0 pypi
- torch-fidelity 0.3.0 pypi_0 pypi
- torchaudio 0.10.1+cu111 pypi_0 pypi
- torchmetrics 1.3.1 pypi_0 pypi
- torchvision 0.11.2+cu111 pypi_0 pypi
- tornado 6.4 pypi_0 pypi
- tqdm 4.66.2 pypi_0 pypi
- transformers 4.19.2 pypi_0 pypi
- triton 2.2.0 pypi_0 pypi
- typing_extensions 4.9.0 py38h06a4308_1
- tzdata 2024.1 pypi_0 pypi
- urllib3 2.2.1 pypi_0 pypi
- urwid 2.6.8 pypi_0 pypi
- watchdog 4.0.0 pypi_0 pypi
- wcwidth 0.2.13 pypi_0 pypi
- werkzeug 3.0.1 pypi_0 pypi
- wheel 0.41.2 py38h06a4308_0
- wrapt 1.16.0 pypi_0 pypi
- xz 5.4.6 h5eee18b_0
- yarl 1.9.4 pypi_0 pypi
- zipp 3.17.0 pypi_0 pypi
- zlib 1.2.13 h5eee18b_0
- zstd 1.5.5 hc292b87_0
Traceback (most recent call last):
File "main.py", line 752, in <module>
if trainer.global_rank == 0:
NameError: name 'trainer' is not defined
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。