ODISE icon indicating copy to clipboard operation
ODISE copied to clipboard

error in demo

Open yangydeng opened this issue 1 year ago • 4 comments

Hello, GREAT JOB! It looks like your demo shows an error when inference, do you have any plan to fix it? Looking forward to play with it :D

yangydeng avatar Mar 16 '23 13:03 yangydeng

It works on my end. Sometimes Huggingface throws an error and resubmitting usually works.

RogerQi avatar Mar 21 '23 19:03 RogerQi

Are you referring to the einops related error ? AttributeError: module 'keras.backend' has no attribute 'is_tensor' . It seems to stem from einops==0.3.0 in sdkit . I've solved this with pip install --upgrade einops then restarting the kernel.

If you get an error related to RGBA values, then you just need to run again. The colors are generated randomly, so maybe sometimes the value is not good for being a color

cipri-tom avatar May 12 '23 12:05 cipri-tom

Are you sure the RGBA error is due to randomness? I ran it multiple times and got the error every single time

yan-xu-helm avatar Jun 28 '23 18:06 yan-xu-helm

Are you referring to the einops related error ? AttributeError: module 'keras.backend' has no attribute 'is_tensor' . It seems to stem from einops==0.3.0 in sdkit . I've solved this with pip install --upgrade einops then restarting the kernel.

If you get an error related to RGBA values, then you just need to run again. The colors are generated randomly, so maybe sometimes the value is not good for being a color

It's work for me, thanks!

rmpku avatar Aug 31 '23 07:08 rmpku