Skip to content

Commit

Permalink
using droput for cifar 10 classifier (wip)
Browse files Browse the repository at this point in the history
  • Loading branch information
Julio Jerez committed Nov 17, 2023
1 parent c387d74 commit 8697b0e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -419,10 +419,10 @@ static void Cifar10TrainingSet()
//layers.PushBack(new ACTIVATION_TYPE(conv->GetOutputSize()));

ndInt32 neuronsPerLayers = 128;
layers.PushBack(new ndBrainLayerLinear(layers[layers.GetCount() - 1]->GetOutputSize(), neuronsPerLayers));
layers.PushBack(new ndBrainLayerLinearWithDropOut(layers[layers.GetCount() - 1]->GetOutputSize(), neuronsPerLayers));
layers.PushBack(new ACTIVATION_TYPE(layers[layers.GetCount() - 1]->GetOutputSize()));

layers.PushBack(new ndBrainLayerLinear(layers[layers.GetCount() - 1]->GetOutputSize(), neuronsPerLayers));
layers.PushBack(new ndBrainLayerLinearWithDropOut(layers[layers.GetCount() - 1]->GetOutputSize(), neuronsPerLayers));
layers.PushBack(new ACTIVATION_TYPE(layers[layers.GetCount() - 1]->GetOutputSize()));

layers.PushBack(new ndBrainLayerLinear(layers[layers.GetCount() - 1]->GetOutputSize(), trainingLabels->GetColumns()));
Expand Down

0 comments on commit 8697b0e

Please sign in to comment.