TypeError: predict() got an unexpected keyword argument 'use_target_model'
时间: 2023-10-04 16:09:07 浏览: 115
caffe.io.load_image(IMAGE_FILE, color=False)函数报错
This error message indicates that the method `predict()` was called with an unexpected keyword argument `use_target_model`. This means that the method does not accept this argument and it is likely a mistake in the code.
To fix this error, you should check the documentation for the `predict()` method and ensure that you are using the correct arguments. If `use_target_model` is not a valid argument for this method, you should remove it from your code.
阅读全文