mirror of
https://github.com/lordmathis/CUDANet.git
synced 2025-11-05 17:34:21 +00:00
Remove softmax from last inception layer
This commit is contained in:
@@ -707,7 +707,7 @@ InceptionV3::InceptionV3(
|
||||
addLayer("AveragePool", avgpool);
|
||||
|
||||
fc = new CUDANet::Layers::Dense(
|
||||
avgpool->getOutputSize(), 1000, CUDANet::Layers::ActivationType::SOFTMAX
|
||||
avgpool->getOutputSize(), 1000, CUDANet::Layers::ActivationType::NONE
|
||||
);
|
||||
addLayer("fc", fc);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user