Which loss function are you using and what kind of target distribution are you expecting?
Could you print the number of unique values in your target, where the loss is zero via
print(target.unique(return_counts=True))