Traceback (most recent call last):


 "E:/WangJianFeng/2020/TextDetection/PSENet/train_ic15.py", line 285, in <module>

main(args)


 "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)


 "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):


 "D:\Anaconda3\envs\pytorch_gpu\lib\site-packages\torch\utils\data\dataloader.py", line 345, in __next__

data = self._next_data()


 "D:\Anaconda3\envs\pytorch_gpu\lib\site-packages\torch\utils\data\dataloader.py", line 856, in _next_data

return self._process_data(data)


 "D:\Anaconda3\envs\pytorch_gpu\lib\site-packages\torch\utils\data\dataloader.py", line 881, in _process_data

data.reraise()


 "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)

Traceback (most recent call last):


 "train_init.py", line 23, in <module>

validation_split = 0.2)


 "C:\Users\antoi\Documents\Programming\Nathalie\7_2_2019\ChatbotRASA_Room-reservation\chaenv36\lib\site-packages\rasa_core\agent.py", line 525, in train

**kwargs)


 "C:\Users\antoi\Documents\Programming\Nathalie\7_2_2019\ChatbotRASA_Room-reservation\chaenv36\lib\site-packages\rasa_core\policies\ensemble.py", line 67, in train

policy.train(training_trackers, domain, **kwargs)


 "C:\Users\antoi\Documents\Programming\Nathalie\7_2_2019\ChatbotRASA_Room-reservation\chaenv36\lib\site-packages\rasa_core\policies\keras_policy.py", line 177, in train

**params)

TypeError: fit() got multiple values for keyword argument 'epochs'
