Regarding CIFAR10 training data
古いコメントを表示
Hi, I have downloaded CIFAR-10 using this url https://www.cs.toronto.edu/~kriz/cifar-10-matlab.tar.gz but helperCIFAR10Data.load(file path) is not working.
Following commands are mentioned in MATLAB help to download and use CIFAR-10 data for training but it is neither downloading directly nor picking up the downloaded file using above mentioned command. Am I using it wrong? How can I load the CIFAR10 data in my workspace?
cifar10Data = tempdir;
% I downloaded and saved the file in the directory which I used for above command
url = 'https://www.cs.toronto.edu/~kriz/cifar-10-matlab.tar.gz';
helperCIFAR10Data.download(url,cifar10Data);
[trainingImages,trainingLabels,testImages,testLabels] = helperCIFAR10Data.load(cifar10Data);
6 件のコメント
Walter Roberson
2019 年 1 月 30 日
Which release are you using?
In R2017b the file was in
fullfile(matlabroot,'examples', 'vision, 'main', 'helperCIFAR10Data.m')
from the Computer Vision toolbox.
by R2018b the file was in
fullfile(matlabroot,'examples', 'nnet', 'main', 'helperCIFAR10Data.m')
from the Deep Learning toolbox.
Farah Sarwar
2019 年 1 月 30 日
Varunikaa Thennarasan
2023 年 12 月 6 日
Hi, could you help me with this I wasnt able to figure it out.
Walter Roberson
2023 年 12 月 6 日
As of R2023a, the default behaviour is that the examples (and documentation) are not installed locally when you install MATLAB. When you use the command
openExample('deeplearning_shared/DeepLearningRCNNObjectDetectionExample')
and do not have documentation installed locally, then MATLAB reads files from the Mathworks servers. The names of the files as stored on the Mathworks servers are unique IDs that are not related to the file names they will become -- for example helperCIFAR10Data.m might be stored on the server as file 3FE13491B78F7FF1.txt (I think this is because there might be multiple files with the same name but different purposes, so it is important that the correct one be copied in.)
Once I had executed the openExample, on my system, the helper file was installed into
/Users/roberson/Documents/MATLAB/Examples/R2023b/deeplearning_shared/DeepLearningRCNNObjectDetectionExample/helperCIFAR10Data.m
Varunikaa Thennarasan
2023 年 12 月 7 日
Hi Walter is there an email I could reach out to you?
Walter Roberson
2023 年 12 月 8 日
@Varunikaa Thennarasan You can contact me by my profile, but I no longer give out my email address
回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Introduction to Installation and Licensing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!