-
Notifications
You must be signed in to change notification settings - Fork 81
Large Bin File Error #28
Copy link
Copy link
Open
Description
DoubleBuffer vectors = ByteBuffer.allocateDirect(vocabSize * layerSize * 8).asDoubleBuffer();
this line was throwing error since the int multiplication vocabSize * layerSize * 8 > Integer.MAX_VALUE so negative number was passed into the method.
As a dirty fix i change it to the following:
DoubleBuffer vectors = DoubleBuffer.allocate(1000000000);
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels