Ignore the RuntimeError exception when loading images