Starting Training Loop…
/usr/local/lib/python3.7/dist-packages/torch/utils/data/dataloader.py:477: UserWarning: This DataLoader will create 4 worker processes in total. Our suggested max number of worker in current system is 2, which is smaller than what this DataLoader is going to create. Please be aware that excessive worker creation might get DataLoader running slow or even freeze, lower the worker number to avoid potential slowness/freeze if necessary.
cpuset_checked))
/usr/local/lib/python3.7/dist-packages/ipykernel_launcher.py:42: UserWarning: Implicit dimension choice for softmax has been deprecated. Change the call to include dim=X as an argument.
ValueError                                Traceback (most recent call last)
 in ()
36         # train with real
37         s_output, c_output = netD(real_image)
—> 38         s_errD_real = s_criterion(s_output, real_target)  # realfake
39         c_errD_real = c_criterion(c_output, real_label)  # class
40         errD_real = s_errD_real + c_errD_real
2 frames
/usr/local/lib/python3.7/dist-packages/torch/nn/functional.py in binary_cross_entropy(input, target, weight, size_average, reduce, reduction)
2753         raise ValueError(
2754             "Using a target size ({}) that is different to the input size ({}) is deprecated. "
 → 2755             “Please ensure they have the same size.”.format(target.size(), input.size())
2756         )
2757
ValueError: Using a target size (torch.Size([32, 1])) that is different to the input size (torch.Size([7200, 1])) is deprecated. Please ensure they have the same size.
I am unable to solve the above problem.Would anyone kindly help me to solve it?