JonasLoos commited on
Commit
15bf54e
1 Parent(s): 8330fd2

Update SPair-71k.py

Browse files
Files changed (1) hide show
  1. SPair-71k.py +2 -1
SPair-71k.py CHANGED
@@ -36,7 +36,7 @@ _URL = "https://cvlab.postech.ac.kr/research/SPair-71k/data/SPair-71k.tar.gz"
36
  class SPair71k(datasets.GeneratorBasedBuilder):
37
  """SPair-71k: A Large-scale Benchmark for Semantic Correspondence"""
38
 
39
- VERSION = datasets.Version("0.4.0")
40
 
41
  BUILDER_CONFIGS = [
42
  BuilderConfig(name="pairs", version=VERSION, description="SPair-71k: dataset of image pairs"),
@@ -66,6 +66,7 @@ class SPair71k(datasets.GeneratorBasedBuilder):
66
  "trg_bndbox": Sequence(Value("uint32"), length=4),
67
  "trg_pose": ClassLabel(names=['Unspecified', 'Frontal', 'Left', 'Rear', 'Right']),
68
  "trg_kps": Array2D(dtype="uint32", shape=(None,2)),
 
69
  "category": ClassLabel(names=['cat', 'pottedplant', 'train', 'bicycle', 'car', 'bus', 'aeroplane', 'dog', 'bird', 'chair', 'motorbike', 'cow', 'bottle', 'person', 'boat', 'sheep', 'horse', 'tvmonitor']),
70
  "viewpoint_variation": Value("uint8"),
71
  "scale_variation": Value("uint8"),
 
36
  class SPair71k(datasets.GeneratorBasedBuilder):
37
  """SPair-71k: A Large-scale Benchmark for Semantic Correspondence"""
38
 
39
+ VERSION = datasets.Version("0.5.0")
40
 
41
  BUILDER_CONFIGS = [
42
  BuilderConfig(name="pairs", version=VERSION, description="SPair-71k: dataset of image pairs"),
 
66
  "trg_bndbox": Sequence(Value("uint32"), length=4),
67
  "trg_pose": ClassLabel(names=['Unspecified', 'Frontal', 'Left', 'Rear', 'Right']),
68
  "trg_kps": Array2D(dtype="uint32", shape=(None,2)),
69
+ "kps_ids": Sequence(Value("uint32")),
70
  "category": ClassLabel(names=['cat', 'pottedplant', 'train', 'bicycle', 'car', 'bus', 'aeroplane', 'dog', 'bird', 'chair', 'motorbike', 'cow', 'bottle', 'person', 'boat', 'sheep', 'horse', 'tvmonitor']),
71
  "viewpoint_variation": Value("uint8"),
72
  "scale_variation": Value("uint8"),