ydshieh HF staff commited on
Commit
6414bae
1 Parent(s): 3d04f6e

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +15 -0
README.md CHANGED
@@ -5,4 +5,19 @@ For testing purpose, you can use the hosted dummy dataset (`dummy_data`) as foll
5
  ```
6
  import datasets
7
  ds = datasets.load_dataset("ydshieh/coco_dataset_script", "2017", data_dir="./dummy_data/")
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
  ```
 
5
  ```
6
  import datasets
7
  ds = datasets.load_dataset("ydshieh/coco_dataset_script", "2017", data_dir="./dummy_data/")
8
+ ```
9
+
10
+ For using the COCO dataset (2017), you need to download it manually first:
11
+ ```
12
+ wget http://images.cocodataset.org/zips/train2017.zip
13
+ wget http://images.cocodataset.org/zips/val2017.zip
14
+ wget http://images.cocodataset.org/zips/test2017.zip
15
+ wget http://images.cocodataset.org/annotations/annotations_trainval2017.zip
16
+ wget http://images.cocodataset.org/annotations/image_info_test2017.zip
17
+ ```
18
+
19
+ Then to load the dataset:
20
+ ```
21
+ COCO_DIR = ...(path to the downloaded dataset directory)...
22
+ ds = datasets.load_dataset("ydshieh/coco_dataset_script", "2017", data_dir=COCO_DIR)
23
  ```