Skip to content

出现错误了,麻烦处理一下,谢谢 #26

@shulee112233-hue

Description

@shulee112233-hue

运行最后一步就提示错误找不到文件

/content/roop_colab/roop
cmd:run.py --execution-provider cuda -s /content/roop_colab/cc.jpg -t /content/roop_colab/b.mp4 -o /content/roop_colab/out.mp4 --frame-processor face_swapper face_enhancer --output-video-encoder libx264 --output-video-quality 35 --keep-fps --temp-frame-format jpg --temp-frame-quality 0
Downloading inswapper_128.onnx...
--2025-09-10 18:33:02-- https://github.com/dream80/roop_colab/releases/download/v0.0.1/inswapper_128.onnx
Resolving github.com (github.com)... 140.82.116.3
Connecting to github.com (github.com)|140.82.116.3|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://release-assets.githubusercontent.com/github-production-release-asset/647588832/cedb2105-b3b3-4944-ad18-e639d3334dae?sp=r&sv=2018-11-09&sr=b&spr=https&se=2025-09-10T19%3A19%3A53Z&rscd=attachment%3B+filename%3Dinswapper_128.onnx&rsct=application%2Foctet-stream&skoid=96c2d410-5711-43a1-aedd-ab1947aa7ab0&sktid=398a6654-997b-47e9-b12b-9515b896b4de&skt=2025-09-10T18%3A19%3A23Z&ske=2025-09-10T19%3A19%3A53Z&sks=b&skv=2018-11-09&sig=44kczMbkwScLffe4x%2BxC5prH8II92SrQJZD74VaIIzc%3D&jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmVsZWFzZS1hc3NldHMuZ2l0aHVidXNlcmNvbnRlbnQuY29tIiwia2V5Ijoia2V5MSIsImV4cCI6MTc1NzUyOTQ4MiwibmJmIjoxNzU3NTI5MTgyLCJwYXRoIjoicmVsZWFzZWFzc2V0cHJvZHVjdGlvbi5ibG9iLmNvcmUud2luZG93cy5uZXQifQ.HnW4x0RrVGqBhEPDfllWAttWQOVyXhTxiITNiMfrW9s&response-content-disposition=attachment%3B%20filename%3Dinswapper_128.onnx&response-content-type=application%2Foctet-stream [following]
--2025-09-10 18:33:02-- https://release-assets.githubusercontent.com/github-production-release-asset/647588832/cedb2105-b3b3-4944-ad18-e639d3334dae?sp=r&sv=2018-11-09&sr=b&spr=https&se=2025-09-10T19%3A19%3A53Z&rscd=attachment%3B+filename%3Dinswapper_128.onnx&rsct=application%2Foctet-stream&skoid=96c2d410-5711-43a1-aedd-ab1947aa7ab0&sktid=398a6654-997b-47e9-b12b-9515b896b4de&skt=2025-09-10T18%3A19%3A23Z&ske=2025-09-10T19%3A19%3A53Z&sks=b&skv=2018-11-09&sig=44kczMbkwScLffe4x%2BxC5prH8II92SrQJZD74VaIIzc%3D&jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmVsZWFzZS1hc3NldHMuZ2l0aHVidXNlcmNvbnRlbnQuY29tIiwia2V5Ijoia2V5MSIsImV4cCI6MTc1NzUyOTQ4MiwibmJmIjoxNzU3NTI5MTgyLCJwYXRoIjoicmVsZWFzZWFzc2V0cHJvZHVjdGlvbi5ibG9iLmNvcmUud2luZG93cy5uZXQifQ.HnW4x0RrVGqBhEPDfllWAttWQOVyXhTxiITNiMfrW9s&response-content-disposition=attachment%3B%20filename%3Dinswapper_128.onnx&response-content-type=application%2Foctet-stream
Resolving release-assets.githubusercontent.com (release-assets.githubusercontent.com)... 185.199.108.133, 185.199.111.133, 185.199.110.133, ...
Connecting to release-assets.githubusercontent.com (release-assets.githubusercontent.com)|185.199.108.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 554253681 (529M) [application/octet-stream]
Saving to: ‘inswapper_128.onnx’

inswapper_128.onnx 100%[===================>] 528.58M 42.5MB/s in 7.2s

2025-09-10 18:33:09 (73.5 MB/s) - ‘inswapper_128.onnx’ saved [554253681/554253681]

