You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# This is the 1st commit message:
[Test] travis
Co-authored-by: Yoon Sang Jun <SangJunni@users.noreply.github.com>
# This is the commit message #2:
[Test] travis test 2
# This is the commit message #3:
[Test] test 2
# This is the commit message #4:
[Fix] test 3
# This is the commit message #5:
[Fix] fix
# This is the commit message #6:
[Fix] fix2
# This is the commit message #7:
[fix] fix4
# This is the commit message #8:
[Fix] fix5
# This is the commit message #9:
[Fix] fix 6
How To prepare Fish Data
Please rename the Dirctories like bottom Structure
Before running code
Notice : 반드시 gbt_fish_dtset3.json 과 dtset3 와 같이
이미지를 담은 파일명이 해당 json앞에 이름이 있어야 한다
(Ex) json : gbt_fish_dtset_val_images.json ==> image folder : val_images
Data File Rename Convention
1. 어류 개체 촬영 영상 --> Fish_dataset
폴더 이름을 Fish _dataset으로 바꿔 주기
2. Training 폴더에 들어 가기
3. Validation 폴더에 들어 가기
4. 다음과 같은 구조가 만들어졌는지 확인하기
📂Fish
┣ 📂Fish_dataset
┃ ┣ 📂Training
┃ ┃ ┣ 📂dtset
┃ ┃ ┃ ┣ 📂dtset1
┃ ┃ ┃ ┣ 📂dtset2
┃ ┃ ┃ ┣ 📂dtset3
┃ ┃ ┃ ┗ 📂dtset4
┃ ┃ ┗ 📂gbt_fish_dtset
┃ ┃ ┃ ┗ 📜gbt_fish_dtset1.json
┃ ┃ ┃ ┗ 📜gbt_fish_dtset2.json
┃ ┃ ┃ ┗ 📜gbt_fish_dtset3.json
┃ ┃ ┃ ┗ 📜gbt_fish_dtset4.json
┃ ┗ 📂Validation
┃ ┃ ┣ 📂dtset
┃ ┃ ┃ ┗ 📂val_images
┃ ┃ ┣ 📂gbt_fish_dtset
┃ ┃ ┃ ┗ 📜gbt_fish_dtset_val_images.json
┣ 📂Function
┃ ┣ 📜annotation_part.py
┃ ┗ 📜image_part.py
┣ 📂utils
┃ ┗ 📜json_refactor.py
┗ 📜Fish_Data_Crop.py (main)
📂Sashimi
다음과 같은 세팅을 마친 후
5. gbt_fish_dtset_val_images.json를 열어
"categories":[]
를
"categories":[{"name":"Olive flounder","supercategory":"fish","id":1},{"name":"Korea rockfish","supercategory":"fish","id":2},{"name":"Red seabream","supercategory":"fish","id":3},{"name":"Black porgy","supercategory":"fish","id":4},{"name":"Rock bream","supercategory":"fish","id":5}]
로 바꿔주자
6. Fish_Data_Crop.py를 실행 시켜준다
경로 등은 설정
7. 실행 이후 다음과 같은 파일 구조가 만들어졌는지 확인
After running code
📂Fish
┣ 📂Fish_dataset
┃ ┣ 📂output
┃ ┃ ┣ 📂analysis_csv
┃ ┃ ┃ ┣ 📗catagory_list.csv
┃ ┃ ┃ ┣ 📗train_images_size_list.csv
┃ ┃ ┃ ┣ 📗train.csv
┃ ┃ ┃ ┣ 📗valid_catagory_list.csv
┃ ┃ ┃ ┣ 📗valid_images_size_list.csv
┃ ┃ ┃ ┗ 📗valid_images_size_list.csv
┃ ┃ ┣ 📂crop_image
┃ ┃ ┃ ┣ 📂dtset1
┃ ┃ ┃ ┣ 📂dtset2
┃ ┃ ┃ ┣ 📂dtset3
┃ ┃ ┃ ┣ 📂dtset4
┃ ┃ ┃ ┗ 📂val_images
┃ ┃ ┗ 📂new_json_set
┃ ┃ ┃ ┣ 📜[new]_gbt_fish_dtset_val_images.json
┃ ┃ ┃ ┣ 📜[new]_gbt_fish_dtset1.json
┃ ┃ ┃ ┣ 📜[new]_gbt_fish_dtset2.json
┃ ┃ ┃ ┣ 📜[new]_gbt_fish_dtset3.json
┃ ┃ ┃ ┣ 📜[new]_gbt_fish_dtset4.json
┃ ┣ 📂Training
┃ ┗ 📂Validation
┣ 📂Function
┃ ┣ 📜annotation_part.py
┃ ┗ 📜image_part.py
┣ 📂utils
┃ ┗ 📜json_refactor.py
┗ 📜Fish_Data_Crop.py (main)
📂Sashimi
🎉 Congratulations 🎉
The text was updated successfully, but these errors were encountered: