CNN and Image Sizes

8 次查看(过去 30 天)
Jovan
Jovan 2023-8-12
评论: Josh 2024-5-9
I have a 129x23x2 input and 129x1x2 output for couple of thousand samples in the training set. How do a I create an convolutional autoencoder in matlab to fit the output size? Can somebody explain how do we structure windows of the convolution layers?
  2 个评论
Josh
Josh 2023-11-5
编辑:Josh 2024-5-9
I might need clarification regarding the structure of your images as usually images are represented as a mxn or mxnx3 matrix...depending on the nature of the image
your description outlines a 3D output matrix; however, it only has two layers and is 129x1 dimensions?
For changing the size of output (image size), I would recommend using the imresize() function. This function can be used to either scale an image by a factor or resize images to a desired height (rows) and width (columns). As far as image convolution methods, MATLAB allows for you to specificy which method/kernel to use in the resizing of the image. Again, I may be misinterpreting your question and need more clarificaton about what you mean by "structure windows of the convolution layers".
Josh
Josh 2024-5-9
any updates?

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Image Data Workflows 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by