Commit c5a7bf90 authored by Paul's avatar Paul
Browse files

Check for .pb extension for tensorflow

parent 80932f5f
...@@ -35,7 +35,7 @@ struct loader ...@@ -35,7 +35,7 @@ struct loader
{ {
if(ends_with(file, ".onnx")) if(ends_with(file, ".onnx"))
type = "onnx"; type = "onnx";
else else(ends_with(file, ".pb"))
type = "tf"; type = "tf";
} }
std::cout << "Reading: " << file << std::endl; std::cout << "Reading: " << file << std::endl;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment