Calculating Inception Score

Calculating inception score in mxnet according to this source for train data of cirar 10 is giving me score of about ~ 3.3.
Whilst it should be about ~ 10.
So can anyone provide me the code for calculating inception score