問題タブ [dropout]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
python - テンソルフローで直接ドロップアウト層: トレーニング方法は?
Keras でモデルを作成した後、勾配を取得し、tf.train.AdamOptimizer クラスを使用して Tensorflow に直接適用したいと考えています。ただし、ドロップアウト レイヤーを使用しているため、トレーニング モードかどうかをモデルに伝える方法がわかりません。トレーニングキーワードは使用できません。これはコードです:
dropout を使用しても、 dropout レイヤーの有無にかかわらず同じ動作が得られrate=1
ます。これを解決するには?
machine-learning - Keras:訓練およびテスト段階でドロップアウトを使用する方法は?
Keras のトレーニングおよびテスト段階でドロップアウトを使用することは可能ですか?
ここで説明したように: https://github.com/soumith/ganhacks#17-use-dropouts-in-g-in-both-train-and-test-phase