Skip to content

Commit

Permalink
Fix typos (davisking#2811)
Browse files Browse the repository at this point in the history
  • Loading branch information
rewhile authored Jun 12, 2023
1 parent bebba4c commit 18927f9
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion examples/dnn_dcgan_train_ex.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/

Expand Down
2 changes: 1 addition & 1 deletion examples/dnn_semantic_segmentation_ex.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
2 changes: 1 addition & 1 deletion examples/ffmpeg_rtsp_ex.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion examples/ffmpeg_screen_grab_ex.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion examples/optimization_ex.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<double> rosen_hessian (const column_vector& m)
{
Expand Down
2 changes: 1 addition & 1 deletion examples/sockstreambuf_ex.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 18927f9

Please sign in to comment.