兄弟,最近,我只想使用 deepfakes.faceswap 包从 mp4 视频中提取图像,但是当我使用时:
python3 faceswap.py extract -i ~/documents/mus.mp4 -o ~/documents/mu/
有事吗
我很确定我有这个视频,并且我已经完成了:pip3 install -r requirements_amd.txt,
我猜是因为我没有获得 AMd 5300m cvms 服务
我的电脑是 16 英寸的 MacBook Pro。和 我的电脑
日志:
zhutaohe@192 faceswap % python3 faceswap.py extract -i ~/documents/mus.mp4 -o ~/documents/mu/
First time configuration. Please select the required backend
1: AMD, 2: CPU, 3: NVIDIA: 1
Faceswap config written to: /Users/zhutaohe/Documents/faceswap/config/.faceswap
Setting Faceswap backend to AMD
06/23/2021 22:48:45 INFO Log level set to: INFO
06/23/2021 22:48:45 INFO Setting up for PlaidML
06/23/2021 22:48:45 INFO Using GPU(s): ['AMD - AMD Radeon Pro 5300M Compute Engine (experimental)']
06/23/2021 22:48:45 INFO Successfully set up for PlaidML
06/23/2021 22:48:47 INFO Output Directory: /Users/zhutaohe/documents/mu
06/23/2021 22:48:47 INFO Loading Detect from S3Fd plugin...
Using plaidml.keras.backend backend.
06/23/2021 22:48:48 INFO Downloading model: 's3fd_keras' from: https://github.com/deepfakes-models/faceswap-models/releases/download/v1.11.2/s3fd_keras_v2.zip
Downloading: 100%|████████████████████████████████████████████████████████████████████████| 11.3M/11.3M [00:01<00:00, 6.61MB/s]
06/23/2021 22:48:51 INFO Extracting: 's3fd_keras'
Decompressing: 100%|███████████████████████████████████████████████████████████████████████| 85.8M/85.8M [00:00<00:00, 138MB/s]
06/23/2021 22:48:51 INFO Loading Align from Fan plugin...
06/23/2021 22:48:51 INFO Downloading model: 'face-alignment-network_2d4_keras' from: https://github.com/deepfakes-models/faceswap-models/releases/download/v1.13.2/face-alignment-network_2d4_keras_v2.zip
Downloading: 100%|████████████████████████████████████████████████████████████████████████| 84.7M/84.7M [00:11<00:00, 7.90MB/s]
06/23/2021 22:49:04 INFO Extracting: 'face-alignment-network_2d4_keras'
Decompressing: 100%|██████████████████████████████████████████████████████████████████████| 93.0M/93.0M [00:01<00:00, 88.1MB/s]
06/23/2021 22:49:05 INFO Loading Mask from Components plugin...
06/23/2021 22:49:05 INFO Loading Mask from Extended plugin...
06/23/2021 22:49:05 INFO Starting, this may take a while...
06/23/2021 22:49:05 INFO Initializing S3FD (Detect)...
06/23/2021 22:49:06 INFO Opening device "opencl_amd_radeon_pro_5300m_compute_engine.0"
cvmsBuildComputeProgram No CVMS service
cvmsBuildComputeProgram No CVMS service
Failed to build program kernel_c1_sdk_0
06/23/2021 22:49:06 WARNING Failed to build program kernel_c1_sdk_0
Failed build log:
06/23/2021 22:49:06 WARNING Failed build log:
请帮帮我,我该怎么办?