fix path pkl
Browse files- .ipynb_checkpoints/AVA-checkpoint.py +1 -1
- AVA.py +1 -1
- notebooks/Test.ipynb +45 -24
.ipynb_checkpoints/AVA-checkpoint.py
CHANGED
@@ -50,7 +50,7 @@ class AVA(datasets.GeneratorBasedBuilder):
|
|
50 |
|
51 |
def _generate_examples(self, archives, split):
|
52 |
"""Yields examples."""
|
53 |
-
DICT_METADATA = Path(dl_manager.download_and_extract(_BASE_HF_URL)) / "metadata.pkl"
|
54 |
idx = 0
|
55 |
for archive in archives:
|
56 |
for path, file in archive:
|
|
|
50 |
|
51 |
def _generate_examples(self, archives, split):
|
52 |
"""Yields examples."""
|
53 |
+
DICT_METADATA = Path(dl_manager.download_and_extract(_BASE_HF_URL)) / "metadata.pkl"
|
54 |
idx = 0
|
55 |
for archive in archives:
|
56 |
for path, file in archive:
|
AVA.py
CHANGED
@@ -50,7 +50,7 @@ class AVA(datasets.GeneratorBasedBuilder):
|
|
50 |
|
51 |
def _generate_examples(self, archives, split):
|
52 |
"""Yields examples."""
|
53 |
-
DICT_METADATA = Path(dl_manager.download_and_extract(_BASE_HF_URL)) / "metadata.pkl"
|
54 |
idx = 0
|
55 |
for archive in archives:
|
56 |
for path, file in archive:
|
|
|
50 |
|
51 |
def _generate_examples(self, archives, split):
|
52 |
"""Yields examples."""
|
53 |
+
DICT_METADATA = Path(dl_manager.download_and_extract(_BASE_HF_URL)) / "metadata.pkl"
|
54 |
idx = 0
|
55 |
for archive in archives:
|
56 |
for path, file in archive:
|
notebooks/Test.ipynb
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
"cells": [
|
3 |
{
|
4 |
"cell_type": "code",
|
5 |
-
"execution_count":
|
6 |
"id": "aef315bf",
|
7 |
"metadata": {},
|
8 |
"outputs": [],
|
@@ -12,45 +12,66 @@
|
|
12 |
},
|
13 |
{
|
14 |
"cell_type": "code",
|
15 |
-
"execution_count":
|
16 |
"id": "c0ed6498",
|
17 |
"metadata": {},
|
18 |
"outputs": [
|
19 |
{
|
20 |
"data": {
|
21 |
"application/vnd.jupyter.widget-view+json": {
|
22 |
-
"model_id": "
|
23 |
"version_major": 2,
|
24 |
"version_minor": 0
|
25 |
},
|
26 |
"text/plain": [
|
27 |
-
"Downloading builder script: 0%| | 0.00/2.
|
28 |
]
|
29 |
},
|
30 |
"metadata": {},
|
31 |
"output_type": "display_data"
|
32 |
},
|
33 |
{
|
34 |
-
"
|
35 |
-
"
|
36 |
-
"
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
"
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
"
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
54 |
]
|
55 |
}
|
56 |
],
|
|
|
2 |
"cells": [
|
3 |
{
|
4 |
"cell_type": "code",
|
5 |
+
"execution_count": 3,
|
6 |
"id": "aef315bf",
|
7 |
"metadata": {},
|
8 |
"outputs": [],
|
|
|
12 |
},
|
13 |
{
|
14 |
"cell_type": "code",
|
15 |
+
"execution_count": 4,
|
16 |
"id": "c0ed6498",
|
17 |
"metadata": {},
|
18 |
"outputs": [
|
19 |
{
|
20 |
"data": {
|
21 |
"application/vnd.jupyter.widget-view+json": {
|
22 |
+
"model_id": "2dc0ecb6d071440fbb63d9eb37239d51",
|
23 |
"version_major": 2,
|
24 |
"version_minor": 0
|
25 |
},
|
26 |
"text/plain": [
|
27 |
+
"Downloading builder script: 0%| | 0.00/2.12k [00:00<?, ?B/s]"
|
28 |
]
|
29 |
},
|
30 |
"metadata": {},
|
31 |
"output_type": "display_data"
|
32 |
},
|
33 |
{
|
34 |
+
"name": "stdout",
|
35 |
+
"output_type": "stream",
|
36 |
+
"text": [
|
37 |
+
"Downloading and preparing dataset ava/default to /home/william/.cache/huggingface/datasets/will33am___ava/default/1.0.0/e6b9e5062c6da3936a91aa998767b2df2e4743203754168806d3df6c592a5951...\n"
|
38 |
+
]
|
39 |
+
},
|
40 |
+
{
|
41 |
+
"data": {
|
42 |
+
"application/vnd.jupyter.widget-view+json": {
|
43 |
+
"model_id": "17de80e07195435abc87fa6d687bf641",
|
44 |
+
"version_major": 2,
|
45 |
+
"version_minor": 0
|
46 |
+
},
|
47 |
+
"text/plain": [
|
48 |
+
"Downloading data files: 0%| | 0/1 [00:00<?, ?it/s]"
|
49 |
+
]
|
50 |
+
},
|
51 |
+
"metadata": {},
|
52 |
+
"output_type": "display_data"
|
53 |
+
},
|
54 |
+
{
|
55 |
+
"data": {
|
56 |
+
"application/vnd.jupyter.widget-view+json": {
|
57 |
+
"model_id": "6bc514a4c642434fab8a1728b6dc4ce9",
|
58 |
+
"version_major": 2,
|
59 |
+
"version_minor": 0
|
60 |
+
},
|
61 |
+
"text/plain": [
|
62 |
+
"Downloading data: 0%| | 0.00/33.2G [00:00<?, ?B/s]"
|
63 |
+
]
|
64 |
+
},
|
65 |
+
"metadata": {},
|
66 |
+
"output_type": "display_data"
|
67 |
+
},
|
68 |
+
{
|
69 |
+
"name": "stderr",
|
70 |
+
"output_type": "stream",
|
71 |
+
"text": [
|
72 |
+
"\n",
|
73 |
+
"KeyboardInterrupt\n",
|
74 |
+
"\n"
|
75 |
]
|
76 |
}
|
77 |
],
|