ITADN

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

#428Openx0x0x8x 创建于 2025-03-16
X
x0x0x8xcommented
![Image](https://github.com/user-attachments/assets/6a07bd88-7df5-4e04-a4c0-2550f97b75de) (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 <module> 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
0 条评论