Closed sean-wade closed 3 years ago
hi I have the same problem, did you manage to solve it ?
hi I have the same problem, did you manage to solve it ?
no... I gave up...
I got this error on an older version of opencv. Upgraded the version to the latest version opencv(4.4) and it worked like a charm !
pip install --upgrade opencv-python
我也遇到了这个问题,用的是opencv3.4版本的,输入pip install --upgrade opencv-python,更新到opencv4.4,重新运行程序就好了
This is the opencv result:
But when I'm using the "weights_init_normal" weights, the result is not nan......
Like this:
This is my transfer code:
######################################################################### ` device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
#########################################################################
#########################################################################
This is the opencv code:
` import os import cv2 as cv
#########################################################################