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

视频增强会报错,且GPU使用率没有提高,看上去纯跑的CPU #428

Open
x0x0x8x opened this issue Mar 16, 2025 · 0 comments
Open

Comments

@x0x0x8x
Copy link

x0x0x8x commented Mar 16, 2025

Image

(codeformer) H:\MoveDisk\WorkSpace\CodeFormer>python inference_codeformer.py --bg_upsampler realesrgan --face_upsample -w 1.0 --input_path H:\MoveDisk\WorkSpace\CodeFormer\inputs\test\test.mp4
Traceback (most recent call last):
File "inference_codeformer.py", line 97, in
image = vidreader.get_frame()
File "H:\MoveDisk\WorkSpace\CodeFormer\basicsr\utils\video_util.py", line 81, in get_frame
return self.get_frame_from_stream()
File "H:\MoveDisk\WorkSpace\CodeFormer\basicsr\utils\video_util.py", line 67, in get_frame_from_stream
img_bytes = self.stream_reader.stdout.read(self.width * self.height * 3) # 3 bytes for one pixel
MemoryError
[vost#0:0/rawvideo @ 0000022D1A04BC40] Error submitting a packet to the muxer: Broken pipe
Last message repeated 1 times
[out#0/rawvideo @ 0000022D17D9FB40] Error muxing a packet
[out#0/rawvideo @ 0000022D17D9FB40] Task finished with error code: -32 (Broken pipe)
[out#0/rawvideo @ 0000022D17D9FB40] Terminating thread with return code -32 (Broken pipe)
[out#0/rawvideo @ 0000022D17D9FB40] Error writing trailer: Broken pipe
[out#0/rawvideo @ 0000022D17D9FB40] Error closing file: Broken pipe

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