jumpx2 / Eye-object_detection

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Eye-object_detection

Start

#for mac osx   
python -m venv tf   
   
source tf/bin/activate

mac osx

설치 -> pip install -r requirements.txt

설치 종류

brew install pyqt@5
brew install protobuf
brew install qt
brew install wget
brew install openssl@3   
    
    
pip install tf-slim
pip install pycocotools
pip install lxml
pip install lvis
pip install contextlib2
pip install --no-dependencies tf-models-official
pip install avro-python3
pip install pyyaml
pip install gin-config
pip install tensorflow-macos
   
터미널 창에 입력 
하지 않으면 grpcio Error -> 하루종일 삽질..
export GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=1
export GRPC_PYTHON_BUILD_SYSTEM_ZLIB=1

mac osx  Error -> pip install tensorflow-io (Not Found)
#깃으로 받아서 직접 설치해야 적용됨
git clone https://github.com/tensorflow/io.git
cd io
python3 setup.py -q bdist_wheel

label Img를 사용해 라벨링하기

https://github.com/tzutalin/labelImg

tensorboard로 학습시킨 데이터 Loss 확인하기

스크린샷 2022-04-17 13 52 02

스크린샷 2022-04-17 14 08 19

#결과를 확인하기 위해 plt.show()로 확인하기 Apr-17-2022 15-09-00

사용한 모델

http://download.tensorflow.org/models/object_detection/tf2/20200711/ssd_mobilenet_v2_fpnlite_320x320_coco17_tpu-8.tar.gz
제일 작고 빠르기에 사용해봤습니다.   
Tensorflow/model/research/object_detection/g3doc/tf2_detection_zoo.md 에서 많은 모델들 이름과 tar.gz 파일  map 존재

About


Languages

Language:Jupyter Notebook 100.0%