-
Notifications
You must be signed in to change notification settings - Fork 4
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
Pytorch Object Detection Example 코드 관련 #1
Comments
Annotation 관련 매뉴얼Multi Class Object Detection 모델 학습을 위해서는 학습 영상 및 해당 영상 내 객체에 대한 bounding box 정보와 class 정보가 필요합니다. 데이터에 모델 학습에 사용할 label 정보를 추가하는 행위를 annotation이라고 하며 아래 글은 LabelImage Tool을 통해 annotation 하는 방법이 작성되어 있습니다. LabelImage Tool 활용
여기서 먼저 data 폴더 안에 predefined_classes.txt는 labelImg Tool에서 bounding box의 class를 지정해줄 때 활용되는 class category를 의미합니다. 현재 다운받은 폴더 속 txt 파일 안에는 dog, person, cat 등 15개의 class가 명시되어있으며, 본인의 검출기가 학습시킬 class에 맞게 내용을 변경해주면 됩니다. 해당 예제에서는 페트병과 알루미늄 캔에 대한 간단한 검출기를 학습시킬 것이기에, 카테고리를 pet와 aluminum_can으로 변경하였습니다.
*** 한가지 팁을 드리면 labelImg에는 단축키가 존재합니다. 이는 아래와 같습니다.
LabelImg Tool 오류 발생시만약 open dir 버튼을 통해 영상을 업로드하는 것이 안되거나, annotation을 한 bounding box에 대해 save 버튼을 눌러도 저장이 안되는 등 여러가지 에러가 발생하실 경우 좌측 상단 file - ResetALL 버튼을 클릭 한 후 다시 tool을 실행시켜주시면 됩니다. |
실습 목표
5월 15(월)에 실습할 내용은 Pytorch SSDLite Example 입니다.
Pytorch의 torchvision 라이브러리에서 제공하는 Object Detection 코드들을 활용해 나만의 검출기를 만드는 실습을 진행합니다.
실습은 아래의 colab 노트북을 이용합니다. 각 링크의 colab 노트북을 개인 드라이브에 저장하여 실습을 진행해주시면 됩니다.
실습 자료
The text was updated successfully, but these errors were encountered: