Hi, I failed to run the training and evaluating scripts with numpy == 1.26.4 with following error,
ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (97148,) + inhomogeneous part. Set the environment variable HYDRA_FULL_ERROR=1 for a complete stack trace.
So I change the code from line 81 of file phalp_action_dataset.py from self.track2video = np.array(self.track2video) to self.track2video = np.asarray(self.track2video, dtype=object) and solve it. Might caused by the numpy upgrade?
If you are happy with this, I will pull request the problem and send it back.
Many thanks.
Hi, I failed to run the training and evaluating scripts with numpy == 1.26.4 with following error,
ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (97148,) + inhomogeneous part. Set the environment variable HYDRA_FULL_ERROR=1 for a complete stack trace.
So I change the code from line 81 of file phalp_action_dataset.py from self.track2video = np.array(self.track2video) to self.track2video = np.asarray(self.track2video, dtype=object) and solve it. Might caused by the numpy upgrade?
If you are happy with this, I will pull request the problem and send it back.
Many thanks.