You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I am currently working on setting up Mashnet to work with OSM data in Luxembourg.
After fixing a broken file reference in #7, I tried running npm run train using the sample data again.
It makes no difference whether I execute utils/generate-fixture.js or not.
npm run train
mashnet@1.0.0 train D:\Documents\Development\mashnet
node train/match.js
1
D:\Documents\Development\mashnet\src\index.js:353
throw new Error("Mashnet.prototype.match must receive an array of scores");
^
Error: Mashnet.prototype.match must receive an array of scores
at Mashnet.match (D:\Documents\Development\mashnet\src\index.js:353:11)
at Object. (D:\Documents\Development\mashnet\train\match.js:41:25)
at Module._compile (internal/modules/cjs/loader.js:1147:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1167:10)
at Module.load (internal/modules/cjs/loader.js:996:32)
at Function.Module._load (internal/modules/cjs/loader.js:896:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
at internal/main/run_main_module.js:17:47
Hi,
I am currently working on setting up Mashnet to work with OSM data in Luxembourg.
After fixing a broken file reference in #7, I tried running
npm run trainusing the sample data again.It makes no difference whether I execute utils/generate-fixture.js or not.
Steps to reproduce:
npm run trainnode ..\utils\generate-fixture.js .\honolulu.osm.pbf .\honolulu.jsonnpm run trainHere is the output: