Clear Filters
Clear Filters

Where to find the image packages of folder so that we can try some transfer learning NEURAL NET.

5 views (last 30 days)
I have gone through the video, transfer nets in 10 lines of code. I wanted to try but the images and the folders that were used are not provided anywhere so how can we test the neural net.

Answers (1)

Image Analyst
Image Analyst on 4 Feb 2018
For the Image Processing Toolbox, use this code snippet to find where most of the demo images live:
% Determine where demo folders are (works with all versions).
demoFolder1 = fileparts(which('cameraman.tif'))
demoFolder2 = fileparts(which('peppers.png'))
The code relies on the fact that the demo images live somewhere on the path, and so the which() function will find them.
They changed the folder location a few years ago. Currently they live here:
'C:\Program Files\MATLAB\R2017b\toolbox\images\imdata'
'C:\Program Files\MATLAB\R2017b\toolbox\matlab\imagesci'
For the Neural Network Toolbox, replace 'cameraman.tif' with the name of some known demo image that the toolbox uses in one of its demos. I don't have that toolbox so I can't help you more than that.

Community Treasure Hunt

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

Start Hunting!