python os.path.exists判断文件或文件夹是否存在
如下图:
如果os.path.exists("/tmp/cifar10"),这样容易出错
最好写成os.path.exists("tmp/cifar10")