MuseTalk icon indicating copy to clipboard operation
MuseTalk copied to clipboard

进行图像提取的会,内存炸了

Open limaoyue1 opened this issue 1 year ago • 0 comments

def read_imgs(img_list): # 创建一个空列表用于存放读取的图片 frames = [] # 打印提示信息 print('reading images...') # 遍历图片路径列表 for img_path in tqdm(img_list): # 使用 OpenCV 的 imread 函数读取图片 frame = cv2.imread(img_path) # 将读取的图片添加到 frames 列表中 frames.append(frame) # 返回包含所有图片的列表 return frames 在进行这一步的会,内存炸了 cceb700b2ad6f45685c01a382c6e7ab

limaoyue1 avatar Aug 28 '24 06:08 limaoyue1