Skip to content
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

Hii, Chiaraplize, I had a DataLoader problem while running the code. #33

Open
Kapil-Bhatt opened this issue Mar 30, 2022 · 0 comments
Open

Comments

@Kapil-Bhatt
Copy link

Traceback (most recent call last):
File "/content/drive/MyDrive/ST-TR-master/code/main.py", line 974, in
processor.start()
File "/content/drive/MyDrive/ST-TR-master/code/main.py", line 886, in start
self.train(epoch, save_model=save_model)
File "/content/drive/MyDrive/ST-TR-master/code/main.py", line 442, in train
for batch_idx, (data, label, name) in enumerate(loader):
File "/usr/local/lib/python3.7/dist-packages/torch/utils/data/dataloader.py", line 521, in next
data = self._next_data()
File "/usr/local/lib/python3.7/dist-packages/torch/utils/data/dataloader.py", line 1203, in _next_data
return self._process_data(data)
File "/usr/local/lib/python3.7/dist-packages/torch/utils/data/dataloader.py", line 1229, in _process_data
data.reraise()
File "/usr/local/lib/python3.7/dist-packages/torch/_utils.py", line 434, in reraise
raise exception
AttributeError: Caught AttributeError in DataLoader worker process 0.

I hope you can help me to solve this problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant