Skip to content

Commit 74cb384

Browse files
removed delete funciton and fixed cats&dogs dataset
1 parent 5a40833 commit 74cb384

File tree

11 files changed

+32
-127
lines changed

11 files changed

+32
-127
lines changed

CSSD/CSSD.ipynb

+2-4
Original file line numberDiff line numberDiff line change
@@ -177,9 +177,7 @@
177177
},
178178
"outputs": [],
179179
"source": [
180-
"# hubpath = './cssd-hub'\n",
181-
"hubpath = 'hub://activeloop/cssd'\n",
182-
"# hub.delete(hubpath, large_ok=True)\n",
180+
"hubpath = 'hub://<username>/cssd'\n",
183181
"ds = hub.dataset(hubpath)\n",
184182
"\n",
185183
"start = time.time()\n",
@@ -224,7 +222,7 @@
224222
},
225223
"outputs": [],
226224
"source": [
227-
"hubpath = 'hub://activeloop/cssd'\n",
225+
"hubpath = 'hub://<username>/cssd'\n",
228226
"ds = hub.load(hubpath)\n",
229227
"print(ds.tensors)"
230228
]

Cats&Dogs/KaggleCats&Dogs.ipynb

+7-8
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
},
5252
{
5353
"cell_type": "code",
54-
"execution_count": 15,
54+
"execution_count": 2,
5555
"metadata": {
5656
"id": "funZY-1Jjojg"
5757
},
@@ -65,7 +65,7 @@
6565
},
6666
{
6767
"cell_type": "code",
68-
"execution_count": 3,
68+
"execution_count": 5,
6969
"metadata": {
7070
"id": "8l1NYRCQjXCd"
7171
},
@@ -96,7 +96,7 @@
9696
},
9797
{
9898
"cell_type": "code",
99-
"execution_count": 3,
99+
"execution_count": 6,
100100
"metadata": {},
101101
"outputs": [],
102102
"source": [
@@ -105,7 +105,7 @@
105105
},
106106
{
107107
"cell_type": "code",
108-
"execution_count": 4,
108+
"execution_count": 7,
109109
"metadata": {
110110
"cellView": "form",
111111
"colab": {
@@ -134,7 +134,7 @@
134134
},
135135
{
136136
"cell_type": "code",
137-
"execution_count": 5,
137+
"execution_count": 8,
138138
"metadata": {
139139
"id": "5LXm8-8PoC0d"
140140
},
@@ -145,7 +145,7 @@
145145
},
146146
{
147147
"cell_type": "code",
148-
"execution_count": null,
148+
"execution_count": 14,
149149
"metadata": {
150150
"colab": {
151151
"base_uri": "https://localhost:8080/"
@@ -169,8 +169,7 @@
169169
}
170170
],
171171
"source": [
172-
"hubname = 'hub://activeloop/kaggle-cats-dogs'\n",
173-
"hub.delete(hubname)\n",
172+
"hubname = 'hub://<username>/kaggle-cats-dogs'\n",
174173
"ds = hub.dataset(hubname)\n",
175174
"\n",
176175
"class_labels = ['Cat', 'Dog']\n",

ECSSD/ECSSD.ipynb

+2-4
Original file line numberDiff line numberDiff line change
@@ -141,9 +141,7 @@
141141
},
142142
"outputs": [],
143143
"source": [
144-
"# hubpath = './ecssd-hub'\n",
145-
"hubpath = 'hub://activeloop/ecssd'\n",
146-
"hub.delete(hubpath, large_ok=True)\n",
144+
"hubpath = 'hub://<username>/ecssd'\n",
147145
"ds = hub.dataset(hubpath)\n",
148146
"\n",
149147
"start = time.time()\n",
@@ -189,7 +187,7 @@
189187
},
190188
"outputs": [],
191189
"source": [
192-
"hubpath = 'hub://activeloop/ecssd'\n",
190+
"hubpath = 'hub://<username>/ecssd'\n",
193191
"ds = hub.load(hubpath)\n",
194192
"print(ds.tensors)"
195193
]

FER2013/FER2013.ipynb

+1-19
Original file line numberDiff line numberDiff line change
@@ -171,24 +171,6 @@
171171
"!rm -rf FER*"
172172
]
173173
},
174-
{
175-
"cell_type": "code",
176-
"execution_count": null,
177-
"metadata": {
178-
"colab": {
179-
"base_uri": "https://localhost:8080/"
180-
},
181-
"id": "1rC30DL-bQzj",
182-
"outputId": "fa9fcd2d-dbba-4935-b826-7af6a4a5e9e9"
183-
},
184-
"outputs": [],
185-
"source": [
186-
"filename_path = 'hub://activeloop/FER2013'\n",
187-
"hub.delete(filename_path+'-Train')\n",
188-
"hub.delete(filename_path+'-Public-Test')\n",
189-
"hub.delete(filename_path+'-Private-Test')"
190-
]
191-
},
192174
{
193175
"cell_type": "code",
194176
"execution_count": null,
@@ -201,7 +183,7 @@
201183
},
202184
"outputs": [],
203185
"source": [
204-
"filename_path = 'hub://activeloop/fer2013'\n",
186+
"filename_path = 'hub://<username>/fer2013'\n",
205187
"train_ds = hub.dataset(filename_path+'-train')\n",
206188
"public_test_ds = hub.dataset(filename_path+'-public-test')\n",
207189
"private_test_ds = hub.dataset(filename_path+'-private-test')"

HMDB51/HMDB51.ipynb

+2-4
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@
152152
"source": [
153153
"class_labels = [txt.split('/')[-1].split('_test')[0] for txt in txts]\n",
154154
"\n",
155-
"!rm -rf dataset\n",
155+
"# !rm -rf dataset\n",
156156
"!mkdir -p dataset/train dataset/test dataset/extras\n",
157157
"\n",
158158
"hmdb_path = 'hmdb'\n",
@@ -288,9 +288,7 @@
288288
"base_path = 'dataset'\n",
289289
"subfolder = 'extras' # ['extras', 'train', 'test']\n",
290290
"\n",
291-
"# hubname = f'./hub-{subfolder}'\n",
292-
"hubname = f'hub://activeloop/hmdb51-{subfolder}'\n",
293-
"# hub.delete(hubname, large_ok=True, force=True)\n",
291+
"hubname = f'hub://<username>/hmdb51-{subfolder}'\n",
294292
"ds = hub.dataset(hubname)\n",
295293
"\n",
296294
"dataset_path = os.path.join(base_path, subfolder)\n",

PPM100/PPM100Dataset.ipynb

+1-13
Original file line numberDiff line numberDiff line change
@@ -119,18 +119,6 @@
119119
"!activeloop reporting --off"
120120
]
121121
},
122-
{
123-
"cell_type": "code",
124-
"execution_count": null,
125-
"metadata": {
126-
"id": "szrK3dZDifoj"
127-
},
128-
"outputs": [],
129-
"source": [
130-
"filename_path = 'hub://activeloop/PPM100'\n",
131-
"hub.delete(filename_path, force=True)"
132-
]
133-
},
134122
{
135123
"cell_type": "code",
136124
"execution_count": null,
@@ -143,7 +131,7 @@
143131
},
144132
"outputs": [],
145133
"source": [
146-
"filename_path = 'hub://activeloop/ppm100'\n",
134+
"filename_path = 'hub://<username>/ppm100'\n",
147135
"ds = hub.dataset(filename_path)"
148136
]
149137
},

PlantVillage/PlantVillageDataset.ipynb

+5-16
Original file line numberDiff line numberDiff line change
@@ -303,8 +303,7 @@
303303
}
304304
],
305305
"source": [
306-
"filename_path = 'hub://activeloop/plantvillage-without-augmentation'\n",
307-
"# hub.delete(filename_path, large_ok=True)\n",
306+
"filename_path = 'hub://<username>/plantvillage-without-augmentation'\n",
308307
"ds = hub.dataset(filename_path)\n",
309308
"\n",
310309
"with ds:\n",
@@ -385,8 +384,7 @@
385384
}
386385
],
387386
"source": [
388-
"filename_path = 'hub://activeloop/plantvillage-with-augmentation'\n",
389-
"# hub.delete(filename_path, large_ok=True)\n",
387+
"filename_path = 'hub://<username>/plantvillage-with-augmentation'\n",
390388
"ds = hub.dataset(filename_path)\n",
391389
"\n",
392390
"with ds:\n",
@@ -417,26 +415,17 @@
417415
},
418416
{
419417
"cell_type": "code",
420-
"execution_count": 42,
418+
"execution_count": null,
421419
"metadata": {
422420
"colab": {
423421
"base_uri": "https://localhost:8080/"
424422
},
425423
"id": "Qj6catLfDeXN",
426424
"outputId": "3917e42f-8367-4292-828a-e047885d4487"
427425
},
428-
"outputs": [
429-
{
430-
"name": "stdout",
431-
"output_type": "stream",
432-
"text": [
433-
"hub://activeloop/plantvillage-with-augmentation loaded successfully.\n",
434-
"This dataset can be visualized at https://app.activeloop.ai/activeloop/plantvillage-with-augmentation.\n"
435-
]
436-
}
437-
],
426+
"outputs": [],
438427
"source": [
439-
"filename_path = 'hub://activeloop/plantvillage-with-augmentation'\n",
428+
"filename_path = 'hub://<username>/plantvillage-with-augmentation'\n",
440429
"ds = hub.dataset(filename_path)"
441430
]
442431
},

