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

Can't Swap face in video. #46

Open
BhadurAli opened this issue Feb 16, 2024 · 1 comment
Open

Can't Swap face in video. #46

BhadurAli opened this issue Feb 16, 2024 · 1 comment

Comments

@BhadurAli
Copy link

Hello, I have been using collab from past few months and it working smoothly until today. when I want to change the face it give me this error, can you fix this!

/content/roop
Traceback (most recent call last):
File "/content/roop/run.py", line 3, in
from roop import core
File "/content/roop/roop/core.py", line 20, in
import roop.ui as ui
File "/content/roop/roop/ui.py", line 15, in
from roop.predictor import predict_frame, clear_predictor
File "/content/roop/roop/predictor.py", line 3, in
import opennsfw2
File "/usr/local/lib/python3.10/dist-packages/opennsfw2/init.py", line 4, in
from ._inference import Aggregation
File "/usr/local/lib/python3.10/dist-packages/opennsfw2/_inference.py", line 12, in
from keras import KerasTensor, Model # type: ignore
ImportError: cannot import name 'KerasTensor' from 'keras' (/usr/local/lib/python3.10/dist-packages/keras/init.py)

@FurkanGozukara
Copy link
Owner

@BhadurAli hello just made update and fixed check it out

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