Advertisement
Guest User

Untitled

a guest
Apr 10th, 2023
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.90 KB | Source Code | 0 0
  1. ╭───────────────────── Traceback (most recent call last) ──────────────────────╮
  2. │ /content/stable-diffusion-webui/launch.py:356 in <module> │
  3. │ │
  4. │ 353 │
  5. │ 354 if __name__ == "__main__": │
  6. │ 355 │ prepare_environment() │
  7. │ ❱ 356 │ start() │
  8. │ 357 │
  9. │ │
  10. │ /content/stable-diffusion-webui/launch.py:347 in start │
  11. │ │
  12. │ 344 │
  13. │ 345 def start(): │
  14. │ 346 │ print(f"Launching {'API server' if '--nowebui' in sys.argv else 'W │
  15. │ ❱ 347 │ import webui │
  16. │ 348 │ if '--nowebui' in sys.argv: │
  17. │ 349 │ │ webui.api_only() │
  18. │ 350 │ else: │
  19. │ │
  20. │ /content/stable-diffusion-webui/webui.py:31 in <module> │
  21. │ │
  22. │ 28 import ldm.modules.encoders.modules │
  23. │ 29 startup_timer.record("import ldm") │
  24. │ 30 │
  25. │ ❱ 31 from modules import extra_networks, ui_extra_networks_checkpoints │
  26. │ 32 from modules import extra_networks_hypernet, ui_extra_networks_hyperne │
  27. │ 33 from modules.call_queue import wrap_queued_call, queue_lock, wrap_grad │
  28. │ 34 │
  29. │ │
  30. │ /content/stable-diffusion-webui/modules/ui_extra_networks_checkpoints.py:5 │
  31. │ in <module> │
  32. │ │
  33. │ 2 import json │
  34. │ 3 import os │
  35. │ 4 │
  36. │ ❱ 5 from modules import shared, ui_extra_networks, sd_models │
  37. │ 6 │
  38. │ 7 │
  39. │ 8 class ExtraNetworksPageCheckpoints(ui_extra_networks.ExtraNetworksPage) │
  40. │ │
  41. │ /content/stable-diffusion-webui/modules/shared.py:580 in <module> │
  42. │ │
  43. │ 577 │
  44. │ 578 opts = Options() │
  45. │ 579 if os.path.exists(config_filename): │
  46. │ ❱ 580 │ opts.load(config_filename) │
  47. │ 581 │
  48. │ 582 settings_components = None │
  49. │ 583 """assinged from ui.py, a mapping on setting anmes to gradio component │
  50. │ │
  51. │ /content/stable-diffusion-webui/modules/shared.py:517 in load │
  52. │ │
  53. │ 514 │ │
  54. │ 515 │ def load(self, filename): │
  55. │ 516 │ │ with open(filename, "r", encoding="utf8") as file: │
  56. │ ❱ 517 │ │ │ self.data = json.load(file) │
  57. │ 518 │ │ │
  58. │ 519 │ │ bad_settings = 0 │
  59. │ 520 │ │ for k, v in self.data.items(): │
  60. │ │
  61. │ /usr/lib/python3.9/json/__init__.py:293 in load │
  62. │ │
  63. │ 290 │ To use a custom ``JSONDecoder`` subclass, specify it with the ``cl │
  64. │ 291 │ kwarg; otherwise ``JSONDecoder`` is used. │
  65. │ 292 │ """ │
  66. │ ❱ 293 │ return loads(fp.read(), │
  67. │ 294 │ │ cls=cls, object_hook=object_hook, │
  68. │ 295 │ │ parse_float=parse_float, parse_int=parse_int, │
  69. │ 296 │ │ parse_constant=parse_constant, object_pairs_hook=object_pairs_ │
  70. │ │
  71. │ /usr/lib/python3.9/json/__init__.py:346 in loads │
  72. │ │
  73. │ 343 │ if (cls is None and object_hook is None and │
  74. │ 344 │ │ │ parse_int is None and parse_float is None and │
  75. │ 345 │ │ │ parse_constant is None and object_pairs_hook is None and n │
  76. │ ❱ 346 │ │ return _default_decoder.decode(s) │
  77. │ 347 │ if cls is None: │
  78. │ 348 │ │ cls = JSONDecoder │
  79. │ 349 │ if object_hook is not None: │
  80. │ │
  81. │ /usr/lib/python3.9/json/decoder.py:340 in decode │
  82. │ │
  83. │ 337 │ │ obj, end = self.raw_decode(s, idx=_w(s, 0).end()) │
  84. │ 338 │ │ end = _w(s, end).end() │
  85. │ 339 │ │ if end != len(s): │
  86. │ ❱ 340 │ │ │ raise JSONDecodeError("Extra data", s, end) │
  87. │ 341 │ │ return obj │
  88. │ 342 │ │
  89. │ 343 │ def raw_decode(self, s, idx=0): │
  90. ╰──────────────────────────────────────────────────────────────────────────────╯
  91. JSONDecodeError: Extra data: line 176 column 2 (char 6560)
  92. ╭───────────────────── Traceback (most recent call last) ──────────────────────╮
  93. │ /usr/local/bin/accelerate:8 in <module> │
  94. │ │
  95. │ 5 from accelerate.commands.accelerate_cli import main │
  96. │ 6 if __name__ == '__main__': │
  97. │ 7 │ sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) │
  98. │ ❱ 8 │ sys.exit(main()) │
  99. │ 9 │
  100. │ │
  101. │ /usr/local/lib/python3.9/dist-packages/accelerate/commands/accelerate_cli.py │
  102. │ :45 in main │
  103. │ │
  104. │ 42 │ │ exit(1) │
  105. │ 43 │ │
  106. │ 44 │ # Run │
  107. │ ❱ 45 │ args.func(args) │
  108. │ 46 │
  109. │ 47 │
  110. │ 48 if __name__ == "__main__": │
  111. │ │
  112. │ /usr/local/lib/python3.9/dist-packages/accelerate/commands/launch.py:923 in │
  113. │ launch_command │
  114. │ │
  115. │ 920 │ elif defaults is not None and defaults.compute_environment == Comp │
  116. │ 921 │ │ sagemaker_launcher(defaults, args) │
  117. │ 922 │ else: │
  118. │ ❱ 923 │ │ simple_launcher(args) │
  119. │ 924 │
  120. │ 925 │
  121. │ 926 def main(): │
  122. │ │
  123. │ /usr/local/lib/python3.9/dist-packages/accelerate/commands/launch.py:579 in │
  124. │ simple_launcher │
  125. │ │
  126. │ 576 │ process.wait() │
  127. │ 577 │ if process.returncode != 0: │
  128. │ 578 │ │ if not args.quiet: │
  129. │ ❱ 579 │ │ │ raise subprocess.CalledProcessError(returncode=process.ret │
  130. │ 580 │ │ else: │
  131. │ 581 │ │ │ sys.exit(1) │
  132. │ 582 │
  133. ╰──────────────────────────────────────────────────────────────────────────────╯
  134. CalledProcessError: Command '['/usr/bin/python3', 'launch.py']' returned
  135. non-zero exit status 1.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement