Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Training fails #8

Open
DavidMoraisFerreira opened this issue May 2, 2020 · 0 comments
Open

Training fails #8

DavidMoraisFerreira opened this issue May 2, 2020 · 0 comments

Comments

@DavidMoraisFerreira
Copy link

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.

Steps to reproduce:

  1. git clone repository
  2. apply Fixed reference to missing file #7
  3. npm run train
  4. ERROR, see output below
  5. node ..\utils\generate-fixture.js .\honolulu.osm.pbf .\honolulu.json
  6. npm run train
  7. ERROR, see output below

Here is the output:

npm run train
[email protected] 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant