How can I use "createTrainingSet" command?

8 ビュー (過去 30 日間)
Chia Hao Yeh
Chia Hao Yeh 2019 年 7 月 30 日
コメント済み: OhYeah 2022 年 9 月 16 日
I refer to the "Single Image Super-Resolution Using Deep Learning" example in the Matlab document.
But I can't use the "createTrainingSet" command. I have installed all the installation packages.
The error message is "Undefined function or variable 'createTrainingSet'."
And I can't use "matRead", "superResolutionMetrics", witch said in the same error message, too.
Can anyone give me the code for this command? Or any other solution about it. Thanks a lot.
  1 件のコメント
Hasnae AGOURAM
Hasnae AGOURAM 2020 年 6 月 5 日
you can search on matlab folder installation

サインインしてコメントする。

回答 (2 件)

Hari Krishna Ravuri
Hari Krishna Ravuri 2019 年 8 月 2 日
Hi,
I understand that you are trying the "Single Image Super-Resolution Using Deep Learning" example and unable to use the createTrainingSet.There is no function with the name createTrainingSet in MATLAB, perhaps you are confusing with the helper function createVDSRTrainingSet. In the same way, matRead and superResolutionMetrics are helper functions.The example specified in https://www.mathworks.com/help/images/single-image-super-resolution-using-deep-learning.html seems fine.
  3 件のコメント
Hari Krishna Ravuri
Hari Krishna Ravuri 2019 年 8 月 5 日
編集済み: Hari Krishna Ravuri 2019 年 8 月 5 日
To know about a function you can use help.Please refer https://www.mathworks.com/help/matlab/ref/help.html for more information.If you want to see the source code of the above mentioned helper functions, you can use edit command.Please refer https://www.mathworks.com/help/matlab/ref/edit.html for more information.
Anh Duong
Anh Duong 2021 年 4 月 23 日
Hi Hari,
I tried the same example. Matlab does not seem to know what is matRead. I get the error "Function matRead does not exist." yet when I type in "help matRead", I get this:
'matRead' is used in the following examples:
JPEG Image Deblocking Using Deep Learning
3-D Brain Tumor Segmentation Using Deep Learning
Single Image Super-Resolution Using Deep Learning
I know matRead byt sents me that the function does not exist,
Please HELP!

サインインしてコメントする。


DIANA EARSHIA
DIANA EARSHIA 2021 年 8 月 17 日
The functions createVDSRTrainingSet, matRead and superResolutionMetrics are defined seperately. try to open the entire code using matlab online. u can find codes for these function
  1 件のコメント
OhYeah
OhYeah 2022 年 9 月 16 日
You are right.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeImage Data Workflows についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by