The error message states that you are passing a DataLoader instance to F.conv2d, which is wrong, so make sure to pass the input tensors to this operation instead.
PS: you can post code snippets by wrapping them into three backticks ```, which makes debugging easier