nielsr HF staff commited on
Commit
7e2773f
1 Parent(s): 2f4c0ed

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -1
README.md CHANGED
@@ -11,6 +11,7 @@ Current datasets include:
11
  - RVL-CDIP
12
  - PASCAL VOC
13
  - Kinetics-400
 
14
 
15
  You can read in a label file as follows (using the `huggingface_hub` library):
16
 
@@ -18,7 +19,7 @@ You can read in a label file as follows (using the `huggingface_hub` library):
18
  from huggingface_hub import hf_hub_download
19
  import json
20
 
21
- repo_id = "datasets/huggingface/label-files"
22
  filename = "imagenet-22k-id2label.json"
23
  id2label = json.load(open(hf_hub_download(repo_id, filename, repo_type="dataset"), "r"))
24
  id2label = {int(k):v for k,v in id2label.items()}
 
11
  - RVL-CDIP
12
  - PASCAL VOC
13
  - Kinetics-400
14
+ - ...
15
 
16
  You can read in a label file as follows (using the `huggingface_hub` library):
17
 
 
19
  from huggingface_hub import hf_hub_download
20
  import json
21
 
22
+ repo_id = "huggingface/label-files"
23
  filename = "imagenet-22k-id2label.json"
24
  id2label = json.load(open(hf_hub_download(repo_id, filename, repo_type="dataset"), "r"))
25
  id2label = {int(k):v for k,v in id2label.items()}