Fixed model paths
This commit is contained in:
@@ -4,8 +4,8 @@ export async function loadMNIST(device, sampleCount = 1000) {
|
|||||||
return new Uint8Array(await res.arrayBuffer());
|
return new Uint8Array(await res.arrayBuffer());
|
||||||
}
|
}
|
||||||
|
|
||||||
const imgRaw = await loadFile("../../models/train-images-idx3-ubyte");
|
const imgRaw = await loadFile("./models/train-images-idx3-ubyte");
|
||||||
const lblRaw = await loadFile("../../models/train-labels-idx1-ubyte");
|
const lblRaw = await loadFile("./models/train-labels-idx1-ubyte");
|
||||||
|
|
||||||
const header = 16;
|
const header = 16;
|
||||||
const fullCount = lblRaw.length - 8;
|
const fullCount = lblRaw.length - 8;
|
||||||
|
|||||||
Reference in New Issue
Block a user