nswamy commented on a change in pull request #10343: [MXNET-116] Optimized 
functions with batch input
URL: https://github.com/apache/incubator-mxnet/pull/10343#discussion_r178595028
 
 

 ##########
 File path: 
scala-package/infer/src/main/scala/ml/dmlc/mxnet/infer/ImageClassifier.scala
 ##########
 @@ -195,19 +195,28 @@ object ImageClassifier {
 
   /**
     * Loading input batch of images
-    * @param inputImageDirPath
-    * @return List of buffered images
+    * @param inputImageFiles
+    * @return List of buffered images-
     */
-  def loadInputBatch(inputImageDirPath: String): List[BufferedImage] = {
+  def loadInputBatch(inputImageFiles: List[File]): List[BufferedImage] = {
 
 Review comment:
   take path to files and return a traversable of Buffered Image
   
   check the file exists in the function

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to