Skip to content

Commit 58c01ee

Browse files
Merge pull request #2166 from nio1814:patch-1
PiperOrigin-RevId: 500264320
2 parents c122ccf + 7fb046d commit 58c01ee

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

site/en/tutorials/load_data/video.ipynb

Lines changed: 4 additions & 7 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)"
@@ -1002,7 +1002,6 @@
10021002
"id": "DdJm7ojgGxtT"
10031003
},
10041004
"source": [
1005-
"\n",
10061005
"To learn more about working with video data in TensorFlow, check out the following tutorials:\n",
10071006
"\n",
10081007
"* [Build a 3D CNN model for video classification](https://www.tensorflow.org/tutorials/video/video_classification)\n",
@@ -1015,8 +1014,6 @@
10151014
"accelerator": "GPU",
10161015
"colab": {
10171016
"name": "video.ipynb",
1018-
"private_outputs": true,
1019-
"provenance": [],
10201017
"toc_visible": true
10211018
},
10221019
"kernelspec": {

0 commit comments

Comments
 (0)