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

training failed: keep reporting "free(): invalid pointer " #52

Open
another1s opened this issue Jan 15, 2025 · 1 comment
Open

training failed: keep reporting "free(): invalid pointer " #52

another1s opened this issue Jan 15, 2025 · 1 comment

Comments

@another1s
Copy link

如题,按照教程运行train_mimictalk_on_a_video.py 这个脚本的时候,在打印了一些ffmpeg和其他东西的log以后,报这个错误,看起来像是opengl哪里出问题了。推理脚本能正常运行
和这个issue是一样的问题,但实在找不到解决办法,万望能帮忙解决一下
#17

@1400013531
Copy link

if multiprocess_enable:
for (_, res) in multiprocess_run_tqdm(segment_and_generate_for_image_job, args=args, num_workers=16, desc='generating segment images in multi-processes...'):
segmap_mask = res
segmap_mask_lst.append(segmap_mask)
else:
for index in tqdm.tqdm(range(len(img_lst)), desc="generating segment images in single-process..."):
segmap_mask = segment_and_generate_for_image_job(*args[index])
segmap_mask_lst.append(segmap_mask)
print("| Extracted Segmaps Done.")

检查了一下是这里的问题,我把多进程关掉直接单进程跑就没这个错了,虽然有点慢。应该有更好的写法

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

2 participants