Skip to content

There is no entire model and model weights file to load  #179

@alakhalil

Description

@alakhalil

Hello,

I am trying to evaluate the model by testing the trained model on small-java dataset.

  1. I downloaded the trained model (1.4 GB)
    wget https://s3.amazonaws.com/code2vec/model/java14m_model.tar.gz tar -xvzf java14m_model.tar.gz
  2. I downloaded the small-java dataset
    wget https://s3.amazonaws.com/code2vec/data/java-small_data.tar.gz

I tried to test the trained model via
python3 code2vec.py --load models/java14_model/saved_model_iter8.release --test data/java-small/java-small.test.c2v --framework keras

But I got the error
ValueError: There is no entire model to load at path models/java14_model/saved_model_iter8.release__entire-model, and there is no model weights file to load at path models/java14_model/saved_model_iter8.release__only-weights.

How the entire-model and weight can be generated?

Kind regards,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions