05-20 09:44
Recent Posts
Recent Comments
관리 메뉴

너와나의 관심사

image to numpy sahpe 변경 하는 간단 코드 본문

카테고리 없음

image to numpy sahpe 변경 하는 간단 코드

벤치마킹 2019. 4. 1. 00:07


이미지 numpy 로 변환해서 reshape 해주는 코드


batch = np.array(image)
batch = np.asarray(batch)
batch = np.expand_dims(batch, -1)
batch = batch [None, : ]


Comments