Commit 9d3d1d66 authored by Paul's avatar Paul
Browse files

Rename file type variable

parent 0c6195ee
...@@ -35,8 +35,8 @@ struct loader ...@@ -35,8 +35,8 @@ struct loader
{ {
if(ends_with(file, ".onnx")) if(ends_with(file, ".onnx"))
file_type = "onnx"; file_type = "onnx";
else else if(ends_with(file, ".pb"))
(ends_with(file, ".pb")) file_type = "tf"; file_type = "tf";
} }
std::cout << "Reading: " << file << std::endl; std::cout << "Reading: " << file << std::endl;
if(file_type == "onnx") if(file_type == "onnx")
......
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