From 75dd8423ae7888578c1fc4ce80cb97c9cfdddc1d Mon Sep 17 00:00:00 2001 From: An Improved PeleeNet Algorithm with Feature Pyramid Networks for Image Detection <39549453+Baibaifan@users.noreply.github.com> Date: Mon, 12 Apr 2021 17:41:17 +0800 Subject: [PATCH] add dataloader modes (#32200) add dataloader modes (#32200) --- python/paddle/fluid/executor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/paddle/fluid/executor.py b/python/paddle/fluid/executor.py index acbd00c336..3ac2618f72 100644 --- a/python/paddle/fluid/executor.py +++ b/python/paddle/fluid/executor.py @@ -1447,7 +1447,7 @@ class Executor(object): if var.is_data: data_vars.append(var) dataset = paddle.fluid.DatasetFactory().create_dataset( - 'FileInstantDataset') + 'InMemoryDataset') dataset.set_batch_size(1) dataset.set_thread(1) dataset.set_filelist(['None']) -- GitLab