Skip to content

Commit 59ed8a7

Browse files
authored
Update video.ipynb
1 parent 881afa3 commit 59ed8a7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

site/en/tutorials/load_data/video.ipynb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@
444444
"id": "LlEQ_I0TLd1X"
445445
},
446446
"source": [
447-
"The following `download_ufc_101_subset` function allows you to download a subset of the UCF101 dataset and split it into the training, validation, and test sets. You can specify the number of classes that you would like to use. The `splits` argument allows you to pass in a dictionary in which the key values are the name of subset (example: \"train\") and the number of videos you would like to have per class."
447+
"The following `download_ucf_101_subset` function allows you to download a subset of the UCF101 dataset and split it into the training, validation, and test sets. You can specify the number of classes that you would like to use. The `splits` argument allows you to pass in a dictionary in which the key values are the name of subset (example: \"train\") and the number of videos you would like to have per class."
448448
]
449449
},
450450
{
@@ -455,8 +455,8 @@
455455
},
456456
"outputs": [],
457457
"source": [
458-
"def download_ufc_101_subset(zip_url, num_classes, splits, download_dir):\n",
459-
" \"\"\" Download a subset of the UFC101 dataset and split them into various parts, such as\n",
458+
"def download_ucf_101_subset(zip_url, num_classes, splits, download_dir):\n",
459+
" \"\"\" Download a subset of the UCF101 dataset and split them into various parts, such as\n",
460460
" training, validation, and test.\n",
461461
"\n",
462462
" Args:\n",
@@ -506,7 +506,7 @@
506506
"outputs": [],
507507
"source": [
508508
"download_dir = pathlib.Path('./UCF101_subset/')\n",
509-
"subset_paths = download_ufc_101_subset(URL,\n",
509+
"subset_paths = download_ucf_101_subset(URL,\n",
510510
" num_classes = NUM_CLASSES,\n",
511511
" splits = {\"train\": 30, \"val\": 10, \"test\": 10},\n",
512512
" download_dir = download_dir)"

0 commit comments

Comments
 (0)