no image
YOLOV3 - Ship detection 실습
Kaggle 데이터셋colab link YOLO v3 ship_detection 실습coco json에 bbox를 읽어서 detection YOLO v3 데이터 준비Yolo v3 준비!git clone https://github.com/ultralytics/yolov3%cd yolov3!pip install -r requirements.txt 데이터 준비# 위치를 /content로 이동%cd ..# ship Object Detection 데이터셋 다운!gdown https://drive.google.com/uc?id=1LwLwl-T4ShmcDLIDbnAch4OZMqfmk_67# 압축 풀기!unzip -qq "/content/ship_rle_coco.zip"train : test 데이터 확인train_di..
2024.07.23
no image
YOLOV3 - Cardetection 실습
Kaggle 데이터셋colab link Car detection 데이터 확인이미지에 대한 xmin, ymin, xmax, ymax 로 이루어진 데이터셋cv2 rectangle 을 통해서 시각화 했을때 labeling이 잘된 모습을 확인할수 있음 format 변환현재 데이터는 xmin, ymin, xmax, ymax로 이루어진 데이터사용할 모델인 Yolov3 format은 x_center, y_center, w, h 와 같은 정보가 필요함으로 데이터 가공 수행img_h, img_w, num_channels = h, w, c # h, w, c 는 위에서 얻은 이미지 크기# x_center 생성data_df['x_center'] = (data_df['xmin'] + data_df['xmax'])/2data_d..
2024.07.23
no image
YOLO V3 example
데이터는 roboflow 사용최종결과 확인 및 정리사용할 데이터셋 세포 데이터셋 Yolo v3 가져오기!git clone https://github.com/ultralytics/yolov3 # clone%cd yolov3%pip install -qr requirements.txt # installimport torchfrom yolov3 import utilsdisplay = utils.notebook_init() # checks>> YOLOv3 🚀 v9.6.0-21-g92c3bd7 torch 1.12.0+cu113 CUDA:0 (Tesla P100-PCIE-16GB, 16281MiB) Setup complete ✅yolo v3 종속성 패키지 설치%pip install -qr requirement..
2024.07.22