Hi,
I am trying to use your library in the browser and while building the project I get:
...
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
...
Aborted (core dumped)
npm ERR! code 134
I am using webpack for bundling and as I const mnist = require('mnist') I get the error.
I even tried loading dynamically with webpack:
import(
/* webpackChunkName: "mnist" */
/* webpackMode: "lazy" */
/* webpackPrefetch: false */
/* webpackPreload: false */
'mnist'
).then(mnist => {
console.log('mnist');
});
but this leads to the same error.
It would be nice if this package provides a way to load the dataset asynchronously in the browser.
Hi,
I am trying to use your library in the browser and while building the project I get:
I am using
webpackfor bundling and as Iconst mnist = require('mnist')I get the error.I even tried loading dynamically with
webpack:but this leads to the same error.
It would be nice if this package provides a way to load the dataset asynchronously in the browser.