Open onghuiting opened 1 year ago
hi, I get the error below, when I tried to run 3d deconvolution for a z-stack.
torch.fft = <module 'torch.fft' from 'C:\Users\ht\.conda\envs\napari-env\lib\site-packages\torch\fft\init.py'> torch.fft.ifftn = 94 mse = torch.nn.MSELoss() 95 return mse(blurry_image, conv_deblured_image)
RuntimeError: The size of tensor a (538) must match the size of tensor b (154) at non-singleton dimension 4
Hi Onghuiting, Did you ever resolve this issue? I'm also receiving this error when running deconvolution on z-stacks. Any help would be appreciated. Thanks.
Same here!
hi, I get the error below, when I tried to run 3d deconvolution for a z-stack.
torch.fft = <module 'torch.fft' from 'C:\Users\ht\.conda\envs\napari-env\lib\site-packages\torch\fft\init.py'> torch.fft.ifftn =
94 mse = torch.nn.MSELoss()
95 return mse(blurry_image, conv_deblured_image)
RuntimeError: The size of tensor a (538) must match the size of tensor b (154) at non-singleton dimension 4