Integer division or modulo by zero


Using my custom data set in a train.csv file, I am always getting the error "integer division or modulo by zero " when training the model.

Do you know why?

Hi Peter,

It looks like your dataset contains NULL values. And these values not considered as valid values.

You should either delete NULL/NaN/empty values or replace them with some other value.

Hope this will help you.


Thanks, but there is no “NULL”, no “NaN” and no empty value. So, I don’t understand what’s going on. :frowning:

Hi Peter,

Can you please share the model configurations and sample dataset at ?

We will try to reproduce the issue and will come back to you.