#NSFW off?

18 messages · Page 1 of 1 (latest)

lean flint
#

Hi All,

Ive been reading thru here and I know you have to enter this: --no-nsfw_checker to the 'invoke.sh.in' (Im on a Mac) but it doesn't seem to work if I switch models?

This is how I have added it so please tell me if I am wrong:

#!/bin/bash

cd "$(dirname "${BASH_SOURCE[0]}")"

INSTALL_ENV_DIR="$(pwd)/installer_files/env"
if [ -e "$INSTALL_ENV_DIR" ]; then export PATH="$INSTALL_ENV_DIR/bin:$PATH"; fi

CONDA_BASEPATH=$(conda info --base)
source "$CONDA_BASEPATH/etc/profile.d/conda.sh" # otherwise conda complains about 'shell not initialized' (needed when running in a script)

conda activate invokeai

set required env var for torch on mac MPS

if [ "$(uname -s)" == "Darwin" ]; then
export PYTORCH_ENABLE_MPS_FALLBACK=1
fi

if [ "$0" != "bash" ]; then
echo "Do you want to generate images using the"
echo "1. command-line"
echo "2. browser-based UI"
echo "3. open the developer console"
read -p "Please enter 1, 2, or 3: " yn
case $yn in
1 ) printf "\nStarting the InvokeAI command-line..\n"; python scripts/invoke.py $;;
2 ) printf "\nStarting the InvokeAI browser-based UI..\n"; python scripts/invoke.py --web $
;;
3 ) printf "\nDeveloper Console:\n"; file_name=$(basename "${BASH_SOURCE[0]}"); bash --init-file "$file_name";;
* ) echo "Invalid selection"; exit;;
esac
else # in developer console
python --version
echo "Press ^D to exit"
export PS1="(InvokeAI) \u@\h \w> "
fi

--no-nsfw_checker


It's now not working again if I choose ddim in the 'sampler' dropdown and I thought it would 'globally' turn off?

On original install I set is as 'on' by mistake as I didn't want to mess too much with install (after nightmares on new iMac of trying to install 1111 for a week!)

Any help most appreciated.

thnks
Skully

hushed ermine
#

It's the .invoke file in your users/username/ folder

lean flint
hushed ermine
#

Have you completed the install yet?

lean flint
#

Yes. I have been making images for the past few days, that is why I am confused? It only stopped again today and blurred-out the image

#

I am on an iMac M1

#

I run a new Terminal Window from my directory: Macintosh HD>Users>MyName>invokeAi and the script in `terminal window I run is './invoke.sh' and it runs fine. I select 2 to open browser and it gives me the local address to point my browser at and off we go! All cushty 🙂 But it is still giving me blurred images (NFSW) ** An image with potential non-safe content has been detected. A blurred image will be returned. ** on only the second render (2/2)

I am sure this is a User Error and an easy fix, just need a wee bit of help in that direction 🙂

hushed ermine
#

can you share the logs that display in your terminal when you start?

#

this will tell us where your .invokeai file is

cosmic kiln
lean flint
young raptor
#

regarding disabled NSFW checker

even if its off, sometimes (or in my case pretty often) it still generates weirdly censored images, so i guess there might be some bugs in the checker?

hushed ermine
#

As in it has the blur and warning?

young raptor
#

either extremely weird white lines or deformed text, if that describes the best 😅

hushed ermine
#

That isn’t related to nsfw checker

young raptor
#

hm ok 😄 weird

pulsar olive
#

I’ve got 2.2.4 and I do not see that file even among the hidden . ones. Any suggestions?