'학습' 태그의 글 목록
본문 바로가기

학습3

Face Recognition Custom 제작기-1단계 학습시키기 회사와서 별에별거를 접해보게된다. 얼굴인식기를 만들어볼껀데. FaceNet으로 사용해볼꺼다. 1. 디렉토리 하나 만들고 cmd 창에서 git clone https://github.com/hci-mkim/facenet_dpw.git 2. face-recognition 폴더가 생성되면 경로이동해준다. cd facenet_dpw 3. 필수 라이브러리 설치 pip install -r requirements.txt 4. data 폴더를 만들고 그 안에 폴더 3개를 만들껀데 하나는 train 시킬 폴더, test할 폴더, 나머지 하나는 결과를 저장할 폴더. mkdir data cd data mkdir train_img mkdir test_img mkdir result_img 5. train_img 폴더로 경로를 이.. 2021. 10. 13.
YOLOR custom tutorial (YOLOR 커스텀 데이터셋 학습) - 2편(Train) 설치(Installation) # 원하는 디렉토리로 이동해서 YOLOR git clone! git clone https://github.com/roboflow-ai/yolor cd yolor git reset --hard eb3ef0b7472413d6740f5cde39beb1a2f5b8b5d1 # Requirement 설치 pip install -r requirements.txt ※ Requirement 설치 시 ERROR: torch has an invalid wheel, .dist-info directory not found 오류가 발생한다면, PyTorch 홈페이지에 가서 버젼에 맞게 다운받는다. conda install pytorch==1.7.0 torchvision==0.8.1 torchaudi.. 2021. 7. 20.
Custom Detectron2 Training!! (Person Detection)-챕터 2 모델 훈련시키기(구글 colab) 목차 EP1. 데이터셋 만들기 EP2. 모델 훈련시키기 EP3. 정확도 확인하기 EP4. 예측하기 2. 모델 훈련시키기 구글드라이브 - 새폴더 생성(ex. detectron2) 마우스우클릭 - 더보기 - Google Colaboratory 클릭 런타임(화면상단) - 런타임유형변경 - None->GPU로 변경 왼쪽 폴더 - 드라이브마운트(중앙폴더) - Google Drive에 연결 클릭 폴더를 하나씩 눌러보면 drive/My Drive/Coding/detectron2 폴더가 보인다. 설치시작! 폴더 우클릭 - 경로복사 - 코드 첫 줄에 %cd /content/drive/My Drive/Coding/detectron2 입력 %cd /content/drive/My Drive/Coding/detectron2 t.. 2020. 10. 12.