pip-req-build-njn2fp78/opencv/modules/core/src/dxt.cpp:3335: error: (-215:Assertion failed) type == CV_32FC1|| type == CV_32FC2 || type == CV_64FC1 || type == CV_64FC2 in function 'dft'import cv2
import
RuntimeError: Error(s) in loading state_dict for ResNet:checkpoint, where the shape is torch.Size([4]) in current model.
model_ft = models.resnet18(pret