jagennath-hari commited on
Commit
c7c65cb
ยท
1 Parent(s): d9bb9fc

update README.md

Browse files
Files changed (1) hide show
  1. README.md +17 -0
README.md CHANGED
@@ -74,6 +74,23 @@ Additional files included:
74
  - `class_names.json` โ€” mapping from class IDs to human-readable names
75
  - `scaling_factors.json` โ€” used for label/mask de-scaling during training
76
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
77
  ## ๐Ÿ“„ Citation
78
 
79
  If you use this dataset, please cite the original authors:
 
74
  - `class_names.json` โ€” mapping from class IDs to human-readable names
75
  - `scaling_factors.json` โ€” used for label/mask de-scaling during training
76
 
77
+ ## ๐Ÿš€ How to Use
78
+
79
+ You can load the dataset using the `datasets` library:
80
+
81
+ ```python
82
+ from datasets import load_dataset
83
+
84
+ dataset = load_dataset("jagennath-hari/nyuv2", split="train")
85
+ sample = dataset[0]
86
+
87
+ # Access fields
88
+ rgb = sample["rgb"]
89
+ depth = sample["depth"]
90
+ semantic = sample["semantic"]
91
+ instance = sample["instance"]
92
+ ```
93
+
94
  ## ๐Ÿ“„ Citation
95
 
96
  If you use this dataset, please cite the original authors: