gigasquid commented on a change in pull request #13864: [Clojure] package infer tweaks URL: https://github.com/apache/incubator-mxnet/pull/13864#discussion_r247322899
########## File path: contrib/clojure-package/examples/infer/objectdetector/src/infer/objectdetector_example.clj ########## @@ -54,23 +54,16 @@ "Print image detector predictions for the given input file" [predictions width height] (println (apply str (repeat 80 "="))) - (doseq [[label prob-and-bounds] predictions] - (println (format - "Class: %s Prob=%.5f Coords=(%.3f, %.3f, %.3f, %.3f)" - label - (aget prob-and-bounds 0) - (* (aget prob-and-bounds 1) width) - (* (aget prob-and-bounds 2) height) - (* (aget prob-and-bounds 3) width) - (* (aget prob-and-bounds 4) height)))) + (doseq [p predictions] + (println p)) Review comment: oh right - that was a miss on my part - I'll add that back it (without the aget) ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
