Open bennitheblog opened 1 year ago
Hi. There's been quite a number of optimizations since the so you may want to try again. Regardless, here you go https://colab.research.google.com/drive/1hQd6vyF-L5XgBErCjmEZX8hazYt0-iXo?usp=sharing
Thank you! I ran this and got this error:
Traceback (most recent call last):
File "SD_rebasin_merge.py", line 5, in
/content/drive/MyDrive/sd/stable-diffusion-webui/models/Stable-diffusion is where I've saved everything; your code files and also my ckpts.
Yes, everything is in that folder.
Tried to rerun and here is the updated error message:
ERROR:root:Internal Python error in the inspect module. Below is the traceback from this internal error.
Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/IPython/core/interactiveshell.py", line 3326, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/usr/local/lib/python3.7/dist-packages/IPython/core/interactiveshell.py", line 2040, in showtraceback stb = value._rendertraceback() AttributeError: 'OSError' object has no attribute '_rendertraceback'
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/usr/local/lib/python3.7/dist-packages/IPython/core/ultratb.py", line 1101, in get_records return _fixed_getinnerframes(etb, number_of_lines_of_context, tb_offset) File "/usr/local/lib/python3.7/dist-packages/IPython/core/ultratb.py", line 319, in wrapped return f(*args, **kwargs) File "/usr/local/lib/python3.7/dist-packages/IPython/core/ultratb.py", line 353, in _fixed_getinnerframes records = fix_frame_records_filenames(inspect.getinnerframes(etb, context)) File "/usr/lib/python3.7/inspect.py", line 1502, in getinnerframes frameinfo = (tb.tb_frame,) + getframeinfo(tb, context) File "/usr/lib/python3.7/inspect.py", line 1460, in getframeinfo filename = getsourcefile(frame) or getfile(frame) File "/usr/lib/python3.7/inspect.py", line 696, in getsourcefile if getattr(getmodule(object, filename), 'loader', None) is not None: File "/usr/lib/python3.7/inspect.py", line 725, in getmodule file = getabsfile(object, _filename) File "/usr/lib/python3.7/inspect.py", line 709, in getabsfile return os.path.normcase(os.path.abspath(_filename)) File "/usr/lib/python3.7/posixpath.py", line 383, in abspath cwd = os.getcwd() OSError: [Errno 107] Transport endpoint is not connected
Thank you for this code. Tried this locally but my computer did not have enough memory to execute this. Any chance someone can please create a Google Colab notebook that executes this code and can merge ckpts located in a Google Drive folder?
Thanks in advance.