You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I am going to train on my own dataset, I changed all the data path accordingly. But when I was trying to fine-tune resnet-152, I encountered the following error and don't know how to fix it.
Any help will be appreciate!
Traceback (most recent call last):
File "main.py", line 57, in
training_model.train()
File "/data/OLTR/OpenLongTailRecognition-OLTR/run_networks.py", line 192, in train
for step, (inputs, labels, _) in enumerate(self.data['train']):
File "/opt/anaconda3/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 819, in next
return self._process_data(data)
File "/opt/anaconda3/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 846, in _process_data
data.reraise()
File "/opt/anaconda3/lib/python3.6/site-packages/torch/_utils.py", line 369, in reraise
raise self.exc_type(msg)
TypeError: function takes exactly 5 arguments (1 given)
The text was updated successfully, but these errors were encountered:
Hi,
I am going to train on my own dataset, I changed all the data path accordingly. But when I was trying to fine-tune resnet-152, I encountered the following error and don't know how to fix it.
Any help will be appreciate!
Traceback (most recent call last):
File "main.py", line 57, in
training_model.train()
File "/data/OLTR/OpenLongTailRecognition-OLTR/run_networks.py", line 192, in train
for step, (inputs, labels, _) in enumerate(self.data['train']):
File "/opt/anaconda3/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 819, in next
return self._process_data(data)
File "/opt/anaconda3/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 846, in _process_data
data.reraise()
File "/opt/anaconda3/lib/python3.6/site-packages/torch/_utils.py", line 369, in reraise
raise self.exc_type(msg)
TypeError: function takes exactly 5 arguments (1 given)
The text was updated successfully, but these errors were encountered: