Spaces:
Runtime error
Runtime error
Merge pull request #26 from ST2-EV/patch-1
Browse filesreplacing fs for load_from_disk with storage_options
- 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,
|