by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    flyegg
    @flyegg
    @ChangQing-SH Bonsai-rx Github says "it is possible to export them to .pb files using the DeepLabCut-modelexport script.". But the link for modelexport script seems to be broken.
    Alexander Mathis
    @AlexEMG
    @flyegg we just released the export in the latest version of DLC
    flyegg
    @flyegg
    @AlexEMG Thanks a lot! Can't wait to try.
    ChangQing-SH
    @ChangQing-SH
    @AlexEMG @flyegg Thanks, It works, but it is very slow on CPU machine, but maybe i should try the mobilenet
    Kolah
    @Koalachubb_twitter
    Hi guys. ive just started bonsai. i hope you guys can teach me lots. But I currently have this bonsai crashing whenever i try to run a program. Do you guys know a way to solve this?
    glopesdev
    @glopesdev
    @Koalachubb_twitter can you share a screenshot, or error message of the problem? Also let us know which version of Bonsai you are using and if possible how you installed it
    Kolah
    @Koalachubb_twitter
    image.png
    so here is a simple workflow that i did to crop a video.
    it worked the first time but didn't successfully save the cropped video. so i tried again but it crashed in the middle of it.
    i installed the software from the official website and its the latest version.
    glopesdev
    @glopesdev
    @Koalachubb_twitter thanks for the example. can you include a screenshot of the error message? Or does the software simply exit without any feedback?
    if this is the case, sometimes it is still possible to recover the error message by looking at the black console window, it may be posted there before it exits
    Kolah
    @Koalachubb_twitter
    it just exits without any error messages alongside the console window. so i didn't have the chance to see the error message.
    glopesdev
    @glopesdev
    I see, if this is the case, try to start Bonsai from the command-line: 1. right-click on the Bonsai shortcut on the start menu or taskbar > open file location > right-click > show properties, and copy its path. 2. open the command line (cmd) from the start menu and run cd <path> and then Bonsai. This way if there are any errors they should be dumped to the console window and stay there even if there is no feedback
    you can right-click on the command line window to paste a path you have copied previously for convenience
    Kolah
    @Koalachubb_twitter
    I am still new to programming so pardon me if i ask a lot of questions.
    is command line the same as command prompt?
    if so, i tried to run the cd <path> but it didn't work
    Kolah
    @Koalachubb_twitter
    I'm sorry i just figured out what you meant.
    I copied the path, opened bonsai, tried to run a program. as always it crashed but still no error message on the cmd
    AnnaCSales
    @AnnaCSales
    Hi everyone
    Let's try again.... I'm another new user, and I was wondering whether there are any more examples available for working with ephys data? I thought I'd try to learn about Bonsai after reading that the new OpenEPhys systems will make more use of it. I've managed to get the basics up and running (acquiring data, seeing TTLs from the analogue and digital inputs etc) but I'm struggling to get much further. I thought I'd have a go a making a TTL triggered PETH for threshold crossing events, but I'm struggling to just to get the rising edge of the TTL (I can attach paltry efforts..basically I want to do some python scripting but everything comes in as a OpenCV.mat and I don't know how to deal with it). I realise this is pretty basic stuff so I wondered if some examples might help me make some progress...:) TIA...
    AnnaCSales
    @AnnaCSales
    (I'm using the RHD2000Eval board node to acquire data from the OpenEphys acquisition board
    glopesdev
    @glopesdev
    @Koalachubb_twitter Sorry for the delayed response, i missed the notifications on your reply. does this happen with any Bonsai program, or just with this particular workflow?
    @AnnaCSales > Let's try again...
    did I miss any previous messages?
    I don't remember seeing these reports before, either in this chat or in the forums, let me know if you were posting with another user ID, and where
    the forums might be a better place to develop an extended example, where it's easier to share code, images, and workflows
    AnnaCSales
    @AnnaCSales
    Hey there - no not at all! I was laughing at my inability to use the chat software - I managed to post only 'Hi everyone' the first time. Sorry for any offence!! I'll move to the forums
    glopesdev
    @glopesdev
    no worries at all! was just genuinely worried that we missed you
    see you in the forums!
    Andre Maia Chagas
    @amchagas
    hi folks, quick question:
    I'm missing a way to set duty cycle for square waveforms on Bonsai. Any tips on how to set this? did I miss something?
    glopesdev
    @glopesdev
    @amchagas yeah, it's a cool trick: just add a Threshold operator after a Sawtooth waveform
    image.png
    just make sure that the Depth property is set to F32 so that threshold works properly
    you can also adjust Amplitude and Offset to 0.5 so the sawtooth is in the interval [0,1]
    then simply adjusting the Threshold in the slider will give you the duty cycle as a percentage
    Andre Maia Chagas
    @amchagas
    TY!
    On an unrelated note, I was planning/had a look at porting a LabJack T7 we have in the lab so that it could be used with Bonsai... This is a somewhat cheap DAQ system, that has already examples and code to run on c# https://labjack.com/support/software/examples/ljm/net Is anyone using such a device? before I go all in into writing code, etc?
    Kolah
    @Koalachubb_twitter
    Hi
    may i know is there any way to do fft analysis on an audio source in bonsai?
    @glopesdev its okay. its just that whenever there is an error in my workflow, it crashes instead of showing an error message. :(
    glopesdev
    @glopesdev
    @Koalachubb_twitter that is strange, does that happen with any error?
    for fft analysis you can use DiscreteFourierTransform , look for the VoicePaint example in the Gallery
    Kolah
    @Koalachubb_twitter
    @glopesdev unfortunately yes. rarely it sends an error message and just crashes most of the time when there is error
    so i have to be very careful to save every single time i add a node
    thanks ill try that!
    glopesdev
    @glopesdev

    so i have to be very careful to save every single time i add a node

    just adding a node in the editor can make it crash? that is really surprising. let me know if you find out any pattern, I am intrigued. which operating system are you running it on?

    Kolah
    @Koalachubb_twitter
    @glopesdev not necessarily every node. but i just save just in case. :v
    Im currently using Windows 10
    But recently i realized it hasnt been crashing as much. Maybe because i have put the Bonsai folder in the 'ignore' section of windows security.
    Kolah
    @Koalachubb_twitter
    i have another question. i don't know whether its just my mistake or the new version doesn't draw a centroid line like it used to in the older version?
    glopesdev
    @glopesdev
    @Koalachubb_twitter hmm, not sure what the issue might be, what node are you trying to visualize?
    @/all we're moving the gitter chat over to Discord, so feel free to join us there: https://discord.gg/K8jUKH7