When returning images
and labels
from parse_data_from_input
, type is still a list despite converting to an ndarray.
[code removed - moderator]
When returning images
and labels
from parse_data_from_input
, type is still a list despite converting to an ndarray.
[code removed - moderator]
Return value of np.asarray
should be assigned to images
. The function doesn’t modify caller arguments.