apache / mxnet

Lightweight, Portable, Flexible Distributed/Mobile Deep Learning with Dynamic, Mutation-aware Dataflow Dep Scheduler; for Python, R, Julia, Scala, Go, Javascript and more
https://mxnet.apache.org
Apache License 2.0
20.79k stars 6.79k forks source link

MXPredForward can't enanle dropout #19719

Open xiaozhah opened 3 years ago

xiaozhah commented 3 years ago

I create a network and set the attributes of dropout to training, but it stills can't utilzed the dropout when using MXNet C++ inference API MXPredForward.

enter image description here

How to enable dropout in MXPredForward? any suggestion?

szha commented 3 years ago

if you always want dropout enabled even during inference, you can set mode to always