I need to create an empty numpy array of a shape (?, 10, 10, 3). ? means I don't know how many elements will be inserted. Then I have many numpy arrays of a shape (1, 10, 10, 3) which I want to be inserted to the prepared array one by one, so the ? mark will be increasing with inserted elements.
I'm trying all variations of numpy array methods like empty, insert, concatenate, append... but I'm not able to achieve this. Could you please give me a hand with this?
out = (M,10,10,3), withMbeing that max number and index and assign at each iteration :out[i] = ..keeping the count of iterations. At the end, simply slice outout[:C]withCbeing that last iteration number/count.listobject usingmy_list.append(array_x), then, dofinal_array = np.array(my_list)