Skip to content

Commit

Permalink
fixed command line parsing for DetectNet
Browse files Browse the repository at this point in the history
  • Loading branch information
dusty-nv committed May 8, 2017
1 parent 5b0a29a commit 36aff62
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions detectNet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,8 @@ detectNet* detectNet::Create( int argc, char** argv )
{
if( argc == 2 )
modelName = argv[1];
else if( argc == 4 )
modelName = argv[3];
else
modelName = "pednet";
}
Expand Down

0 comments on commit 36aff62

Please sign in to comment.