zackchase opened a new issue #7285: Bug in gluon dcgan.py example
URL: https://github.com/apache/incubator-mxnet/issues/7285
 
 
   Running MXNet on EC2 G2.billionXlarge instance:
   
   Gluon dcgan.py example give this error with Python 3
   
   Traceback (most recent call last):
     File "dcgan.py", line 203, in <module>
       visual('gout', fake.asnumpy(), 
name=os.path.join(outf,'fake_img_iter_%d.png' %iter))
     File "dcgan.py", line 32, in visual
       fill_buf(buff, i, img, X.shape[1:3])
     File "dcgan.py", line 22, in fill_buf
       buf[sy:sy+shape[1], sx:sx+shape[0], :] = img
   TypeError: slice indices must be integers or None or have an __index__ method
   
   
   
   For bugs or installation issues, please provide the following information.
   The more information you provide, the more likely people will be able to 
help you.
   
   ## Environment info
   Operating System:
   
   Compiler:
   
   Package used (Python/R/Scala/Julia):
   
   MXNet version:
   
   Or if installed from source:
   
   MXNet commit hash (`git rev-parse HEAD`):
   
   If you are using python package, please provide
   
   Python version and distribution:
   
   If you are using R package, please provide
   
   R `sessionInfo()`:
   
   ## Error Message:
   Please paste the full error message, including stack trace.
   
   ## Minimum reproducible example
   if you are using your own code, please provide a short script that 
reproduces the error.
   
   ## Steps to reproduce
   or if you are running standard examples, please provide the commands you 
have run that lead to the error.
   
   1.
   2.
   3.
   
   ## What have you tried to solve it?
   
   1.
   2.
   3.
   
 
----------------------------------------------------------------
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