hog() got an unexpected keyword argument 'visualize'
时间: 2023-10-06 09:12:11 浏览: 75
hog特征提取,c版本代码
5星 · 资源好评率100%
The error message "hog() got an unexpected keyword argument 'visualize'" indicates that the function `hog()` was called with an argument named `visualize`, which is not a valid argument for this function.
The `hog()` function is part of the scikit-image library and is used to extract Histogram of Oriented Gradient (HOG) features from an image. It does not have a `visualize` parameter.
Possible solutions include:
- Check the documentation of the `hog()` function and make sure that you are using it correctly.
- Remove the `visualize` argument from the function call if it is not needed.
- Use a different function or library that supports the `visualize` parameter if you need to visualize the HOG features.
阅读全文