Creating tensor TypeError: can't convert np.ndarray of type numpy.object_

How can we convert this array of type objects to something that can be used in from_numpy() method