-
Notifications
You must be signed in to change notification settings - Fork 0
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
Can't install object detection on M1 Mac #13
Comments
we get dependency problems because we have tensorflow-macos and not the normal tensorflow. To solve the dependency problems, just use the pip command "-no-deps" and type this:
|
After a long research I found out that object-detection from tf2 is not compatible on M1 Macs. but the old version of tf1 would also work without problems. change your installation to be like:
|
After that you will face a problem with protoc.
copy the file "builder.py" to another directory e.g. Desktop now install the other protoc
and then copy the "builder.py" to the same dir |
to finish the installation you also need this packages:
|
From within TensorFlow/models/research/
ERROR: Cannot install object-detection because these package versions have conflicting dependencies.
The conflict is caused by:
tf-models-official 2.11.2 depends on tensorflow-text~=2.11.0
tf-models-official 2.11.0 depends on opencv-python-headless==4.5.2.52
tf-models-official 2.10.1 depends on tensorflow-text~=2.10.0
tf-models-official 2.10.0 depends on opencv-python-headless==4.5.2.52
tf-models-official 2.9.2 depends on tensorflow~=2.9.0
tf-models-official 2.9.1 depends on tensorflow~=2.9.0
tf-models-official 2.9.0 depends on tensorflow~=2.9.0
tf-models-official 2.8.0 depends on tensorflow~=2.8.0
tf-models-official 2.7.2 depends on tensorflow-text>=2.4.0
tf-models-official 2.7.1 depends on tensorflow-text>=2.4.0
tf-models-official 2.7.0 depends on tensorflow>=2.7.0
tf-models-official 2.6.1 depends on tensorflow-text>=2.6.0
tf-models-official 2.6.0 depends on tensorflow>=2.5.0
tf-models-official 2.5.1 depends on tensorflow>=2.5.0
To fix this you could try to:
The text was updated successfully, but these errors were encountered: