Assertion error in random_mini_batches even though tests are passing

Can someone please help me with this? Thanks in advance.

Hi, @t100.

I haven’t heard back from you. Did you solve the problem on your own? :slight_smile:

Fyi, I ran into this issue and it’s because on 64 bit windows numpy still defaults to a 32 bit integer, because of the platform C type for long.

While this will probably get fixed one day, at the moment it is something that will hit anyone who tries to work locally on a Windows machine. Re-writing the assert to not overflow 32 bits is probably the simplest work around.

1 Like

I got the same error with all tests passing. I’m not running it locally.