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

run inference_codeformer.py failed on mac m2 #385

Open
qlql489 opened this issue Jul 3, 2024 · 0 comments
Open

run inference_codeformer.py failed on mac m2 #385

qlql489 opened this issue Jul 3, 2024 · 0 comments

Comments

@qlql489
Copy link

qlql489 commented Jul 3, 2024

on mac m2 chip
after Install, run: python inference_codeformer.py -w 0.5 --has_aligned --input_path [image path]
the terminal show :

[1]    78312 segmentation fault  python inference_codeformer.py -w 0.5 --has_aligned --input_path

I debug the code, i thing the error occurs on this line:

net = ARCH_REGISTRY.get('CodeFormer')(dim_embd=512, codebook_size=1024, n_head=8, n_layers=9,
                                            connect_list=['32', '64', '128', '256']).to(device)

what can i do

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