From 18927f93e223fa2cc1110dec9467949b5605169e Mon Sep 17 00:00:00 2001 From: Null Chilly <56817415+nullchilly@users.noreply.github.com> Date: Mon, 12 Jun 2023 07:21:05 +0700 Subject: [PATCH] Fix typos (#2811) --- examples/dnn_dcgan_train_ex.cpp | 2 +- examples/dnn_semantic_segmentation_ex.h | 2 +- examples/ffmpeg_rtsp_ex.cpp | 2 +- examples/ffmpeg_screen_grab_ex.cpp | 2 +- examples/optimization_ex.cpp | 2 +- examples/sockstreambuf_ex.cpp | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/examples/dnn_dcgan_train_ex.cpp b/examples/dnn_dcgan_train_ex.cpp index 9dab87633..4e316e8c2 100644 --- a/examples/dnn_dcgan_train_ex.cpp +++ b/examples/dnn_dcgan_train_ex.cpp @@ -20,7 +20,7 @@ the discriminator to update the generator. In this example, we are going to learn how to generate digits from the MNIST dataset, but - the same code can be run using the Fashion MNIST datset: + the same code can be run using the Fashion MNIST dataset: https://github.com/zalandoresearch/fashion-mnist */ diff --git a/examples/dnn_semantic_segmentation_ex.h b/examples/dnn_semantic_segmentation_ex.h index 8a155bc3b..e43af50db 100644 --- a/examples/dnn_semantic_segmentation_ex.h +++ b/examples/dnn_semantic_segmentation_ex.h @@ -41,7 +41,7 @@ // Introduce the building blocks used to define the segmentation network. // The network first does residual downsampling (similar to the dnn_imagenet_(train_)ex // example program), and then residual upsampling. In addition, U-Net style skip -// connections are used, so that not every simple detail needs to reprented on the low +// connections are used, so that not every simple detail needs to represented on the low // levels. (See Ronneberger et al. (2015), U-Net: Convolutional Networks for Biomedical // Image Segmentation, https://arxiv.org/pdf/1505.04597.pdf) diff --git a/examples/ffmpeg_rtsp_ex.cpp b/examples/ffmpeg_rtsp_ex.cpp index 173f103f7..82b9e612d 100644 --- a/examples/ffmpeg_rtsp_ex.cpp +++ b/examples/ffmpeg_rtsp_ex.cpp @@ -107,7 +107,7 @@ try { // The muxer acts as an RTSP client, so we don't use {"rtsp_flags", "listen"} // When using RTSP, it is usually a good idea to specify muxer::args::output_format = "rtsp" - // even though the URL has rtsp:// in its address. Whether or not you need to specify args.output_formt = "rtsp" + // even though the URL has rtsp:// in its address. Whether or not you need to specify args.output_format = "rtsp" // depends on your version of ffmpeg. muxer writer([&] { muxer::args args; diff --git a/examples/ffmpeg_screen_grab_ex.cpp b/examples/ffmpeg_screen_grab_ex.cpp index f760b0751..9c995aa92 100644 --- a/examples/ffmpeg_screen_grab_ex.cpp +++ b/examples/ffmpeg_screen_grab_ex.cpp @@ -44,7 +44,7 @@ try } else { - printf("Sorry your installation of ffmpeg doens't support screen grab\n"); + printf("Sorry your installation of ffmpeg doesn't support screen grab\n"); } return EXIT_SUCCESS; diff --git a/examples/optimization_ex.cpp b/examples/optimization_ex.cpp index 6700719b0..c0a868b3d 100644 --- a/examples/optimization_ex.cpp +++ b/examples/optimization_ex.cpp @@ -67,7 +67,7 @@ const column_vector rosen_derivative (const column_vector& m) return res; } -// This function computes the Hessian matrix for the rosen() fuction. This is +// This function computes the Hessian matrix for the rosen() function. This is // the matrix of second derivatives. matrix rosen_hessian (const column_vector& m) { diff --git a/examples/sockstreambuf_ex.cpp b/examples/sockstreambuf_ex.cpp index 93200baa5..94b7ba216 100644 --- a/examples/sockstreambuf_ex.cpp +++ b/examples/sockstreambuf_ex.cpp @@ -79,7 +79,7 @@ int main() // In any case, this function is provided to allow you to perform a graceful // close if you so choose. // - // Also note that the timeout can be changed by suppling an optional argument + // Also note that the timeout can be changed by supplying an optional argument // to this function. close_gracefully(con); }