Implement Interp layer using Resize layer

This commit is contained in:
Dmitry Kurtaev
2018-06-22 19:26:47 +03:00
parent 1894f1a37f
commit e8e9d1d021
4 changed files with 65 additions and 9 deletions
+6 -1
View File
@@ -1137,13 +1137,18 @@ private:
int outWidth, outHeight, zoomFactor;
};
TEST(Layer_Test_Interp, Accuracy)
TEST(Layer_Test_Interp_custom, Accuracy)
{
CV_DNN_REGISTER_LAYER_CLASS(Interp, InterpLayer);
testLayerUsingCaffeModels("layer_interp", DNN_TARGET_CPU, false, false);
LayerFactory::unregisterLayer("Interp");
}
TEST(Layer_Test_Interp, Accuracy)
{
testLayerUsingCaffeModels("layer_interp", DNN_TARGET_CPU, false, false);
}
TEST(Layer_Test_PoolingIndices, Accuracy)
{
Net net;