TypeError: type str doesn't define __round__ method #548
Unanswered
mostafablender
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
error happened after i allow forge to download Segmentation files for controlnet and after it finish downloading forge brake , i exit it and start to open it again and its my errors :
venv "D:\Games\SSSSSSSSSSS\FORGE\stable-diffusion-webui-forge\venv\Scripts\Python.exe"
Python 3.10.9 (tags/v3.10.9:1dd9be6, Dec 6 2022, 20:01:21) [MSC v.1934 64 bit (AMD64)]
Version: f0.0.15v1.8.0rc-latest-212-g8283774b
Commit hash: 8283774
Found existing installation: onnxruntime 1.17.0
Uninstalling onnxruntime-1.17.0:
Successfully uninstalled onnxruntime-1.17.0
Found existing installation: onnxruntime-gpu 1.17.0
Uninstalling onnxruntime-gpu-1.17.0:
Successfully uninstalled onnxruntime-gpu-1.17.0
Looking in indexes: https://pypi.org/simple, https://aiinfra.pkgs.visualstudio.com/PublicPackages/_packaging/onnxruntime-cuda-12/pypi/simple/
Collecting onnxruntime-gpu
Downloading https://aiinfra.pkgs.visualstudio.com/2692857e-05ef-43b4-ba9c-ccf1c22c437c/_packaging/9387c3aa-d9ad-4513-968c-383f6f7f53b8/pypi/download/onnxruntime-gpu/1.17.1/onnxruntime_gpu-1.17.1-cp310-cp310-win_amd64.whl (149.1 MB)
-------------------------------------- 149.1/149.1 MB 2.3 MB/s eta 0:00:00
Requirement already satisfied: flatbuffers in d:\games\sssssssssss\forge\stable-diffusion-webui-forge\venv\lib\site-packages (from onnxruntime-gpu) (23.5.26)
Requirement already satisfied: numpy>=1.21.6 in d:\games\sssssssssss\forge\stable-diffusion-webui-forge\venv\lib\site-packages (from onnxruntime-gpu) (1.26.2)
Requirement already satisfied: protobuf in d:\games\sssssssssss\forge\stable-diffusion-webui-forge\venv\lib\site-packages (from onnxruntime-gpu) (3.20.3)
Requirement already satisfied: packaging in d:\games\sssssssssss\forge\stable-diffusion-webui-forge\venv\lib\site-packages (from onnxruntime-gpu) (23.2)
Requirement already satisfied: sympy in d:\games\sssssssssss\forge\stable-diffusion-webui-forge\venv\lib\site-packages (from onnxruntime-gpu) (1.12)
Requirement already satisfied: coloredlogs in d:\games\sssssssssss\forge\stable-diffusion-webui-forge\venv\lib\site-packages (from onnxruntime-gpu) (15.0.1)
Requirement already satisfied: humanfriendly>=9.1 in d:\games\sssssssssss\forge\stable-diffusion-webui-forge\venv\lib\site-packages (from coloredlogs->onnxruntime-gpu) (10.0)
Requirement already satisfied: mpmath>=0.19 in d:\games\sssssssssss\forge\stable-diffusion-webui-forge\venv\lib\site-packages (from sympy->onnxruntime-gpu) (1.3.0)
Requirement already satisfied: pyreadline3 in d:\games\sssssssssss\forge\stable-diffusion-webui-forge\venv\lib\site-packages (from humanfriendly>=9.1->coloredlogs->onnxruntime-gpu) (3.4.1)
Installing collected packages: onnxruntime-gpu
Successfully installed onnxruntime-gpu-1.17.1
CUDA 12.1
Launching Web UI with arguments: --ckpt-dir D:\Games\SSSSSSSSSSS\STABLE_DIFFUSION\stable-diffusion-webui\models\Stable-diffusion --hypernetwork-dir D:\Games\SSSSSSSSSSS\STABLE_DIFFUSION\stable-diffusion-webui\models\hypernetworks --embeddings-dir D:\Games\SSSSSSSSSSS\STABLE_DIFFUSION\stable-diffusion-webui\embeddings --lora-dir D:\Games\SSSSSSSSSSS\STABLE_DIFFUSION\stable-diffusion-webui\models\Lora --disable-xformers
Total VRAM 6144 MB, total RAM 16263 MB
Set vram state to: NORMAL_VRAM
Device: cuda:0 NVIDIA GeForce GTX 1060 with Max-Q Design : native
VAE dtype: torch.float32
Using pytorch cross attention
ControlNet preprocessor location: D:\Games\SSSSSSSSSSS\FORGE\stable-diffusion-webui-forge\models\ControlNetPreprocessor
yolov8x-world.pt: 100%|█████████████████████████████████████████████████████████████| 148M/148M [02:00<00:00, 1.23MB/s]
[-] ADetailer initialized. version: 24.3.0, num models: 16
04:32:23 - ReActor - STATUS - Running v0.7.0-b6 on Device: CUDA
Loading weights [fcca26dd6b] from D:\Games\SSSSSSSSSSS\STABLE_DIFFUSION\stable-diffusion-webui\models\Stable-diffusion\mergedmodel_robots.safetensors
2024-03-13 04:32:28,680 - ControlNet - INFO - ControlNet UI callback registered.
model_type EPS
UNet ADM Dimension 0
Running on local URL: http://127.0.0.1:7860
To create a public link, set
share=True
inlaunch()
.Startup time: 302.2s (prepare environment: 109.9s, import torch: 19.8s, import gradio: 10.6s, setup paths: 8.8s, initialize shared: 0.9s, other imports: 5.6s, setup gfpgan: 0.1s, list SD models: 0.8s, load scripts: 138.9s, initialize extra networks: 0.1s, create ui: 5.3s, gradio launch: 0.9s).
Traceback (most recent call last):
File "D:\Games\SSSSSSSSSSS\FORGE\stable-diffusion-webui-forge\venv\lib\site-packages\gradio\routes.py", line 488, in run_predict
output = await app.get_blocks().process_api(
File "D:\Games\SSSSSSSSSSS\FORGE\stable-diffusion-webui-forge\venv\lib\site-packages\gradio\blocks.py", line 1429, in process_api
inputs = self.preprocess_data(fn_index, inputs, state)
File "D:\Games\SSSSSSSSSSS\FORGE\stable-diffusion-webui-forge\venv\lib\site-packages\gradio\blocks.py", line 1239, in preprocess_data
processed_input.append(block.preprocess(inputs[i]))
File "D:\Games\SSSSSSSSSSS\FORGE\stable-diffusion-webui-forge\venv\lib\site-packages\gradio\components\number.py", line 182, in preprocess
return self._round_to_precision(x, self.precision)
File "D:\Games\SSSSSSSSSSS\FORGE\stable-diffusion-webui-forge\venv\lib\site-packages\gradio\components\number.py", line 124, in _round_to_precision
return int(round(num, precision))
TypeError: type str doesn't define round method
Beta Was this translation helpful? Give feedback.
All reactions