baaivision / EVA

EVA Series: Visual Representation Fantasies from BAAI
MIT License
2.24k stars 165 forks source link

The import accimage in the dateset folder cannot resolve the load. #119

Open zhanglaoban-kk opened 11 months ago

zhanglaoban-kk commented 11 months ago

Hello!Here import accimage import display can not be resolved, how to solve this problem ,I hope to hear from you.Thanks.

TODO: specify the return type

def accimage_loader(path: str) -> Any: import accimage try: return accimage.Image(path) except IOError:

Potentially a decoding problem, fall back to PIL.Image

    return pil_loader(path)