Browse Source

fix paddle dataset __getattr__

tags/v1.0.0alpha
x54-729 2 years ago
parent
commit
8b1ed86033
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      fastNLP/core/dataloaders/paddle_dataloader/fdl.py

+ 1
- 1
fastNLP/core/dataloaders/paddle_dataloader/fdl.py View File

@@ -39,7 +39,7 @@ class _PaddleDataset(Dataset):

def __getattr__(self, item):
try:
self.dataset.__getattribute__(item)
return self.dataset.__getattribute__(item)
except Exception as e:
raise e



Loading…
Cancel
Save