CodeFormer icon indicating copy to clipboard operation
CodeFormer copied to clipboard

when we are run inference_codeformer.py on macbook M1 get error Segmentation fault: 11

Open i51888 opened this issue 1 year ago • 0 comments

$ python inference_codeformer.py --input_path inputs/cropped_faces/0143.png Segmentation fault: 11

we are found this function has problem: # ------------------ set up CodeFormer restorer ------------------- 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) i get the device is mps, but the net hasn't any return.

i51888 avatar Apr 09 '24 11:04 i51888