Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

大佬想问您一下您的opencv库的版本 #7

Open
wrysfz opened this issue Feb 7, 2023 · 0 comments
Open

大佬想问您一下您的opencv库的版本 #7

wrysfz opened this issue Feb 7, 2023 · 0 comments

Comments

@wrysfz
Copy link

wrysfz commented Feb 7, 2023

我在跑get_features_v3的时候跑第二段的如下第二行代码时候
img_224 = ((cv2.resize(img, (224, 224))[:,:,::-1] / 255.0 - mean) / std).transpose((2, 0, 1))#此行无问题
img_299 = ((cv2.resize(img, (299, 299))[:,:,::-1] / 255.0 - mean) / std).transpose((2, 0, 1))
下方的进度条跑到78%之后就会报错Canceled future for execute_request message before replies were done
我搜索了一下说可能是opencv2的版本问题,我更换了好几个版本,有时候卡到81% 有时候88% 但是就没有跑完的。我也尽量把我的版本更新到和您一样了,如
mxnet-cu101=1.5.0
numpy=1.13.3(sciipy=1.4.0)
tqdm=4.11.2
sklearn不知道为什么只有0.0.post1
如果您还记得的话恳请帮个忙,谢谢大佬

ps:感觉299是为了inceptionv3专门处理的,这条会报错就暂时不用这个模型跳过了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant