Hi,
A 5D tensor is like [batch, channel, depth, height, width] and nn.Conv3d(in_channel, out_channel, kernel_size) expects to have in_channel = channel(in your 5d tensor) but you have set in_channel=5 while your 5D tensor has 1 channel.
You need to use nn.Conv3d(1, 5, 1)
Bests