Skip to content
New issue

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

'opennsfw2' has no attribute 'preprocess_image' #1

Closed
shuangmei opened this issue Nov 10, 2021 · 1 comment
Closed

'opennsfw2' has no attribute 'preprocess_image' #1

shuangmei opened this issue Nov 10, 2021 · 1 comment

Comments

@shuangmei
Copy link

partially initialized module 'opennsfw2' has no attribute 'preprocess_image' (most likely due to a circular import)
这是什么原因啊

@bhky
Copy link
Owner

bhky commented Nov 10, 2021

Hello! Thanks for the question.

I think you may have another local file with the same name. Please take a look at the following thread. Hope it helps! 🙂
https://stackoverflow.com/questions/59762996/how-to-fix-attributeerror-partially-initialized-module

@bhky bhky closed this as completed Nov 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants