SyntaxFix
Write A Post
Hire A Developer
Questions
You can covert numpy.ndarray to object using astype(object)
numpy.ndarray
object
astype(object)
This will work:
>>> a = [np.zeros((224,224,3)).astype(object), np.zeros((224,224,3)).astype(object), np.zeros((224,224,13)).astype(object)]