-
Notifications
You must be signed in to change notification settings - Fork 17
Description
Hi all,
Partially predescribed, but I wanted to hint towards two bugs that I came across while working with ASOID extensively now:
Windows 10, most current version of ASOID
a) When trying to do a refinement (does not matter which sort) an index error occurs when excluding certain DLC-defined markers (say you want to exclude inherently more noisy tail markers for mice). Couldnt find a way around it; with all markers included this problem never occurs.
(IndexError: index 22 is out of bounds for axis 1 with size 22
Traceback:
File "C:\Users\Gastkonto\anaconda3\envs\asoid\lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 584, in _run_script
exec(code, module.dict)
File "C:\Users\Gastkonto\A-SOID\asoid\app.py", line 328, in
main()
File "C:\Users\Gastkonto\A-SOID\asoid\app.py", line 307, in main
D_manual_active_learning.main(ri=ri, config=st.session_state['config'])
File "c:\users\gastkonto\a-soid\asoid\apps\D_manual_active_learning.py", line 33, in main
refinement.main()
File "c:\users\gastkonto\a-soid\asoid\utils\manual_refinement.py", line 784, in main
create_videos(
File "c:\users\gastkonto\a-soid\asoid\utils\manual_refinement.py", line 441, in create_videos
filt_pose, _ = adp_filt(current_pose, idx_selected, idx_llh, llh_value)
File "c:\users\gastkonto\a-soid\asoid\utils\preprocessing.py", line 65, in adp_filt
currdf_filt[0, (2 * x):(2 * x + 2)] = np.hstack([datax[0, x], datay[0, x]]))
b) A bug which occurs, but can partially be circumvented (at least it seems so) is that when doing a refinement and choosing low-confidence refinement mode, an error occurs which prevents from generating the videos after extracting the frames.
It reads "Terminated early, click R". If done so, nothing happens. If you choose the random mode then and click on generate videos again, the videos are created (I hope with the low confidence frames, however cant think why it wouldn't be so, as no random frame extraction occured simultaneously.
Any fixes already existent in that regard?
Best
Johannes