MAE-pytorch
MAE-pytorch copied to clipboard
The import accimage cannot be parsed
在dataset-folder中,import accimage cannot be parsedhow to solve it here
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)