roywei commented on issue #14751: Model build error: Check failed: i >= 0 && i < ndim(): index = -2 must be in range [0, -1) URL: https://github.com/apache/incubator-mxnet/issues/14751#issuecomment-485595205 Hi @atopion, thanks for the issue, could you share the following to help us debug? 1. what keras-mxnet version are you using? 2. which example is failing. 3. your keras.json config (located at `~/.keras/keras.json`) I'm running `examples/lstm_text_generation.py` seems fine. ``` keras-mxnet 2.2.4.1 mxnet-cu90 1.5.0b20190412 ``` ``` python lstm_text_generation.py Using MXNet backend Downloading data from https://s3.amazonaws.com/text-datasets/nietzsche.txt 606208/600901 [==============================] - 0s 1us/step 614400/600901 [==============================] - 0s 1us/step corpus length: 600893 total chars: 57 nb sequences: 200285 Vectorization... Build model... Epoch 1/60 /usr/local/lib/python2.7/dist-packages/mxnet/module/bucketing_module.py:408: UserWarning: Optimizer created manually outside Module but rescale_grad is not normalized to 1.0/batch_size/num_workers (1.0 vs. 0.0078125). Is this intended? force_init=force_init) 131456/200285 [==================>...........] - ETA: 33s - loss: 2.2159 ```
---------------------------------------------------------------- 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
