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. So I fixed it.
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services