diff --git a/python/paddle/fluid/dygraph/jit.py b/python/paddle/fluid/dygraph/jit.py index fa719232002fc67ed4df068ddbcac655045d9095..10c3861e7746a87a36c76f7e74746fabd76bfbc6 100644 --- a/python/paddle/fluid/dygraph/jit.py +++ b/python/paddle/fluid/dygraph/jit.py @@ -1062,6 +1062,7 @@ def load(path, **configs): batch_size=BATCH_SIZE, shuffle=True, drop_last=True, + return_list=False, num_workers=2) # 1. train and save inference model