10 Jan 2021
기능 이진탐색을 기본, 재귀로 구현 BinarySearch def binary_search(sorted_list, item): low = 0 high = len(sorted_list) - 1 while low <= high: mid = int((low +...
31 Dec 2020
기능 Type T에 따라 Class를 json으로 변환 코드 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; // 전달할 개별 LogClass가 상속받아야...
30 Dec 2020
기능 spine을 export하면 나오는 json, text(byte), png 3개의 파일로 skeletonmecanim을 생성한다. 코드 const string k_AtlasExt = ".txt"; const string k_PngExt = ".png"; const string k_JsonExt...
19 Aug 2020
BatchNormalization 사용하기 import numpy as np import random import tensorflow as tf random.seed(777) # for reproducibility learning_rate = 0.001 batch_size = 100 training_epochs = 10...
17 Aug 2020
Yolo(You only look once) 소스는 여기 모델은 여기 프레임워크는 open cv2 사용 import cv2 import numpy as np import matplotlib.pyplot as plt print(cv2.__version__) BLOBSIZE =...