분류 전체보기(175)
-
22.02.23 [kfood프로젝트]음식 사진 Detection 프로젝트를 위한 YOLOv3 모델 inference 돌려보기
https://github.com/ultralytics/yolov3 GitHub - ultralytics/yolov3: YOLOv3 in PyTorch > ONNX > CoreML > TFLite YOLOv3 in PyTorch > ONNX > CoreML > TFLite. Contribute to ultralytics/yolov3 development by creating an account on GitHub. github.com YOLOv3🚀는 COCO 데이터 세트에서 사전 훈련된 Object Detection 아키텍처 및 모델 제품군이며 미래 비전 AI 방법에 대한 Ultralytics 오픈 소스 연구를 나타내며 수천 시간의 연구 및 개발을 통해 학습한 교훈과 모범 사례를 통합합니다. 이건 내가 파..
2022.02.23 -
22.02.22 [kfood프로젝트] 정제한 음식 사진(aihub 데이터셋 2개 합침) bounding box그리기 - .json과 .properties파일 읽기
step_4 최종 bbox 확인 데이터셋 폴더 kfood_sy import random from matplotlib import pyplot as plt import cv2 import numpy as np from PIL import Image import os import json # jupyter notebook 내 그래프를 바로 그리기 위한 설정 %matplotlib inline # unicode minus를 사용하지 않기 위한 설정 (minus 깨짐현상 방지) plt.rcParams['axes.unicode_minus'] = False # 나눔고딕 폰트 적용 plt.rcParams['font.family'] = 'Malgun Gothic' count=1 plt.figure('seoyoon',fi..
2022.02.22 -
22.02.21 [kfood프로젝트] 음식사진 빅데이터 파이썬 .JPG , .png등을 .jpg로 바꾸기
.JPG가 섞여있었다.(난 .png는 굳이 안바꿔도 되서 그냥 냅둠) for i in os.listdir('./kfood'): print(f'{i}--------------------------------') for j in os.listdir(f'./kfood/{i}'): print('\t',j) for filename in os.listdir(f'./kfood/{i}/{j}'): if filename[-4:]=='.JPG': print(f'./kfood/{i}/{j}/'+filename, '=>', f'./kfood/{i}/{j}/'+filename[:-4]+'.jpg') os.rename(f'./kfood/{i}/{j}/'+filename, f'./kfood/{i}/{j}/'+filename[:-4..
2022.02.21 -
22.02.21 [kfood프로젝트] bounding box 결측치 제거작업 & bounding box에 없는 사진들 삭제하기
결측치 제거작업(bounding box값 자체가 이상한 애들) for i in seoyoon_big_list: print(i) for j in os.listdir(f'./kfood/{i}'): if j in seoyoon_small_list: file_path_list = [f'./kfood/{i}/{j}/'+file for file in os.listdir(f'./kfood/{i}/{j}')] imgs_path_list = file_path_list[1:-1] print(imgs_path_list[:5]) with open(file_path_list[0],mode='r',encoding='UTF8') as f: # properties 파일 읽음 bboxes = f.read() bboxes_list = ..
2022.02.21 -
22.02.20 제공받은 GPU 서버 VS 코드로 원격접속
azure 환경에서의 jupyter 사용 환경 구축이 완료되어 안내합니다. azure VM 에서 jupyter noetbook 사용법은 아래와 같습니다. ( VS code사용을 전제하에 진행합니다.) 1. VS code Extensions 에서 Remote - SSH 를 설치합니다. 2. VS code 에서 f1을 누르고 Remote-SSH: Connect to host를 입력한뒤 공유 받은 VM접속 아이디와 패스워드를 입력합니다. 3. 상단 터미널 또는 단축키 ctrl + shift + ` 을 통해 터미널 창을 열어줍니다. 4. 해당 터미널 창에서 jupyter notebook 명령어를 통해 실행합니다. 5. 구동후 jupyter notebook 6.4.8 is running at: 다음에 있는 loc..
2022.02.20 -
22.02.16 원격 외부 컴퓨터 접속을 위한 PuTTY, WinSCP 설치(윈도우환경)
https://www.putty.org/ Download PuTTY - a free SSH and telnet client for Windows Is Bitvise affiliated with PuTTY? Bitvise is not affiliated with PuTTY. We develop our SSH Server for Windows, which is compatible with PuTTY. Many PuTTY users are therefore our users as well. From time to time, they need to find the PuTTY download link. W www.putty.org 설치는 되게 쉽다 그냥 다음다음 누르고 Install 누르면됨 puTTY를 쓰는 이..
2022.02.16