You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2019/05/22 12:33:25 UTC

[GitHub] [incubator-mxnet] hsali commented on a change in pull request #14882: empty list cannot be cleared issue fixed.

hsali commented on a change in pull request #14882: empty list cannot be cleared issue fixed.
URL: https://github.com/apache/incubator-mxnet/pull/14882#discussion_r286464707
 
 

 ##########
 File path: example/ctc/multiproc_data.py
 ##########
 @@ -141,4 +141,5 @@ def reset(self):
         print("Queue size on reset: {}".format(qsize))
         for i, p in enumerate(self.proc):
             p.join()
-        self.proc.clear()
+        if len(self.proc) > 0:
 
 Review comment:
   I was using python2.7. I faced issue at that time. that is also good suggestion. 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services