readall
Read all data in label datastore
Syntax
Description
Input Arguments
ds
— Datastore with labeled data
PixelLabelDatastore
object | boxLabelDatastore
object
Datastore with labeled data for training a semantic segmentation network
or an object detection network, specified as a pixelLabelDatastore
or boxLabelDatastore
object.
Output Arguments
data
— Output data
cell array of categorical matrices | M-by-2 cell array | table
Output data, returned as an M-by-2 cell array, cell array of categorical matrices, or a table.
Datastore | Output Description |
---|---|
PixelLabelDatastore | Table with MiniBatchSize number of
rows. For the last batch of data in the datastore,
numObservations must be divisible
by MiniBatchSize or
read returns a partial batch
containing all the remaining observations in the
datastore. |
boxLabelDatastore | N-by-2 cell matrix.
N must be less than or equal to
The second column must be a cell vector that contains the label names corresponding to each bounding box. Label names are represented as an M-by-1 categorical vector. |
Version History
Introduced in R2017b
See Also
trainnet
(Deep Learning Toolbox) | boxLabelDatastore
| pixelLabelDatastore
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)