pull/2817/head
Null Chilly 1 year ago committed by GitHub
parent bebba4ca98
commit 18927f93e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -20,7 +20,7 @@
the discriminator to update the generator. the discriminator to update the generator.
In this example, we are going to learn how to generate digits from the MNIST dataset, but 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 https://github.com/zalandoresearch/fashion-mnist
*/ */

@ -41,7 +41,7 @@
// Introduce the building blocks used to define the segmentation network. // Introduce the building blocks used to define the segmentation network.
// The network first does residual downsampling (similar to the dnn_imagenet_(train_)ex // 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 // 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 // levels. (See Ronneberger et al. (2015), U-Net: Convolutional Networks for Biomedical
// Image Segmentation, https://arxiv.org/pdf/1505.04597.pdf) // 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"} // 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" // 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. // depends on your version of ffmpeg.
muxer writer([&] { muxer writer([&] {
muxer::args args; muxer::args args;

@ -44,7 +44,7 @@ try
} }
else 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; return EXIT_SUCCESS;

@ -67,7 +67,7 @@ const column_vector rosen_derivative (const column_vector& m)
return res; 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. // the matrix of second derivatives.
matrix<double> rosen_hessian (const column_vector& m) 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 // In any case, this function is provided to allow you to perform a graceful
// close if you so choose. // 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. // to this function.
close_gracefully(con); close_gracefully(con);
} }

Loading…
Cancel
Save