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

ValueError: setting an array element with a sequence #86

Open
koosjedr opened this issue Mar 27, 2024 · 0 comments
Open

ValueError: setting an array element with a sequence #86

koosjedr opened this issue Mar 27, 2024 · 0 comments

Comments

@koosjedr
Copy link

When I try to use the bsoid "load data and preprocess" I get the following error:

ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (12,) + inhomogeneous part.

Traceback:
File "/Users/koosje/miniconda3/envs/bsoid_v2/lib/python3.9/site-packages/streamlit/script_runner.py", line 332, in _run_script
exec(code, module.dict)
File "/Users/koosje/Documents/master/onderzoek/B-SOID-master/bsoid_app.py", line 42, in
processor.compile_data()
File "/Users/koosje/Documents/master/onderzoek/B-SOID-master/bsoid_app/data_preprocess.py", line 113, in compile_data
self.raw_input_data, np.array(self.processed_input_data), self.sub_threshold], f

however when I use the demo files I do not get this error. I used my csv pose files from DLC. However when I only upload 1 file in the 041919 folder then it gets processed fine.

Scherm­afbeelding 2024-03-27 om 12 15 03 Scherm­afbeelding 2024-03-27 om 12 15 22 Scherm­afbeelding 2024-03-27 om 12 15 44

Somebody who can help me?

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

1 participant