-
Notifications
You must be signed in to change notification settings - Fork 202
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AttributeError: 'DataLoader' object has no attribute '_dataset_kind' #63
Comments
same error, even tried earlier commits still didn't ran |
resolved with |
I encountered a similar problem. It seems that the defined 'DataLoader' in this repository corresponds to the old 'DataLoader' and does not support the newer version. https://github.com/NVIDIA/sentiment-discovery/blob/master/data_utils/loaders.py#L91
I haven't confirmed that it works correctly, but at least it works without error. |
Unfortunately, the method I wrote above may not be performing properly.
may be undesirable. |
I had a similar problem maybe it helps someone: I tried to load my own Dataloader object, which I saved with a previous version of Pytorch. After updating Pytorch my Dataloader object could be loaded, but I couldn't iterate over it. So, I had to create a new Dataloader object with the new Pytorch version. |
how to create a new Dataloader object with the new Pytorch version? I am so confused |
AttributeError: 'DirectoryDataLoader' object has no attribute 'label_map'. Please help. |
Hi,
I am currently on Windows, Python 3.7. I have installed pip install torch==1.3.0+cpu torchvision==0.4.1+cpu -f https://download.pytorch.org/whl/torch_stable.html
When I run:
python run_classifier.py --load downloads/transformer_sst.clf --data data/binary_sst/test.csv --model "transformer"
I get AttributeError: 'DataLoader' object has no attribute '_dataset_kind'. I have switch through many versions, like torch 1.2.0 and torchvision==0.4.0, but the issue persists. May I know if anyone has worked around this?
The text was updated successfully, but these errors were encountered: