I already read this, this, and this, but no solution.
I have a list of 50 lists like this:
dataTest=[List1,List2,List3,...,List50]
Each of those lists is a list of images along with labels. I mean the first dimension of List1 is consists of some images, and the second dimension of the List1 is their corresponding labels. like this:
List1=[Images,Labels]
For example, List1 is a list with 700 images with label 0. List2 is a list with 1000 images with label 1, ... Hence, we have a list of 50 lists in which each individual list comes with size 2.
I want to merge all list together in order to get the following matrix. I mean an array like this:
dataTest=[Images of List1,2,3,...,50 , Labels of List1,2,3,...,50]
So, we would have a list with two size. The first dimension is all images from all lists, and the second dimension is the labels of all images