-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not starting & Giving Error. #439
Comments
Thank you for reporting this bug. It has been fixed in |
|
Maybe you can try removing xformers. When the PyTorch version is greater than 2.0, diffusers will automatically use memory-efficient attention, and xformers are not needed. https://huggingface.co/docs/diffusers/v0.26.1/en/optimization/torch2.0 |
Thanks, but still I am getting the same error which I mentioned before. Thank You It would have been of great help, if there would have been a 1Click Windows Installer for IOPiant |
I tried & tried many times, but was getting the above mentioned error again & again, so left with no option to just reinstall it. I think there's an issue for which Fix can't be done. Anyways Thanks a lot for your help. Thank You |
This issue is stale because it has been open for 30 days with no activity. |
Hi,
I am getting this below mentioned error when trying to start.
┌─────────────────────────────── Traceback (most recent call last) ────────────────────────────────┐
│ C:\Users\vkark\anaconda3\lib\site-packages\typer_config\decorators.py:92 in wrapped │
│ │
│ C:\Users\vkark\anaconda3\lib\site-packages\iopaint\cli.py:159 in start │
│ │
│ 156 │ │
│ 157 │ from iopaint.download import cli_download_model, scan_models │
│ 158 │ │
│ > 159 │ scanned_models = scan_models() │
│ 160 │ if model not in [it.name for it in scanned_models]: │
│ 161 │ │ logger.info(f"{model} not found in {model_dir}, try to downloading") │
│ 162 │ │ cli_download_model(model) │
│ │
│ C:\Users\vkark\anaconda3\lib\site-packages\iopaint\download.py:202 in scan_models │
│ │
│ 199 │ diffusers_model_names = [] │
│ 200 │ for it in cache_dir.glob("**/*/model_index.json"): │
│ 201 │ │ with open(it, "r", encoding="utf-8") as f: │
│ > 202 │ │ │ data = json.load(f) │
│ 203 │ │ │ class_name = data["class_name"] │
│ 204 │ │ │ name = folder_name_to_show_name(it.parent.parent.parent.name) │
│ 205 │ │ │ if name in diffusers_model_names: │
│ │
│ C:\Users\vkark\anaconda3\lib\json_init.py:293 in load │
│ │
│ 290 │ To use a custom
JSONDecoder
subclass, specify it with thecls
││ 291 │ kwarg; otherwise
JSONDecoder
is used. ││ 292 │ """ │
│ > 293 │ return loads(fp.read(), │
│ 294 │ │ cls=cls, object_hook=object_hook, │
│ 295 │ │ parse_float=parse_float, parse_int=parse_int, │
│ 296 │ │ parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw) │
│ │
│ C:\Users\vkark\anaconda3\lib\json_init.py:346 in loads │
│ │
│ 343 │ if (cls is None and object_hook is None and │
│ 344 │ │ │ parse_int is None and parse_float is None and │
│ 345 │ │ │ parse_constant is None and object_pairs_hook is None and not kw): │
│ > 346 │ │ return _default_decoder.decode(s) │
│ 347 │ if cls is None: │
│ 348 │ │ cls = JSONDecoder │
│ 349 │ if object_hook is not None: │
│ │
│ C:\Users\vkark\anaconda3\lib\json\decoder.py:337 in decode │
│ │
│ 334 │ │ containing a JSON document). │
│ 335 │ │ │
│ 336 │ │ """ │
│ > 337 │ │ obj, end = self.raw_decode(s, idx=_w(s, 0).end()) │
│ 338 │ │ end = _w(s, end).end() │
│ 339 │ │ if end != len(s): │
│ 340 │ │ │ raise JSONDecodeError("Extra data", s, end) │
│ │
│ C:\Users\vkark\anaconda3\lib\json\decoder.py:355 in raw_decode │
│ │
│ 352 │ │ try: │
│ 353 │ │ │ obj, end = self.scan_once(s, idx) │
│ 354 │ │ except StopIteration as err: │
│ > 355 │ │ │ raise JSONDecodeError("Expecting value", s, err.value) from None │
│ 356 │ │ return obj, end │
│ 357 │
└──────────────────────────────────────────────────────────────────────────────────────────────────┘
JSONDecodeError: Expecting value: line 1 column 1 (char 0)
(base) C:\WINDOWS\system32>
Pls Assist...
Thank You
The text was updated successfully, but these errors were encountered: