mirror of
https://github.com/davisking/dlib.git
synced 2024-11-01 10:14:53 +08:00
Fix typos (#2811)
This commit is contained in:
parent
bebba4ca98
commit
18927f93e2
@ -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
|
||||
*/
|
||||
|
||||
|
@ -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)
|
||||
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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)
|
||||
{
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user