How to handle batch size errors with custom loss functions?

后端 未结 0 2023
我在风中等你
我在风中等你 2021-01-06 11:57

I cannot train a custom loss function when batch_size > 1 due to sizing errors.

class API_Network(object):
    def __init__(self):
        self.model = sel         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题