Clear Filters
Clear Filters

Sequence-to-Sequence Classification Using 1-D Convolutions

2 views (last 30 days)
in version 2024a
line spatialDropoutLayer(dropoutFactor) gives error to include probibility with namevalue pair. What is the relation of probibility and dropoutFactor. How to get rid of this error

Answers (1)

Neha
Neha on 16 May 2024
Hi,
The example errors out in R2024a due to a syntax error in the attributes of "spatialDropoutLayer". You can change the lines 47 and 51 to "spatialDropoutLayer(Probability=dropoutFactor)" to resolve the issue.
Hope it helps!

Products


Release

R2024a

Community Treasure Hunt

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

Start Hunting!