I tried to use crossentropy loss for video generation but it does not work.
The input dimension is the same as target dimension but crossentropy loss expects the target to be of 1-lower dimension. How should I fix that?