Skip to content

nms adaptor.so is incompatible with apple silicon Macbook M2 #80

Description

@Aritra93

I have been trying to run the demo.py on MacBook M2 to detect and localize scene texts. I have been getting the following error.

  1. OSError: dlopen(/Users/.../adaptor.so, 0x0006): tried: '/Users/.../adaptor.so' (not a mach-o file).

    I did some digging and found that it's an architecture issue as I am using Apple silicon as my CPU.

    Is there any workaround for this?

  2. Also, I tried running the demo.py as part of the Google Colab notebook but I faced a completely different issue. Since the notebook was running Python 3.10, it won't interpret the module that was compiled using Python 3.8. Now, using virtual environment doesn't work well on colab notebook as each notebook cell has its own instance.

Is there any way I can compile the nms module using python 3.10 right on colab?

Thank you in advance.

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