I'm trying to convert a list to a numpy array. My list's length is 64, each element of the list is an numpy array(8 x 8). My output should be a numpy array of (8,8,1,64). How can I convert list to numpy array.
type(dct)
>>>list
len(dct)
>>>64
type(dct[0])
>>>numpy.ndarray
dct[0].shape
>>>(8,8)