Skip to content

Commit

Permalink
Update metadata output
Browse files Browse the repository at this point in the history
  • Loading branch information
cthoyt committed Jun 22, 2019
1 parent 4243b18 commit ca507c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/nrl/model/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ def get_metadata(self):
'package_version': get_version(),
# TODO get losses or training info from word2vec
'parameters': {
'random_walk': self.random_walk_parameters.to_json(),
'word2vec': self.word2vec_parameters.to_json(),
'random_walk': WalkerParameters.schema().dump(self.random_walk_parameters),
'word2vec': Word2VecParameters.schema().dump(self.word2vec_parameters),
},
}

Expand Down

0 comments on commit ca507c5

Please sign in to comment.