AttributeError: module 'preprocess' has no attribute 'prepro'
时间: 2023-10-16 19:08:36 浏览: 170
AttributeError: module 'tensorflow.compat.v1' has no attribute '
This error occurs when you are trying to call a function or attribute that does not exist in the specified module. In this case, it seems like you are trying to call a function named "prepro" from the "preprocess" module, but that function does not exist in the module.
To resolve this error, you should check the module and make sure that the function or attribute you are trying to call actually exists with the correct name. If it does not exist, you may need to define it or import it from another module. If it does exist, you may need to check your import statement or how you are calling the function to make sure it is correct.
阅读全文