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
Traceback (most recent call last):
File "E:/WangJianFeng/2020/TextDetection/PSENet/train_ic15.py", line 285, in
main(args)
File "E:/WangJianFeng/2020/TextDetection/PSENet/train_ic15.py", line 253, in main
train_loss, train_te_acc, train_ke_acc, train_te_iou, train_ke_iou = train(train_loader, model, dice_loss, optimizer, epoch)
File "E:/WangJianFeng/2020/TextDetection/PSENet/train_ic15.py", line 112, in train
for batch_idx, (imgs, gt_texts, gt_kernels, training_masks) in enumerate(train_loader):
File "D:\Anaconda3\envs\pytorch_gpu\lib\site-packages\torch\utils\data\dataloader.py", line 345, in next
data = self._next_data()
File "D:\Anaconda3\envs\pytorch_gpu\lib\site-packages\torch\utils\data\dataloader.py", line 856, in _next_data
return self._process_data(data)
File "D:\Anaconda3\envs\pytorch_gpu\lib\site-packages\torch\utils\data\dataloader.py", line 881, in _process_data
data.reraise()
File "D:\Anaconda3\envs\pytorch_gpu\lib\site-packages\torch_utils.py", line 395, 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:
Traceback (most recent call last):
File "E:/WangJianFeng/2020/TextDetection/PSENet/train_ic15.py", line 285, in
main(args)
File "E:/WangJianFeng/2020/TextDetection/PSENet/train_ic15.py", line 253, in main
train_loss, train_te_acc, train_ke_acc, train_te_iou, train_ke_iou = train(train_loader, model, dice_loss, optimizer, epoch)
File "E:/WangJianFeng/2020/TextDetection/PSENet/train_ic15.py", line 112, in train
for batch_idx, (imgs, gt_texts, gt_kernels, training_masks) in enumerate(train_loader):
File "D:\Anaconda3\envs\pytorch_gpu\lib\site-packages\torch\utils\data\dataloader.py", line 345, in next
data = self._next_data()
File "D:\Anaconda3\envs\pytorch_gpu\lib\site-packages\torch\utils\data\dataloader.py", line 856, in _next_data
return self._process_data(data)
File "D:\Anaconda3\envs\pytorch_gpu\lib\site-packages\torch\utils\data\dataloader.py", line 881, in _process_data
data.reraise()
File "D:\Anaconda3\envs\pytorch_gpu\lib\site-packages\torch_utils.py", line 395, 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: