def default_loader(root, path_imgs, path_flo):
imgs = [os.path.join(root,path) for path in path_imgs]
flo = os.path.join(root,path_flo)
return [imread(img).astype(np.float32) for img in imgs],load_flo(flo)
评论列表
文章目录