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.
-
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?
-
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.
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.
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?
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.