Commit
·
cb093bd
1
Parent(s):
d223ab5
Update README.md
Browse files
README.md
CHANGED
@@ -40,6 +40,18 @@ dataset_info:
|
|
40 |
download_size: 6286282416
|
41 |
dataset_size: 6289998121.391
|
42 |
---
|
43 |
-
|
44 |
|
45 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
40 |
download_size: 6286282416
|
41 |
dataset_size: 6289998121.391
|
42 |
---
|
43 |
+
The dataset features/columns here are almost similar to the original github instruction: https://github.com/upeee/GOO-GAZE2021/blob/main/dataset/gooreal-download.txt
|
44 |
|
45 |
+
To download gooreal in huggingface, run the code below (https://huggingface.co/docs/datasets/v1.10.0/loading_datasets.html#from-the-huggingface-hub):
|
46 |
+
|
47 |
+
from datasets import load_dataset</br>
|
48 |
+
dataset = load_dataset("markytools/goorealv3")
|
49 |
+
|
50 |
+
The image datasets will be stored in ""~/.cache/huggingface", so you need to delete the files here if you want to free up space.
|
51 |
+
|
52 |
+
The only difference here is that there is a new feature name called "splits", ["train", "test"] </br>
|
53 |
+
The "bboxes" and "labels" features are in string format, so you can use the code below to convert the string into list:</br>
|
54 |
+
import ast</br>
|
55 |
+
listOfBboxes = ast.literal_eval(dataset["test"]["bboxes"][0])</br>
|
56 |
+
</br>
|
57 |
+
The feature "seg" is now in string format instead of numpy ndarray. This is an optional feature, and you can manually download the files here (https://huggingface.co/datasets/markytools/goosegmv3) and use wget commandline. The files are in .npy so load it using np.load (https://numpy.org/doc/stable/reference/generated/numpy.save.html).
|