showsamples
function
defined in module
FastAI
showsample([backend], task, sample)
Show a vector of unprocessed
samples
for
LearningTask
task
to
backend::
ShowBackend
.
data
,
blocks
=
loaddataset
(
"
imagenette2-160
"
,
(
Image
,
Label
)
)
task
=
ImageClassificationSingle
(
data
)
samples
=
[
data
[
i
]
for
i
in
1
:
4
]
showsamples
(
task
,
samples
)
# select backend automatically
showsamples
(
ShowText
(
)
,
task
,
samples
)
There are
2
methods for FastAI.showsamples
:
The following pages link back here:
How to visualize data, Saving and loading models for inference