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

运行run.py出现问题 #623

Open
LRF0323 opened this issue Sep 23, 2024 · 0 comments
Open

运行run.py出现问题 #623

LRF0323 opened this issue Sep 23, 2024 · 0 comments

Comments

@LRF0323
Copy link

LRF0323 commented Sep 23, 2024

G:\ graduate \AI live video \AI face change \Deep-Live-Cam-main.venv\Scripts\python.exe G:\ graduate \AI live video \AI face change \Deep-Live-Cam-main\run.py
Traceback (most recent call last):
File "G:\ graduate \AI live video \AI face change \Deep-Live-Cam-main\run.py", line 3, in
from modules import core
File "G:\ graduate \AI live video \AI face change \Deep-Live-Cam-main\modules\core.py", line 20, in
import modules.ui as ui
File "G:\ graduate \AI live video \AI face change \Deep-Live-Cam-main\modules\ui.py", line 10, in
from modules.face_analyser import get_one_face, get_unique_faces_from_target_image, get_unique_faces_from_target_video, add_blank_map, has_valid_map, simplify_maps
File "G:\ graduate \AI live video \AI face change \Deep-Live-Cam-main\modules\face_analyser.py", line 4, in
import insightface
File "G:\ graduate \AI live video \AI face change \Deep-Live-Cam-main.venv\Lib\site-packages\insightface_init_.py", line 18, in
from . import app
File "G:\ graduate \AI live video \AI face change \Deep-Live-Cam-main.venv\Lib\site-packages\insightface\app_init_.py", line 2, in
from .mask_renderer import *
File "G:\ graduate \AI live video \AI face change \Deep-Live-Cam-main.venv\Lib\site-packages\insightface\app\mask_renderer.py", line 4, in
import albumentations as A
File "G:\ graduate \AI live video \AI face change \Deep-Live-Cam-main.venv\Lib\site-packages\albumentations_init_.py", line 6, in
from .augmentations import *
File "G:\ graduate \AI live video \AI face change \Deep-Live-Cam-main.venv\Lib\site-packages\albumentations\augmentations_init_.py", line 1, in
from .blur.functional import *
File "G:\ graduate \AI live video \AI face change \Deep-Live-Cam-main.venv\Lib\site-packages\albumentations\augmentations\blur_init_.py", line 1, in
from .functional import *
File "G:\ graduate \AI live video \AI face change \Deep-Live-Cam-main.venv\Lib\site-packages\albumentations\augmentations\blur\functional.py", line 9, in
from albucore.utils import clipped, maybe_process_in_chunks, preserve_channel_dim
ImportError: cannot import name 'preserve_channel_dim' from 'albucore.utils' (G:\ graduate \AI live video \AI face change \Deep-Live-Cam-main.venv\Lib\site-packages\albucore\utils.py)

I don't know because the desktop does not have an external camera problem causing these errors.

@AVGRadmin AVGRadmin mentioned this issue Sep 25, 2024
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

1 participant