Skip to content

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

@x0x0x8x

Description

@x0x0x8x

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

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