Downloading GFPGANv1.4.pth...
--2025-09-10 18:33:10-- https://github.com/TencentARC/GFPGAN/releases/download/v1.3.4/GFPGANv1.4.pth
Resolving github.com (github.com)... 140.82.116.4
Connecting to github.com (github.com)|140.82.116.4|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://release-assets.githubusercontent.com/github-production-release-asset/349321229/49ee8420-eb6e-4dfc-aad2-fa26d5cbcf28?sp=r&sv=2018-11-09&sr=b&spr=https&se=2025-09-10T19%3A21%3A42Z&rscd=attachment%3B+filename%3DGFPGANv1.4.pth&rsct=application%2Foctet-stream&skoid=96c2d410-5711-43a1-aedd-ab1947aa7ab0&sktid=398a6654-997b-47e9-b12b-9515b896b4de&skt=2025-09-10T18%3A21%3A11Z&ske=2025-09-10T19%3A21%3A42Z&sks=b&skv=2018-11-09&sig=jSRZPyGycMegA3FPsHlSdW6%2FMrCXWG1uSBrnYqCM7RM%3D&jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmVsZWFzZS1hc3NldHMuZ2l0aHVidXNlcmNvbnRlbnQuY29tIiwia2V5Ijoia2V5MSIsImV4cCI6MTc1NzUyOTQ5MCwibmJmIjoxNzU3NTI5MTkwLCJwYXRoIjoicmVsZWFzZWFzc2V0cHJvZHVjdGlvbi5ibG9iLmNvcmUud2luZG93cy5uZXQifQ.cl3PY6x5Ib6Ey5bDxFDqv6yr8mhza1mSkvLMYD3p6Hc&response-content-disposition=attachment%3B%20filename%3DGFPGANv1.4.pth&response-content-type=application%2Foctet-stream [following]
--2025-09-10 18:33:10-- https://release-assets.githubusercontent.com/github-production-release-asset/349321229/49ee8420-eb6e-4dfc-aad2-fa26d5cbcf28?sp=r&sv=2018-11-09&sr=b&spr=https&se=2025-09-10T19%3A21%3A42Z&rscd=attachment%3B+filename%3DGFPGANv1.4.pth&rsct=application%2Foctet-stream&skoid=96c2d410-5711-43a1-aedd-ab1947aa7ab0&sktid=398a6654-997b-47e9-b12b-9515b896b4de&skt=2025-09-10T18%3A21%3A11Z&ske=2025-09-10T19%3A21%3A42Z&sks=b&skv=2018-11-09&sig=jSRZPyGycMegA3FPsHlSdW6%2FMrCXWG1uSBrnYqCM7RM%3D&jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmVsZWFzZS1hc3NldHMuZ2l0aHVidXNlcmNvbnRlbnQuY29tIiwia2V5Ijoia2V5MSIsImV4cCI6MTc1NzUyOTQ5MCwibmJmIjoxNzU3NTI5MTkwLCJwYXRoIjoicmVsZWFzZWFzc2V0cHJvZHVjdGlvbi5ibG9iLmNvcmUud2luZG93cy5uZXQifQ.cl3PY6x5Ib6Ey5bDxFDqv6yr8mhza1mSkvLMYD3p6Hc&response-content-disposition=attachment%3B%20filename%3DGFPGANv1.4.pth&response-content-type=application%2Foctet-stream
Resolving release-assets.githubusercontent.com (release-assets.githubusercontent.com)... 185.199.108.133, 185.199.109.133, 185.199.110.133, ...
Connecting to release-assets.githubusercontent.com (release-assets.githubusercontent.com)|185.199.108.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 348632874 (332M) [application/octet-stream]
Saving to: ‘GFPGANv1.4.pth’

GFPGANv1.4.pth 100%[===================>] 332.48M 235MB/s in 1.4s

2025-09-10 18:33:11 (235 MB/s) - ‘GFPGANv1.4.pth’ saved [348632874/348632874]

Traceback (most recent call last):
File "/content/roop_colab/roop/run.py", line 3, in
from roop import core
File "/content/roop_colab/roop/roop/core.py", line 18, in
import roop.ui as ui
File "/content/roop_colab/roop/roop/ui.py", line 4, in
import customtkinter as ctk
ModuleNotFoundError: No module named 'customtkinter'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions