SIMBA v1.2 error while trying to label behaviors in larval zebrafish (TL= 100px = 5mm) in a 30x30mm arena (1024x1024px videos). Seven body part labeled (two eyes, swim bladder, four along tail)
Successful steps:
Project ini file created and loaded,
20 Videos loaded top video folder,
DLC csv files imported to csv/input_csv/original filename folder
Video parameters adjusted
Outlier correction settings of 0.7 (movement) and 1.5 (location) attempted but main screen window/log says:
Processing 0 files for location outliers...
Log for corrected "location outliers" saved in project_folder/logs
Outlier correction complete.
ROIs drawn
Features (6000 png frames) extracted to 20 folders (one per video)
Error occurs when Labeling behaviors:
video frames loaded and displayed in GUI window,
rheotaxis behaviors check box selected,
frame navigation works,
frame range selected (e.g. 3280-5005) and click save and advance to next frame:
Annotated behavior: Rheotaxis. Start frame: 3280. End frame: 5005
Click “generate / save csv” button gives the following file not found error:
(SIMBA) C:\Users\Fish_Behavior>simba
warning: Error opening file (/build/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:901)
warning: C:/Users/Fish_Behavior/Desktop/SIMBA/1LZF_model/1LZF_model_07_28/project_folder\videos\0 (/build/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:902)
Exception in Tkinter callback
Traceback (most recent call last):
File "c:\users\fish_behavior.conda\envs\simba\lib\tkinter_init_.py", line 1705, in call
return self.func(*args)
File "c:\users\fish_behavior.conda\envs\simba\lib\site-packages\simba\SimBA.py", line 3389, in
button_setscale = Button(label_setscale,text='Set video parameters',command=lambda:video_info_table(self.projectconfigini))
File "c:\users\fish_behavior.conda\envs\simba\lib\site-packages\simba\SimBA.py", line 1050, in init
self.getdata()
File "c:\users\fish_behavior.conda\envs\simba\lib\site-packages\simba\SimBA.py", line 1100, in getdata
self.button = Button_getcoord(self.xscrollbar, self.data_lists[1], self.data_lists[5],self.pixel_list)
File "c:\users\fish_behavior.conda\envs\simba\lib\site-packages\simba\SimBA.py", line 877, in init
self.ppmvar[i].set(ppmlist[i])
IndexError: list index out of range
Exception in Tkinter callback
Traceback (most recent call last):
File "c:\users\fish_behavior.conda\envs\simba\lib\tkinter_init_.py", line 1705, in call
return self.func(*args)
File "c:\users\fish_behavior.conda\envs\simba\lib\site-packages\simba\labelling_aggression.py", line 135, in
self.generate = Button(self.window, text="Generate / Save csv", command=lambda: save_video(self.window))
File "c:\users\fish_behavior.conda\envs\simba\lib\site-packages\simba\labelling_aggression.py", line 474, in save_video
data = pd.read_csv(input_file)
File "c:\users\fish_behavior.conda\envs\simba\lib\site-packages\pandas\io\parsers.py", line 685, in parser_f
return _read(filepath_or_buffer, kwds)
File "c:\users\fish_behavior.conda\envs\simba\lib\site-packages\pandas\io\parsers.py", line 457, in _read
parser = TextFileReader(fp_or_buf, **kwds)
File "c:\users\fish_behavior.conda\envs\simba\lib\site-packages\pandas\io\parsers.py", line 895, in init
self._make_engine(self.engine)
File "c:\users\fish_behavior.conda\envs\simba\lib\site-packages\pandas\io\parsers.py", line 1135, in _make_engine
self._engine = CParserWrapper(self.f, **self.options)
File "c:\users\fish_behavior.conda\envs\simba\lib\site-packages\pandas\io\parsers.py", line 1917, in init
self._reader = parsers.TextReader(src, **kwds)
File "pandas/_libs/parsers.pyx", line 382, in pandas._libs.parsers.TextReader.cinit
File "pandas/_libs/parsers.pyx", line 689, in pandas._libs.parsers.TextReader._setup_parser_source
FileNotFoundError: [Errno 2] File b'C:\Users\Fish_Behavior\Desktop\SIMBA\1LZF_model\1LZF_model_07_28\project_folder\csv\features_extracted\\20200318_AB_7dpf_ctl.csv' does not exist: b'C:\Users\Fish_Behavior\Desktop\SIMBA\1LZF_model\1LZF_model_07_28\project_folder\csv\features_extracted\\20200318_AB_7dpf_ctl.csv'
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: [e.g. iOS]
- Python Version [e.g. 3.6.0]
- Are you using anaconda?
Additional context
Add any other context about the problem here.