SeedsUCI/SeedsUCI.ipynb

+2-3
Original file line numberDiff line numberDiff line change
@@ -218,8 +218,7 @@
218218
},
219219
"outputs": [],
220220
"source": [
221-
"filename_path = 'hub://activeloop/seeds-uci'\n",
222-
"# hub.delete(filename_path)\n",
221+
"filename_path = 'hub://<username>/seeds-uci'\n",
223222
"ds = hub.dataset(filename_path)\n",
224223
"\n",
225224
"with ds:\n",
@@ -249,7 +248,7 @@
249248
},
250249
"outputs": [],
251250
"source": [
252-
"filename_path = 'hub://activeloop/seeds-uci'\n",
251+
"filename_path = 'hub://<username>/seeds-uci'\n",
253252
"ds = hub.dataset(filename_path)"
254253
]
255254
},

coco-text/COCO-Text.ipynb

+1-3
Original file line numberDiff line numberDiff line change
@@ -295,9 +295,7 @@
295295
"source": [
296296
"# train or val\n",
297297
"sub_dataset_name = 'train'\n",
298-
"hubpath = 'hub://activeloop/coco-text-{}'.format(sub_dataset_name)\n",
299-
"# hubpath = './coco-text-{}'.format(sub_dataset_name)\n",
300-
"hub.delete(hubpath, large_ok=True)\n",
298+
"hubpath = 'hub://<username>/coco-text-{}'.format(sub_dataset_name)\n",
301299
"ds = hub.dataset(hubpath)"
302300
]
303301
},

