Hi,
I am afraid I cannot yet provide a minimal crash example.
However, feel free to experience the crash yourself:
- clone this repo https://github.com/arthur-parmentier/soundpainting-signs-gestures-recognition
- load the 30062020_kNN_bug patcher
- In the 2.2. box, hit the intall button once, then drag and drop the following data files inside the box under the install button all22020-06-30_21-37-5_13f16b70-bb09-11ea-bbdf-532d4e65c03a.mubu (111.6 KB) off2020-06-30_21-36-23_fb2b68c0-bb08-11ea-bbdf-532d4e65c03a.mubu (8.2 KB)
- hit the “train model” button
- Max crashes
Workaround: when both files are in the buffers, save them once again to a signle file, then load it. This time, hitting the training model button works perfectly.
Effect of each button (buffer_management_script.js):
“install” -> script npm install
Drag and drop zone -> readappend path
Train model -> train() function in the code, sends a bunch of commands to iMubu to get the buffer/labels/track names and asks mubu.play to playback the data at high speed rates
There is definitively something with the loading of the file,it is very strange that it crashes only when the buffer comes from two separate file, while it does not when it has the same info… but from a single data file