Open CorinneAKelly opened 2 years ago
I have also tried running this on my laptop just now with similar issues. For some reason on that computer I don't get the first string of classification errors, but I am still getting the second set of errors when I attempt to import DLC H5 files.
I also have this issue when trying to use preset multianimal 2 animals/14 bps. bp_names
is not created causing errors further down the line. Workaround for now is to just modify the analysis results so they will look like those from a single animal project for 2 animals/14 bps. Just wondering what's causing the issue
@KonradDanielewski - thanks for reporting, do you see any main terminal error msg when creating the project?
Also, I am correct that the settings you are the settings in this screenshot?
Sorry, there is no error, neither in the main terminal nor in the simba terminal. Just the file not being created.
So, for now with the workaround I do set it the way you show with classic tracking
and 2 animals, 14 bps
and the project_bp_names.csv
is being created. But when I change classic tracking
to Multi tracking
and Multi-animals, 7 bps
it's not being created.
Thanks @KonradDanielewski - I've sorted it, if you update to 0.90.4
it should work - but please let me know. There was a line in there basically saying if multi-animal 7bps == do not create project_bp_names.csv
lol. I have no idea why a line like that would be in there, makes me a little uneasy, but I've commented it out for now and does not seem to cause any immediate issues.
Thanks for the quick response. So, the file now is created but it looks the same as the one for classic tracking, listing 14 bps with _1
and _2
. Is it how it's supposed to be?
Maybe it's my lack of understanding how the workflow goes concerning bp names. I'll take a look at the code and try to get a better understanding of the backend
Yes that sounds correct, the workflow isn't ideal but going back now and sorting the backend ensuring backwards compatibility is tricky and not a priority. What happens is that SimBA pulls the index from the selected bp configuration in the dropdown, and matches it with the row in the simba.pose_configurations.bp_names.bp_names.csv file
, and the values in the relevant row in this file is used to create the project_bp_names.csv
file in the project. If you create additional user-defined configurations, then those become appended as a new row in the simba.pose_configurations.bp_names.bp_names.csv
file.
Describe the bug I am able to start simba and the GUI opens fine. If I try to create a new project and click "browse folder", the following error occurs:
If I continue anyway, and click "generate project config", it will successfully make a project folder but many of the files that should be inside it (such as the project_bp_names.csv) are missing. This makes me unable to either load in H5 files or even load the project itself if I exit simba and come back. Both of those cases lead to the following error:
Desktop (please complete the following information):
Additional context I have tried creating a new environment and installing simba from scratch, both with
pip install simba-uw-tf-dev
andpip install simba-uw-tf-dev --no-deps
. Neither solved the issue. I found someone having a similar error to the second one I pasted above in the gitter, but it appeared their issue was due to path issues with Linux on a server. My error isn't with the path, the file it is looking for just doesn't exist. Any help would be greatly appreciated!