Make JSON the default full serialization format. (#6027)

This commit is contained in:
Jiaming Yuan
2020-08-19 09:57:43 +08:00
committed by GitHub
parent f58e41bad8
commit 90355b4f00
3 changed files with 8 additions and 43 deletions

View File

@@ -47,9 +47,12 @@ eval[test] = {data_path}
seed = 1994
with tempfile.TemporaryDirectory() as tmpdir:
model_out_cli = os.path.join(tmpdir, 'test_load_cli_model-cli.bin')
model_out_py = os.path.join(tmpdir, 'test_cli_model-py.bin')
config_path = os.path.join(tmpdir, 'test_load_cli_model.conf')
model_out_cli = os.path.join(
tmpdir, 'test_load_cli_model-cli.json')
model_out_py = os.path.join(
tmpdir, 'test_cli_model-py.json')
config_path = os.path.join(
tmpdir, 'test_load_cli_model.conf')
train_conf = self.template.format(data_path=data_path,
seed=seed,