based9based / roop

Based9Based version of ROOP, No NSFW Filter, No ERRORS ;)
GNU General Public License v3.0
175 stars 141 forks source link

ImportError: cannot import name '_initialize_variables' from 'keras.src.backend' #7

Open Naammz opened 6 months ago

Naammz commented 6 months ago

cannot import name '_initialize_variables' from 'keras.src.backend' (/usr/local/lib/python3.10/dist-packages/keras/src/backend/init.py)

how to fix this?

TrendyRumor commented 6 months ago

Yes, I am getting same issue

MahmoudDawood commented 6 months ago

Same here, are you using it locally?

MrShailandra commented 6 months ago

Same Error I'm Using on Kaggle. After using this command its working.

pip install --upgrade opennsfw2

Anonymous7860 commented 6 months ago

!pip install tensorflow==2.13.0 !apt install cuda-11-2

put these code at the start it will solve all problems.