nn.Conv1d layers expect a 3-dimensional input in the shape [batch_size, channels, seq_len], while you are trying to pass a 4-dimensional one (with an empty dimension).
Check the shape of the activation tensor and make sure it’s a valid tensor (containing values) with 3 dimensions.