Skip to content

Commit

Permalink
Do not bound the model width
Browse files Browse the repository at this point in the history
  • Loading branch information
TrentHouliston committed Sep 4, 2020
1 parent c254432 commit f72fe32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion training/export.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,4 +91,4 @@ def export(config, output_path):
stages[0][0]["weights"] = first.numpy().tolist()

with open(os.path.join(output_path, "model.yaml"), "w") as out:
yaml.dump(stages, out, default_flow_style=None, width=1000000)
yaml.dump(stages, out, default_flow_style=None, width=float("inf"))

0 comments on commit f72fe32

Please sign in to comment.