Skip to content

Commit

Permalink
bundle example model file for weight_model_extract.py; model was gene…
Browse files Browse the repository at this point in the history
…rated by weight_shogun.py
  • Loading branch information
kmaehashi committed Dec 18, 2016
1 parent ae45c05 commit 3d8a5d3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion example/weight_model_extract.py
Expand Up @@ -25,7 +25,10 @@
"""

# Load the model file.
modelpath = sys.argv[1]
modelpath = 'weight_shogun_model.jubatus'
if 1 < len(sys.argv):
modelpath = sys.argv[1]

with open(modelpath, 'rb') as f:
model = JubaModel.load_binary(f)

Expand Down
Binary file added example/weight_shogun_model.jubatus
Binary file not shown.

0 comments on commit 3d8a5d3

Please sign in to comment.