ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions.
Hello, boathit, I am a beginner in trajectory mining. When I was training, I encountered a problem that could not be solved. I hope to get your answer. The problem is :
Traceback (most recent call last):
File "t2vec.py", line 121, in
Hello Gshaoo, I also encountered the same problem, did you solve the problem?
Hi, I solve it when I use numpy 1.23
you can solve this problem by:
self.srcdata = list(map(np.array, self.srcdata)) --> self.srcdata = [np.array(e, dtype=object) for e in self.srcdata]