ktrapeznikov commited on
Commit
dd3b54d
1 Parent(s): bc8a88e

Update script.py

Browse files
Files changed (1) hide show
  1. script.py +1 -1
script.py CHANGED
@@ -1,6 +1,6 @@
1
  import pandas as pd
2
  from datasets import load_dataset
3
- dataset_remote = load_dataset("imagefolder", data_dir="/tmp/data")
4
 
5
  for id in dataset_remote["test"]["id"]:
6
  out.append(dict(id = id, pred = "flux"))
 
1
  import pandas as pd
2
  from datasets import load_dataset
3
+ dataset_remote = load_dataset("parquet", data_files={'test': '/tmp/data/data/test-00000-of-00001.parquet'})
4
 
5
  for id in dataset_remote["test"]["id"]:
6
  out.append(dict(id = id, pred = "flux"))