Thank you so much
my  input shape as like as expected shape [batch_size, channels, depth, height, width] where
batch_size 18, channels =1, depth=6, height=32 and width=32 , this is  as  torch.Size([18, 1, 6, 32, 32]
I got  my problem with nn.Conv3d(1, 32, kernel_size=3, padding=1) because i have one channel not 6, 6 is depth. now I an asking about this error
RuntimeError: Error(s) in loading state_dict for GeneratorNet:
Missing key(s) in state_dict: “conv1.0.weight”, “conv1.0.bias”, “conv1.1.weight”, “conv1.1.bias”, “conv1.1.running_mean”, “conv1.1.running_var”, “conv2.0.weight”, “conv2.0.bias”, “conv2.1.weight”, “conv2.1.bias”, “conv2.1.running_mean”, “conv2.1.running_var”, “conv3.0.weight”, “conv3.0.bias”, “conv3.1.weight”, “conv3.1.bias”, “conv3.1.running_mean”, “conv3.1.running_var”, “conv4.0.weight”, “conv4.0.bias”, “conv4.1.weight”, “conv4.1.bias”, “conv4.1.running_mean”, “conv4.1.running_var”, “deConv1_1.weight”, “deConv1_1.bias”, “deConv1.0.weight”, “deConv1.0.bias”, “deConv1.0.running_mean”, “deConv1.0.running_var”, “deConv2_1.weight”, “deConv2_1.bias”, “deConv2.0.weight”, “deConv2.0.bias”, “deConv2.0.running_mean”, “deConv2.0.running_var”, “deConv3_1.weight”, “deConv3_1.bias”, “deConv3.0.weight”, “deConv3.0.bias”, “deConv3.0.running_mean”, “deConv3.0.running_var”, “deConv4_1.weight”, “deConv4_1.bias”.
Unexpected key(s) in state_dict: “state_dict”, “generator”.