readall
Read all data in datastore
Syntax
Description
Input Arguments
ds
— Datastore with labeled data
PixelLabelDatastore
object | pixelLabelImageDatastore
object | boxLabelDatastore
object
Datastore with labeled data for training a semantic segmentation network
or an object detection network, specified as a pixelLabelDatastore
, pixelLabelImageDatastore
, 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. |
PixelLabelImageDatastore | |
boxLabelDatastore | N-by-2 cell matrix.
N must be less than or equal to
ReadSize(ds) . The first column must be a cell vector that contains bounding boxes. Each element in the cell vector contains M-by-4 matrices in the format [x,y,width,height]. 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
trainNetwork
(Deep Learning Toolbox) | pixelClassificationLayer
| pixelLabelImageDatastore
| boxLabelDatastore
Commande MATLAB
Vous avez cliqué sur un lien qui correspond à cette commande MATLAB :
Pour exécuter la commande, saisissez-la dans la fenêtre de commande de MATLAB. Les navigateurs web ne supportent pas les commandes MATLAB.
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)