We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
十分感谢分享。 在使用 https://github.com/TommyZihao/Train_Custom_Dataset/blob/main/%E5%9B%BE%E5%83%8F%E5%88%86%E7%B1%BB/6-%E5%8F%AF%E8%A7%A3%E9%87%8A%E6%80%A7%E5%88%86%E6%9E%90%E3%80%81%E6%98%BE%E8%91%97%E6%80%A7%E5%88%86%E6%9E%90/4.shap%E5%B7%A5%E5%85%B7%E5%8C%85/%E3%80%90C2%E3%80%91Pytorch-%E6%B0%B4%E6%9E%9C%E5%9B%BE%E5%83%8F%E5%88%86%E7%B1%BB%E5%8F%AF%E8%A7%A3%E9%87%8A%E6%80%A7%E5%88%86%E6%9E%90.ipynb 这里的code的时候,第58行 shap_values = explainer(input_img, max_evals=n_evals, batch_size=batch_size, outputs=[28]) 出现,这样的报错: error: OpenCV(4.6.0) 👎 error: (-5:Bad argument) in function 'blur'
Overload resolution failed: src is not a numpy array, neither a scalar Expected Ptrcv::UMat for argument 'src'
Overload resolution failed:
在我自己做的notebook里也有这个问题。 测试下来可能是 Xtr[0].shape 的类型问题。
还麻烦子豪兄再运行一遍,看会不会报同样的错误。
The text was updated successfully, but these errors were encountered:
更新:也可能是OpenCV版本问题,请问子豪兄的版本是?
Sorry, something went wrong.
No branches or pull requests
十分感谢分享。 在使用 https://github.com/TommyZihao/Train_Custom_Dataset/blob/main/%E5%9B%BE%E5%83%8F%E5%88%86%E7%B1%BB/6-%E5%8F%AF%E8%A7%A3%E9%87%8A%E6%80%A7%E5%88%86%E6%9E%90%E3%80%81%E6%98%BE%E8%91%97%E6%80%A7%E5%88%86%E6%9E%90/4.shap%E5%B7%A5%E5%85%B7%E5%8C%85/%E3%80%90C2%E3%80%91Pytorch-%E6%B0%B4%E6%9E%9C%E5%9B%BE%E5%83%8F%E5%88%86%E7%B1%BB%E5%8F%AF%E8%A7%A3%E9%87%8A%E6%80%A7%E5%88%86%E6%9E%90.ipynb 这里的code的时候,第58行
shap_values = explainer(input_img, max_evals=n_evals, batch_size=batch_size, outputs=[28])
出现,这样的报错:
error: OpenCV(4.6.0) 👎 error: (-5:Bad argument) in function 'blur'
在我自己做的notebook里也有这个问题。 测试下来可能是 Xtr[0].shape 的类型问题。
还麻烦子豪兄再运行一遍,看会不会报同样的错误。
The text was updated successfully, but these errors were encountered: