TensorFlow error and Interrogate DeepBooru error
Describe the bug
A clear and concise description of what the bug is: TensorFlow error and Interrogate DeepBooru
Load ARGS: COMMANDLINE_ARGS=--medvram --opt-split-attention --precision autocast --deepdanbooru
To Reproduce Steps to reproduce the behavior:
- Go to 'IMG2IMG and load an image'
- Click on ''Interrogate DeepBooru'
- Scroll down to '=> wait
- See error
Expected behavior Recive DeepBooru tags from a given image
Screenshots
To create a public link, set share=Trueinlaunch(). 2022-10-19 17:40:15.519415: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cudnn64_8.dll'; dlerror: cudnn64_8.dll not found 2022-10-19 17:40:15.520581: W tensorflow/core/common_runtime/gpu/gpu_device.cc:1934] Cannot dlopen some GPU libraries. Please make sure the missing libraries mentioned above are installed properly if you would like to use GPU. Follow the guide at https://www.tensorflow.org/install/gpu for how to download and setup the required libraries for your platform. Skipping registering GPU devices... 2022-10-19 17:40:15.522722: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations: AVX AVX2 To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags. 1/1 [==============================] - 5s 5s/step Process Process-2: Traceback (most recent call last): File "C:\Python38\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() File "C:\Python38\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) File "L:\StableDiffussionWebUI\modules\deepbooru.py", line 41, in deepbooru_process deepbooru_process_return["value"] = get_deepbooru_tags_from_model(model, tags, pil_image, threshold, deepbooru_opts) File "L:\StableDiffussionWebUI\modules\deepbooru.py", line 140, in get_deepbooru_tags_from_model result_dict[tag] = y[i] IndexError: index 9176 is out of bounds for axis 0 with size 9176
Desktop (please complete the following information):
- OS: Windows 10
- Browser Vivaldi (Chromium based)
- Commit revision f894dd552f68bea27476f1f360ab8e79f3a65b4f
Additional context RTX 2060
https://www.tensorflow.org/install/gpu try following windows instructions and install tensorflow manually
I met that bug. You can install tensorflow-cpu to avoid the bug.
Closing as stale.