Skip to content

Training fails #8

@DavidMoraisFerreira

Description

@DavidMoraisFerreira

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
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions