mirror of
https://github.com/marian-nmt/marian.git
synced 2024-12-11 09:54:22 +03:00
9 lines
208 B
Python
9 lines
208 B
Python
#!/usr/bin/env python
|
|
import sys
|
|
import cPickle
|
|
import yaml
|
|
import operator
|
|
|
|
d = cPickle.load(open(sys.argv[1], 'r'))
|
|
yaml.safe_dump(d, sys.stdout,
|
|
default_flow_style=False, allow_unicode=True) |