assertion error assert x_t.shape == eps.shape
Hi I have trained the segmentation code on dataset ISIC. But when I am running sample I am getting the following error. I have used all the default parameters suggested and have not made any changes to the code except few print statement for debugging:
[W socket.cpp:663] [c10d] The client socket has failed to connect to [::ffff:127.0.1.1]:56131 (system error: 10049 - The requested address is not valid in its context.).
Logging to ......\datasets\MedSegDiff\sample
creating model and diffusion...
sampling...
sample_fn False <bound method GaussianDiffusion.p_sample_loop_known of <guided_diffusion.respace.SpacedDiffusion object at 0x000002C1AD337E50>>
p_sample_loop_known
no dpm-solver
p_sample torch.Size([1, 4, 64, 64])
x torch.Size([1, 4, 64, 64])
in _predict_xstart_from_eps: x.shape, eps.shape torch.Size([1, 1, 64, 64]) torch.Size([1, 2, 64, 64])
Traceback (most recent call last):
File "C:\Users\bdebnath\data\myprojects\MedSegDiff\scripts\segmentation_sample.py", line 207, in
I also encountered the same problem. Have you resolved this bug now?
I am having the same problem as well
I have encountered the same problem. Has anyone solved it ?