Skip to content

Commit 2c218ae

Browse files
austinkinrossOri Levari
authored andcommitted
Update SqueezeNetObjectDetectionCPP.exe usage string + related comments (#236)
This PR removed one of the parameters passed to SqueezeNetObjectDetectionCPP.exe: #116 However, the PR didn't update the 'usage' string to match the new behavior. I
1 parent 0fa0e9a commit 2c218ae

File tree

1 file changed

+3
-3
lines changed
  • Samples/SqueezeNetObjectDetection/Desktop/cpp

1 file changed

+3
-3
lines changed

Samples/SqueezeNetObjectDetection/Desktop/cpp/main.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,15 @@ wstring GetModelPath()
3535
}
3636

3737
// MAIN !
38-
// usage: SqueezeNet [modelfile] [imagefile] [cpu|directx]
38+
// usage: SqueezeNet [imagefile] [cpu|directx]
3939
int main(int argc, char* argv[])
4040
{
4141
init_apartment();
4242

4343
// did they pass in the args
4444
if (ParseArgs(argc, argv) == false)
4545
{
46-
printf("Usage: %s [modelfile] [imagefile] [cpu|directx]", argv[0]);
46+
printf("Usage: %s [imagefile] [cpu|directx]", argv[0]);
4747
return -1;
4848
}
4949

@@ -92,7 +92,7 @@ bool ParseArgs(int argc, char* argv[])
9292
}
9393
// get the image file
9494
imagePath = hstring(wstring_to_utf8().from_bytes(argv[1]));
95-
// did they pass a fourth arg?
95+
// did they pass a third arg?
9696
if (argc >= 3)
9797
{
9898
deviceName = argv[2];

0 commit comments

Comments
 (0)