esc50/ESC50.ipynb

+1-3
Original file line numberDiff line numberDiff line change
@@ -180,9 +180,7 @@
180180
"metadata": {},
181181
"outputs": [],
182182
"source": [
183-
"# hubname = './esc50-hub'\n",
184-
"hubname = 'hub://activeloop/esc50'\n",
185-
"hub.delete(hubname, large_ok=True)\n",
183+
"hubname = 'hub://<username>/esc50'\n",
186184
"ds = hub.dataset(hubname)\n",
187185
"\n",
188186
"start = time.time()\n",

optical-handwritten-recognition-dataset/DigitsDataset.ipynb

+8-50
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@
191191
}
192192
],
193193
"source": [
194-
"filename_path = 'hub://activeloop/optical-handwritten-digits-train'\n",
194+
"filename_path = 'hub://<username>/optical-handwritten-digits-train'\n",
195195
"ds = hub.dataset(filename_path)\n",
196196
"\n",
197197
"with ds: \n",
@@ -225,7 +225,7 @@
225225
}
226226
],
227227
"source": [
228-
"filename_path = 'hub://activeloop/optical-handwritten-digits-test'\n",
228+
"filename_path = 'hub://<username>/optical-handwritten-digits-test'\n",
229229
"ds = hub.dataset(filename_path)\n",
230230
"\n",
231231
"with ds: \n",
@@ -287,13 +287,13 @@
287287
},
288288
"outputs": [],
289289
"source": [
290-
"train_path = 'hub://activeloop/optical-handwritten-digits-train'\n",
291-
"test_path = 'hub://activeloop/optical-handwritten-digits-test'"
290+
"train_path = 'hub://<username>/optical-handwritten-digits-train'\n",
291+
"test_path = 'hub://<username>/optical-handwritten-digits-test'"
292292
]
293293
},
294294
{
295295
"cell_type": "code",
296-
"execution_count": 40,
296+
"execution_count": null,
297297
"metadata": {
298298
"colab": {
299299
"base_uri": "https://localhost:8080/",
@@ -302,28 +302,7 @@
302302
"id": "uD1PMqeb4NTX",
303303
"outputId": "df6eb312-2444-4d68-86e1-25704153c289"
304304
},
305-
"outputs": [
306-
{
307-
"name": "stdout",
308-
"output_type": "stream",
309-
"text": [
310-
"hub://activeloop/optical-handwritten-digits-train loaded successfully.\n",
311-
"This dataset can be visualized at https://app.activeloop.ai/activeloop/optical-handwritten-digits-train.\n"
312-
]
313-
},
314-
{
315-
"data": {
316-
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAPUAAAEICAYAAACHyrIWAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADh0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uMy4yLjIsIGh0dHA6Ly9tYXRwbG90bGliLm9yZy+WH4yJAAAN1ElEQVR4nO3dfaxkdX3H8ffHZWVZQCj1IcCCEKqbah9Yu0ERKwq14kPQplghBSK2pf9oIbW1amzFppr+0VBa26IEQQtUsSDRUNBShaBReVrQsixQIFCWiEDp8lRl2eXbP2Y2XbYX77lzZ87M/fF+JRPmzpw53++w+9nfmXPP/H6pKiS143nTbkDSeBlqqTGGWmqMoZYaY6ilxhhqqTGGWmqMoV5iklyV5Hf7fu0CarwnydYkjyf5+Y6vuTPJ5iTnT7K35wpDPSVJ7k7ya9PuY0K+W1W7VdWGHZ9I8o0klWSnbY9V1UHAJ3vtsGGGWs8qyUvGvL/fBpaPc5/6/wz1jEnyM0kuTfJgkv8e3l+1w2YHJbk2yaNJvpJkr+1e/5ok30myKcn3k7xhEe3cMdz/O5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qMoZYaY6ilxhhqqTH/C4NgjuGKQvRUAAAAAElFTkSuQmCC",
317-
"text/plain": [
318-
"<Figure size 432x288 with 1 Axes>"
319-
]
320-
},
321-
"metadata": {
322-
"needs_background": "light"
323-
},
324-
"output_type": "display_data"
325-
}
326-
],
305+
"outputs": [],
327306
"source": [
328307
"ds = hub.dataset(train_path)\n",
329308
"image = ds.images[0].numpy()\n",
@@ -335,7 +314,7 @@
335314
},
336315
{
337316
"cell_type": "code",
338-
"execution_count": 41,
317+
"execution_count": null,
339318
"metadata": {
340319
"colab": {
341320
"base_uri": "https://localhost:8080/",
@@ -344,28 +323,7 @@
344323
"id": "Qj6catLfDeXN",
345324
"outputId": "c594777a-9090-48d7-cb35-73f9220d83d5"
346325
},
347-
"outputs": [
348-
{
349-
"name": "stdout",
350-
"output_type": "stream",
351-
"text": [
352-
"hub://activeloop/optical-handwritten-digits-test loaded successfully.\n",
353-
"This dataset can be visualized at https://app.activeloop.ai/activeloop/optical-handwritten-digits-test.\n"
354-
]
355-
},
356-
{
357-
"data": {
358-
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAPUAAAEICAYAAACHyrIWAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADh0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uMy4yLjIsIGh0dHA6Ly9tYXRwbG90bGliLm9yZy+WH4yJAAAN90lEQVR4nO3de6zkZX3H8feHZWHlJqBokeWmVVpjrZANSLDaLrWiEKRpa6AFq72Q2kgxtbVq0tg2mv7RhGhvVIIgIpVU0NTQFUsFilQFlpsFFgxuoSwVFsSVSwvLwrd/zGyybA+c38yZ+c3s0/crmexcfvN7vrPnfM7zzG9+8zypKiS1Y6dZFyBpsgy11BhDLTXGUEuNMdRSYwy11BhDLTXGUO9gklyd5Lf6fu4IbbwnyTNJHk/ykx2fc2WSJ5NcO83a/r8w1DOS5J4kPz/rOqbkW1W1R1WtA0hycpK7kvwoycYkFyTZa+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gvdm6qjpr1vVMSlV9pKpWVtUhDH5WV1bVqTMuayKq6gHgviSHDe86FtjhDmyOukDexFXVliTvB74GLAPOq6rbZ1zWJBwDnAb8e5Jbhvd9tKrWzLAmLe4M4KJhB7MeeO+M6xnZzD/SkjRZ8zD8ljRBhlpqjKGWGmOopcYYaqkxhlpqjKGWGvO/oU+eydGWaSQAAAAASUVORK5CYII=",
359-
"text/plain": [
360-
"<Figure size 432x288 with 1 Axes>"
361-
]
362-
},
363-
"metadata": {
364-
"needs_background": "light"
365-
},
366-
"output_type": "display_data"
367-
}
368-
],
326+
"outputs": [],
369327
"source": [
370328
"ds = hub.dataset(test_path)\n",
371329
"image = ds.images[0].numpy()\n",

0 commit comments

Comments
 (0)