Skip to content

Commit 4f9ac4d

Browse files
committed
fix arg handling
1 parent e85d2e3 commit 4f9ac4d

File tree

1 file changed

+1
-1
lines changed
  • examples/basic_classification

1 file changed

+1
-1
lines changed

examples/basic_classification/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ func main() {
2121
if len(args) != 2 {
2222
log.Fatal("Please provide an image as input")
2323
}
24-
imageFile = args[1]
24+
imageFile := args[1]
2525

2626
// Create an inference configurator value.
2727
pluginPaths := dlinfer.NewStringVector()

0 commit comments

Comments
 (0)