How to load images ?
Hello, I been playing around with LiteNN, and i wanted to say great job on the LiteNN. also i want to ask how to load images as there seem no official way to load batches of images, my current stop gap measure is to use opencv to load images and convert it into numpy array afterward convert it into a Tensor.
imgcv = cv2.imread(imgpath)
test_tensor = nn.Tensor_from_value(imgcv)
Will there be a way to load images directly from LiteNN ?,
LiteNN receives only numpy data
yes sorry, what wanted to ask is will there be in inbuilt function to load images similar to pytorch "DataLoader" ?
as for the OpenCV, it is just the easiest way i know to load images as numpy array.
why? just use cv2 imread , or lod through PIL