Spaces:
Runtime error
Runtime error
Steve
commited on
Commit
•
960050d
1
Parent(s):
4f5b894
replacing fs for load_from_disk with storage_options
Browse fileshttps://huggingface.co/docs/datasets/package_reference/loading_methods#datasets.load_from_disk
fs is deprecated now
- 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,
|