실행하려고 하다보니 설치가 안 된 부분이 있어 설치해주고 넘어갑니다.
conda install scikit-learn
conda install -c apple tensorflow-deps
python -m pip install tensorflow-macos
하려고 했는데.. mac os x 12.3 을 위한 거라고 하네요.
'Expected in: /usr/lib/libc++.1.dylib': Installing Tensorflow on M1 MacBook Pro
I am trying to install Tensorflow on my MacBook Pro with the M1 chip. The operating system of my MacBook is MacOS Big Sur Version 11.0. In order to install Tensorflow to use it with Python, I have
stackoverflow.com
저는 지금
하 업데이트 하고 다시 오겠습니다.
import 가 됩니다. 다시 실행해봅니다.
disutils 관련 오류는 아래로 해결합니다.
pip install setuptools==59.5.0
requirements.txt 에 있는 것들을 설치해줍니다.
pip install scikit-learn
pip install easydict
// onnx 설치를 위한
brew install protobuf
pip3 install onnx --no-use-pep517
onnx 설치 부분이 완료가 안되면 (xcrun 관련 에러 발생 -> os update 때문에.)
xcode-select --install
이 명령어로 해결하면 됩니다.
설치를 완료하였습니다만..
pip3 install opencv-python
train.py 소스 일부를 고칩니다....
python -u train.py --network r100 --loss arcface --dataset emore
References
https://github.com/deepinsight/insightface/tree/master/recognition/arcface_mxnet
GitHub - deepinsight/insightface: State-of-the-art 2D and 3D Face Analysis Project
State-of-the-art 2D and 3D Face Analysis Project. Contribute to deepinsight/insightface development by creating an account on GitHub.
github.com
https://webnautes.tistory.com/1639
MacBook M1에 Tensorflow 설치하기
MacBook M1에 Tensorflow를 설치하는 방법을 다룹니다. 참고 https://developer.apple.com/metal/tensorflow-plugin/ 최초작성 2022. 2. 4 macOS 12.0 이상에서 가능하며 글 작성 시점에서 현재 지원하지 않는 항..
webnautes.tistory.com
AttributeError: module 'setuptools._distutils' has no attribute 'version'
I was trying to train a model using tensorboard. While executing, I got this error: $ python train.py Traceback (most recent call last): File "train.py", line 6, in <module> from t...
stackoverflow.com
https://www.hahwul.com/2019/11/18/how-to-fix-xcrun-error-after-macos-update/
Mac 업그레이드 후 개발 관련 도구 에러(xcrun: error: invalid active developer path) 해결방법(xcode-select --ins
최근에 모하비에서 카탈리나로 업그레이드 했습니다. 매번 업데이트 때마다 여러 문제가 발생하는데, 이번에도 어김없이 xcode cli 관련 이슈가 또 터지네요.. 매번 명령어 때문에 검색하기도 귀
www.hahwul.com
https://github.com/onnx/onnx/issues/3129
M1 arm64 release binaries · Issue #3129 · onnx/onnx
Bug Report Describe the bug ONNX fails to install on Apple M1. System information OS Platform and Distribution: macOS Big Sur 11.0.1 (20D91) ONNX version: 1.8 Python version: 3.9.2 Reproduction ins...
github.com
https://github.com/apache/incubator-mxnet/issues/18329
'mxnet' has no attribute 'metric' · Issue #18329 · apache/incubator-mxnet
Description On master branch, when execute the below commands, python -c "import gluoncv" or python -c "import mxnet as mx; print(mx.metric)" , an error raised with message: ...
github.com
'개발 > insightface' 카테고리의 다른 글
OSError: cannot open shared object file: No such file or directory (0) | 2022.05.05 |
---|---|
docker ubuntu (0) | 2022.04.26 |
m1 pytorch 설치, mxnet install in mac m1 (3) | 2022.04.25 |
insight face arc-face training - pytorch 선택 (5) | 2022.04.24 |