SD-CN-Animation
SD-CN-Animation copied to clipboard
Possible new error from latest version
First off, loving the extension. Just installed v0.8 and now it is throwing the following error:
An exception occurred while trying to process the frame: list index out of range
Traceback (most recent call last):
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/extensions/SD-CN-Animation/scripts/base_ui.py", line 114, in process
yield from vid2vid.start_process(*args)
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/extensions/SD-CN-Animation/scripts/core/vid2vid.py", line 114, in start_process
utils.set_CNs_input_image(args_dict, Image.fromarray(curr_frame))
IndexError: list index out of range
When I start the process, it errors out almost immediately.
Hope this helps.
Do you have ControlNet extension installed? Vid2vid mode always supposed to be used with control net active.
Yup. Latest ControlNet installed and active. I restarted the session and it started processing, but am now getting a completely different error. I'm going to try completely restarting the server.
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/gradio/routes.py", line 399, in run_predict
output = await app.get_blocks().process_api(
File "/usr/local/lib/python3.10/dist-packages/gradio/blocks.py", line 1302, in process_api
data = self.postprocess_data(fn_index, result["prediction"], state)
File "/usr/local/lib/python3.10/dist-packages/gradio/blocks.py", line 1236, in postprocess_data
prediction_value = block.postprocess(prediction_value)
File "/usr/local/lib/python3.10/dist-packages/gradio/components.py", line 2148, in postprocess
processed_files = (self._format_video(y), None)
File "/usr/local/lib/python3.10/dist-packages/gradio/components.py", line 2207, in _format_video
video = self.make_temp_copy_if_needed(video)
File "/usr/local/lib/python3.10/dist-packages/gradio/components.py", line 248, in make_temp_copy_if_needed
temp_dir = self.hash_file(file_path)
File "/usr/local/lib/python3.10/dist-packages/gradio/components.py", line 220, in hash_file
with open(file_path, "rb") as f:
FileNotFoundError: [Errno 2] No such file or directory: ''
Could you please tell what OS do you use and what version of webui? Is it automatic or any other fork?
after update , i get the error following, my system os is macos the webui i use: https://github.com/brkirch/stable-diffusion-webui/releases Traceback (most recent call last): File "/Users/admin/work/vi/stable-diffusion-webui/venv/lib/python3.10/site-packages/gradio/routes.py", line 399, in run_predict output = await app.get_blocks().process_api( File "/Users/admin/work/vi/stable-diffusion-webui/venv/lib/python3.10/site-packages/gradio/blocks.py", line 1302, in process_api data = self.postprocess_data(fn_index, result["prediction"], state) File "/Users/admin/work/vi/stable-diffusion-webui/venv/lib/python3.10/site-packages/gradio/blocks.py", line 1236, in postprocess_data prediction_value = block.postprocess(prediction_value) File "/Users/admin/work/vi/stable-diffusion-webui/venv/lib/python3.10/site-packages/gradio/components.py", line 2148, in postprocess processed_files = (self._format_video(y), None) File "/Users/admin/work/vi/stable-diffusion-webui/venv/lib/python3.10/site-packages/gradio/components.py", line 2207, in _format_video video = self.make_temp_copy_if_needed(video) File "/Users/admin/work/vi/stable-diffusion-webui/venv/lib/python3.10/site-packages/gradio/components.py", line 248, in make_temp_copy_if_needed temp_dir = self.hash_file(file_path) File "/Users/admin/work/vi/stable-diffusion-webui/venv/lib/python3.10/site-packages/gradio/components.py", line 220, in hash_file with open(file_path, "rb") as f: FileNotFoundError: [Errno 2] No such file or directory: ''
It is weird that there is nothing related to the extension in the traceback. I assume that there is some path location used in the script that is not correctly formatted for macos. Unfortunately I can't fix it without knowing where exactly the problem occurs in the script.
Took me a while to respond on this, but I'm actually using google colab, so that is linux operating system. So that means three of us have all run into the error, each on a different os (mac, windows, and linux). I'm using The Last Ben's Fast A1111
Took me a while to respond on this, but I'm actually using google colab, so that is linux operating system. So that means three of us have all run into the error, each on a different os (mac, windows, and linux). I'm using The Last Ben's Fast A1111
i have also the same issue on google Colab with The Last Ben's Fast A1111