From ce96b0f5874a83f5b57cac8415fe3f056c8441a7 Mon Sep 17 00:00:00 2001 From: WJJ1995 Date: Thu, 8 Dec 2022 17:36:42 +0800 Subject: [PATCH] [Bug] Fixed typo error (#920) * fixed Gemm bug * re-lint * fixed typo error --- x2paddle/project_convertor/pytorch/torch2paddle/io.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x2paddle/project_convertor/pytorch/torch2paddle/io.py b/x2paddle/project_convertor/pytorch/torch2paddle/io.py index 0ca6c6a..3e83402 100644 --- a/x2paddle/project_convertor/pytorch/torch2paddle/io.py +++ b/x2paddle/project_convertor/pytorch/torch2paddle/io.py @@ -169,7 +169,7 @@ class DataLoader(paddle.io.DataLoader): timeout=timeout, worker_init_fn=worker_init_fn) if sampler is not None: - seld.batch_sampler.sampler = sampler + self.batch_sampler.sampler = sampler class DistributedSampler(paddle.io.DistributedBatchSampler): -- GitLab