It seems that your evaluation code creates a shape mismatch.
For a multi-label classification the shape of the model output and target should be equal, while it seems that one tensor might be missing the batch size.
Could you print the shapes of the model output and target before the error is raised (in the validation code)?