Revert "Disable JSON full serialization for now. (#6248)" (#6266)

This reverts commit 6d293020fb.
This commit is contained in:
Jiaming Yuan
2020-10-27 03:30:47 +08:00
committed by GitHub
parent d61b628bf5
commit bcfab4d726
4 changed files with 17 additions and 52 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,