complexPyTorch icon indicating copy to clipboard operation
complexPyTorch copied to clipboard

torchinfo.summary() is not able to executable

Open Weijie-ZHAO opened this issue 1 year ago • 2 comments

image

Weijie-ZHAO avatar Jul 10 '23 09:07 Weijie-ZHAO

Hi, thanks for your liabrary, but could you pls solve this problem when we run torchinfo.summary() to check each layer

Best!

Weijie-ZHAO avatar Jul 10 '23 09:07 Weijie-ZHAO

Hi,

Are you sure you specified the correct dtype? You should use complex64. It works for me with something like

torchinfo.summary(model, input_size=(1, 1, 28, 28), dtypes = [torch.complex64])

wavefrontshaping avatar Oct 01 '23 09:10 wavefrontshaping