.FastAI
showblockinterpretable
function
defined in module
FastAI
showblockinterpretable(backend, encodings, block, obs)
Decode
block
successively by applying
encodings
until a block is gotten that can be shown by
backend
. Useful to visualize encoded data that is not directly interpretable, for example an
Image{2}
representing an encoded
Image
.
using
FastAI
encodings
=
(
ImagePreprocessing
(
)
,
)
block
=
ImageTensor
{
2
}
(
3
)
x
=
FastAI
.
mockblock
(
block
)
showblockinterpretable
(
ShowText
(
)
,
encodings
,
block
,
x
)
# will decode to an `Image`
@
test_throws
showblock
(
ShowText
(
)
,
encodings
,
block
,
x
)
# will error
There are
2
methods for FastAI.showblockinterpretable
:
The following pages link back here:
interpretation/detect.jl , interpretation/showinterpretable.jl , interpretation/task.jl