RuntimeError: Expected 4-dimensional input for 4-dimensional weight [6, 3, 5, 5], but got 3-dimensional input of size [3, 48, 48] instead

from PIL import Image
from IPython.display import display
import matplotlib.image as mpimg
img = mpimg.imread('train/train2/plastic472.jpg')
imgplot = plt.imshow(img)
im= transform(image)
net = ConvNet()
outputs = net(im)

I tried to test my NN, but I got this error, no such errors were while training

Could you post your NN code?