-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels