Data.__init__() got an unexpected keyword argument 'is_load'
时间: 2023-11-11 13:43:14 浏览: 104
caffe.io.load_image(IMAGE_FILE, color=False)函数报错
This error message suggests that there is an issue with the arguments passed to the __init__() method of the Data class. In particular, it seems that an unexpected keyword argument 'is_load' was passed to the method.
To resolve this issue, you need to check the definition of the Data class and make sure that the __init__() method accepts the 'is_load' argument. If it does not, you need to remove this argument from the call to the method.
Alternatively, if the 'is_load' argument is required, you need to update the definition of the Data class to accept this argument in the __init__() method.
阅读全文