mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
b159b2fe42
Now you can activate the Hugging Face `diffusers` library safety check for NSFW and other potentially disturbing imagery. To turn on the safety check, pass --safety_checker at the command line. For developers, the flag is `safety_checker=True` passed to ldm.generate.Generate(). Once the safety checker is turned on, it cannot be turned off unless you reinitialize a new Generate object. When the safety checker is active, suspect images will be blurred and a warning icon is added. There is also a warning message printed in the CLI, but it can be a little hard to see because of its positioning in the output stream. There is a slight but noticeable delay when the safety checker runs. Note that invisible watermarking is *not* currently implemented. The watermark code distributed by the CompViz distribution uses a library that does not seem to be able to retrieve the watermarks it creates, and it does not appear that Hugging Face `diffusers` or other SD distributions are doing any watermarking.
65 lines
1.8 KiB
YAML
65 lines
1.8 KiB
YAML
name: invokeai
|
|
channels:
|
|
- pytorch
|
|
- conda-forge
|
|
dependencies:
|
|
- python==3.9.13
|
|
- pip==22.2.2
|
|
|
|
# pytorch left unpinned
|
|
- pytorch==1.12.1
|
|
- torchvision==0.13.1
|
|
|
|
# I suggest to keep the other deps sorted for convenience.
|
|
# To determine what the latest versions should be, run:
|
|
#
|
|
# ```shell
|
|
# sed -E 's/ldm/ldm-updated/;20,99s/- ([^=]+)==.+/- \1/' environment-mac.yml > environment-mac-updated.yml
|
|
# CONDA_SUBDIR=osx-arm64 conda env create -f environment-mac-updated.yml && conda list -n ldm-updated | awk ' {print " - " $1 "==" $2;} '
|
|
# ```
|
|
- albumentations==1.2.1
|
|
- coloredlogs==15.0.1
|
|
- diffusers==0.6.0
|
|
- einops==0.4.1
|
|
- grpcio==1.46.4
|
|
- humanfriendly==10.0
|
|
- imageio==2.21.2
|
|
- imageio-ffmpeg==0.4.7
|
|
- imgaug==0.4.0
|
|
- kornia==0.6.7
|
|
- mpmath==1.2.1
|
|
- nomkl=1.0
|
|
- numpy==1.23.2
|
|
- omegaconf==2.1.1
|
|
- openh264==2.3.0
|
|
- onnx==1.12.0
|
|
- onnxruntime==1.12.1
|
|
- pudb==2022.1
|
|
- pytorch-lightning==1.7.5
|
|
- scipy==1.9.1
|
|
- streamlit==1.12.2
|
|
- sympy==1.10.1
|
|
- tensorboard==2.10.0
|
|
- torchmetrics==0.9.3
|
|
- pip:
|
|
- flask==2.1.3
|
|
- flask_socketio==5.3.0
|
|
- flask_cors==3.0.10
|
|
- dependency_injector==4.40.0
|
|
- eventlet==0.33.1
|
|
- opencv-python==4.6.0
|
|
- protobuf==3.19.6
|
|
- realesrgan==0.2.5.0
|
|
- send2trash==1.8.0
|
|
- test-tube==0.7.5
|
|
- transformers==4.21.3
|
|
- torch-fidelity==0.3.0
|
|
- -e git+https://github.com/CompVis/taming-transformers.git@master#egg=taming-transformers
|
|
- -e git+https://github.com/openai/CLIP.git@main#egg=clip
|
|
- -e git+https://github.com/Birch-san/k-diffusion.git@mps#egg=k_diffusion
|
|
- -e git+https://github.com/TencentARC/GFPGAN.git#egg=gfpgan
|
|
- -e git+https://github.com/invoke-ai/clipseg.git@models-rename#egg=clipseg
|
|
- -e .
|
|
variables:
|
|
PYTORCH_ENABLE_MPS_FALLBACK: 1
|