-
Notifications
You must be signed in to change notification settings - Fork 146
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
SIMBA STRING ERROR: read_video_info video_name should be an string #402
Comments
Hi @DanieleRomeo ! Thanks for reporting this and let's fix it ASAP. Can you send me a screenshot of the error message as it appears in the operating system terminal, as well as the From the table, it appears that the header of the file is missing, and for some reason SimBA interprets the header line as a video parameter row. |
Thank you so much for your fast reply! Exception in thread Thread-2: During handling of the above exception, another exception occurred: Traceback (most recent call last): [23 rows x 6 columns] This is the output from the GUI (I cut the interpolation part of all the data): SIMBA COMPLETE: 23 data file(s) interpolated) (elapsed time: 14.3869s) 🚀 [23 rows x 6 columns] 🚨 Here is the video_info.csv file: I was also struggling with uploading Boris csv file, when I realize the problem was the separator used. My pc was using ";" as separator (it could be related to the geographic region of my account) while Boris csv output uses ",", so when I modified the Boris file to adjust the video path and I saved as csv, the separator was changed and Simba was not able to detect the boris file. When I find out and I managed to fix the separator, Simba was able to read the csv. However, I didn't change the video_info.csv since it is automatic generated by Simba, so I don't know if this could be also related to the separator of csv. Thank you so much again for your help! |
@DanieleRomeo Yes, I think I found the issue. The quickest way to solve it: In your
To fix it, change the order of self.video_info_df, self.file_name arguments so that the line instead reads:
Save the file, try again, and please let me know how it goes. PS.
|
Great that was the issue! Thank you so much again, now it works fine. I had to remove "animal_name" from parts of the script such as Thank you again for your help! |
Thanks for letting me know @DanieleRomeo - I don't know why you had to remove the animal name, I don't think it will cause any issues downstream though. But should you get any errors please let me know! |
Hi,
I am using the version 2.3.5 of Simba and when I am trying to extract the features, I got this error:
SIMBA STRING ERROR: read_video_info video_name should be an string in SimBA, but is set to Video fps ... Distance_in_mm pixels/mm
0 LB4_NonRes_el 30 ... 500 3.43410
1 TL9_NonRes_el 30 ... 500 3.65800
2 LB1_NonRes_el 30 ... 500 3.55211
3 LB9_NonRes_el 30 ... 500 2.96602
4 LQ4_NonRes_el 30 ... 500 3.60406
5 LR3_NonRes_el 30 ... 500 3.71000
6 LR1_NonRes_el 30 ... 500 3.55800
7 TL4_NonRes_el 30 ... 500 3.60018
8 TB10_NonRes_el 30 ... 500 3.35210
9 LQ7_NonRes_el 30 ... 500 3.07403
10 LP6_NonRes_el 30 ... 500 3.26612
11 TL5_NonRes_el 30 ... 500 3.54423
12 HP8_NonRes_el 60 ... 500 3.29814
13 LD8_NonRes_el 30 ... 500 3.46807
14 LP1_NonRes_el 30 ... 500 3.52405
15 LP8_NonRes_el 30 ... 500 3.20423
16 LD10_NonRes_el 30 ... 500 3.46213
17 TB4_NonRes_el 30 ... 500 3.26801
18 LR7_NonRes_el 30 ... 500 3.35822
19 HP5_NonRes_el 59 ... 500 3.33200
20 LD1_NonRes_el 30 ... 500 3.44000
21 TB9_NonRes_el 30 ... 500 3.40001
22 LQ1_NonRes_el 30 ... 500 2.19505
[23 rows x 6 columns] ??
I tried to remove the numbers and the "_" from the name of the videos, but it didn't change. I tried also to set as text the Video column but it didn't work.
It seems a bit strange to me since with the version 1.90.2 I've never had this problem using the same videos name, and also the generated file video_info.csv is the same.
Could you please help me to fix it?
Thanak you so much for your time!
The text was updated successfully, but these errors were encountered: