set batch_size=1 in kl quant
This commit is contained in:
parent
d57049bc75
commit
2d124b74ed
|
@ -137,7 +137,8 @@ def main(config, device, logger, vdl_writer):
|
||||||
sample_generator=sample_generator(train_dataloader),
|
sample_generator=sample_generator(train_dataloader),
|
||||||
save_model_filename='inference.pdmodel',
|
save_model_filename='inference.pdmodel',
|
||||||
save_params_filename='inference.pdiparams',
|
save_params_filename='inference.pdiparams',
|
||||||
batch_nums=10)
|
batch_size=1,
|
||||||
|
batch_nums=None)
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
|
Loading…
Reference in New Issue