Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error #18

Open
nd-6 opened this issue May 30, 2023 · 5 comments
Open

Error #18

nd-6 opened this issue May 30, 2023 · 5 comments

Comments

@nd-6
Copy link

nd-6 commented May 30, 2023

Hi!

When i run the main.py i get the following error:

self.maximum_frames = self.static_info[(last_track[TRACK_ID])][FINAL_FRAME] - 1

TypeError: unhashable type: 'numpy.ndarray'

Any fix?

Thanks!

@nd-6 nd-6 closed this as completed Jun 13, 2023
@nd-6 nd-6 reopened this Jun 16, 2023
@LemonPasserby
Copy link

i also get that error,have you solved it?

@ChonglanWang
Copy link

i also get that error,have you solved it?

At the command prompt, type: pip install numpy.
Run after

@melon7489
Copy link

melon7489 commented Dec 15, 2023

Hi!

When i run the main.py i get the following error:

self.maximum_frames = self.static_info[(last_track[TRACK_ID])][FINAL_FRAME] - 1

TypeError: unhashable type: 'numpy.ndarray'

Any fix?

Thanks!

This may be related to your Python environment, my Python environment is as fallows:

python=3.6
matplotlib==3.0.3
numpy==1.18.5
pandas==0.24.2
pip==21.2.2
scipy==1.2.3

@lofues
Copy link

lofues commented Apr 28, 2024

I face it too, my environment is apple arm.My conda do not support python3.6

@ascl-legolas
Copy link

"last_track[TRACK_ID]" is ndarray, and "track[TRACK_ID]" in the following code is the same format.Simply convert the last_track[TRACK_ID] in ndarray format to type int to run successfully,like :"self.maximum_frames = self.static_info[int(last_track[TRACK_ID])][FINAL_FRAME] - 1"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants