Skip to content

Test mode is failing #3

@mat-sipahi

Description

@mat-sipahi

Hi,
I have issues with running the code in test mode. There was a Segmentation Fault because the m_driver object was not initialized correctly (options was null), so I fixed the issue by making the following change (copied from function NNDisParser::train):

Screen Shot 2022-08-10 at 12 59 48 AM

But now I'm getting the following error:

NNDisParser/src/NNDisParser-synmlp-do/model/EDUNodes.h:147: 
void EDUNodes::forward(Graph*, const EDU&, const std::vector<Node*>&): 
Assertion `word_concat[idx].dim == word_represents[idx].param->W.inDim()' failed.

Do you have any idea how it can be fixed? (FYI I printed the value of word_concat[idx].dim and it was 0).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions