Google-Colab_Notebooks icon indicating copy to clipboard operation
Google-Colab_Notebooks copied to clipboard

Qwen_Image_Edit_2509_with_mask_editor

Open unnikrshnan opened this issue 9 months ago • 3 comments

I have just started using this Colab. I can generate images successfully when the 'Inpaint' option is disabled. However, when I use the Mask Editor and enable 'Inpaint', I encounter a FileNotFoundError. It seems the script is looking for a file path that is empty or not being passed correctly. How can I fix this?

"Using seed: 1680485208 Loading VAE...

FileNotFoundError Traceback (most recent call last) /tmp/ipython-input-1533349937.py in <cell line: 0>() 79 file_uploaded33 = None 80 ---> 81 edit_input( 82 image_path = file_uploaded11, 83 use_inpainting=use_inpainting,

2 frames /usr/local/lib/python3.12/dist-packages/PIL/Image.py in open(fp, mode, formats) 3511 if is_path(fp): 3512 filename = os.fspath(fp) -> 3513 fp = builtins.open(filename, "rb") 3514 exclusive_fp = True 3515 else:

FileNotFoundError: [Errno 2] No such file or directory: ' '

unnikrshnan avatar Feb 16 '26 16:02 unnikrshnan

You probably missed the Save button in the mask editor section. You need to save the inpainted image to make it available for editing.

Isi-dev avatar Feb 16 '26 21:02 Isi-dev

okay thank you, now okay.

unnikrshnan avatar Feb 17 '26 15:02 unnikrshnan

okay thank you, now okay.

You're welcome.

Isi-dev avatar Feb 17 '26 18:02 Isi-dev