Combining two loss function in Keras in Sequential model with ndarray output
问题 I am training a CNN model in Keras (object detection in image and LiDAR (Kaggle Lyft Competition)). As an output I have a 34 channel gird. So output dimension is: LENGTH x WIDTH X 34. First 10 channels are for different categories of objects (ideally as one hot vector) and rest of 24 channels are coordinates of bounding box in 3D. For first 10 channels I want to use: keras.losses.categorical_crossentropy , and for rest of 24: keras.losses.mean_squared_error Also since numbers of objects