Browse Source

Add upsample linear mode (#846)

tags/20190611
Gemfield nihui 7 years ago
parent
commit
d91d7419eb
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      tools/onnx/onnx2ncnn.cpp

+ 1
- 1
tools/onnx/onnx2ncnn.cpp View File

@@ -1601,7 +1601,7 @@ int main(int argc, char** argv)
{
resize_type = 1;
}
else if (mode == "bilinear")
else if (mode == "bilinear" || mode == "linear")
{
resize_type = 2;
}


Loading…
Cancel
Save