teticio commited on
Commit
afdefbb
2 Parent(s): 4f5b894 960050d

Merge pull request #26 from ST2-EV/patch-1

Browse files

replacing fs for load_from_disk with storage_options

Files changed (1) hide show
  1. scripts/train_unet.py +1 -1
scripts/train_unet.py CHANGED
@@ -53,7 +53,7 @@ def main(args):
53
  if args.dataset_name is not None:
54
  if os.path.exists(args.dataset_name):
55
  dataset = load_from_disk(args.dataset_name,
56
- args.dataset_config_name)["train"]
57
  else:
58
  dataset = load_dataset(
59
  args.dataset_name,
 
53
  if args.dataset_name is not None:
54
  if os.path.exists(args.dataset_name):
55
  dataset = load_from_disk(args.dataset_name,
56
+ storage_options = args.dataset_config_name)["train"]
57
  else:
58
  dataset = load_dataset(
59
  args.dataset_name,