Skip to content

Requirements failed on Apple Silicon (m1/m2) #16

@jenyaalexanov

Description

@jenyaalexanov

It failed to start with default requirements. I had to fix some of them. Here's fixed version:

requirements.txt

numpy>=1.17.0,<=1.24.3
opencv-python==4.7.0.72
onnx==1.14.0
insightface==0.7.3
psutil==5.9.5
tk==0.1.0
customtkinter==5.1.3
pillow==9.5.0
torch==2.0.1+cu118; sys_platform != 'darwin'
torch==2.0.1; sys_platform == 'darwin'
torchvision==0.15.2+cu118; sys_platform != 'darwin'
torchvision==0.15.2; sys_platform == 'darwin'
onnxruntime==1.16.3; sys_platform == 'darwin' and platform_machine != 'arm64'
onnxruntime-silicon==1.14.1; sys_platform == 'darwin' and platform_machine == 'arm64'
onnxruntime-gpu==1.16.3; sys_platform != 'darwin'
tensorflow==2.13.0rc1; sys_platform == 'darwin'
tensorflow==2.15.0; sys_platform != 'darwin'
opennsfw2==0.10.2
protobuf==4.23.2
tqdm==4.65.0
gfpgan==1.3.8

Additionally, I had to upload GFPGANv1.4.pth to /models

And in the conflict I did these:

  1. pip install --use-pep517 basicsr
  2. pip install --upgrade setuptools wheel

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions