Skip to content

RuntimeError: memory access out of bounds #16

Description

@chidokun

I have a big problem when loading a model string from file for the first run. libsvm can not deserialize model because of the following RuntimeError. But when I try training a dataset and then load my model from file, it's ok.

RuntimeError: memory access out of bounds
    at wasm-function[84]:51
    at wasm-function[256]:11
    at SVM.Module._deserialize_model (D:\Documents\Thesis\sources\verizone-api\node_modules\libsvm-js\out\wasm\libsvm.js:79:107637)
    at ccall (D:\Documents\Thesis\sources\verizone-api\node_modules\libsvm-js\out\wasm\libsvm.js:79:4914)
    at D:\Documents\Thesis\sources\verizone-api\node_modules\libsvm-js\out\wasm\libsvm.js:79:5295
    at Function.load (D:\Documents\Thesis\sources\verizone-api\node_modules\libsvm-js\src\loadSVM.js:252:19)
    at Function.<anonymous> (D:\Documents\Thesis\sources\verizone-api\src\ml\MLModel.ts:17:30)
    at Generator.next (<anonymous>)
    at fulfilled (D:\Documents\Thesis\sources\verizone-api\src\ml\MLModel.ts:4:58)

Any solution?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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