cifar dumb bug fix
authorBrendan Hansen <brendan.f.hansen@gmail.com>
Wed, 27 Jan 2021 18:10:43 +0000 (12:10 -0600)
committerBrendan Hansen <brendan.f.hansen@gmail.com>
Tue, 23 Feb 2021 04:00:15 +0000 (22:00 -0600)
src/cifar10.onyx

index 9b657ea4ca6a4a0a48faff8c01f904ea41b2e2c5..42bb2e23235a2519b6196836ba2b3375651a6300 100644 (file)
@@ -120,7 +120,7 @@ output_file := "data/tmp.nn"
 
 main :: (args: [] cstr) {
     if args.count > 1 {
-        output_file = string.make(args[0]);
+        output_file = string.make(args[1]);
     }
     
     printf("Network save location: %s\n", output_file);