bblais / plasticity

Synaptic Modification Simulation Environment
MIT License
5 stars 3 forks source link

Splashscreen from wx is problematic #1

Open MRIO opened 5 years ago

MRIO commented 5 years ago

Hi Blais, I was trying to install your widget, but there are failures while importing the wx module. I've read a bit and saw that now Splashscreen must be imported from wx.adv

I've tried to modify plasticity/run.py but i still get

File "/usr/local/lib/python2.7/site-packages/plasticity/run.py", line 10, in <module> from wx import SplashScreen, SPLASH_CENTRE_ON_SCREEN, SPLASH_TIMEOUT ImportError: cannot import name SplashScreen

Any ideas?

bblais commented 5 years ago

I’m sorry about this. What has happened is both python and wxPython have moved so much since I wrote it, that it’s going to take a lot more work to get this working again. I hope to get to it sometime by the end of the semester, but right now I can’t offer much of a solution. Most of what I do now doesn’t use a GUI but uses Jupyter notebooks. For neural simulations I use my package Plasticnet (https://github.com/bblais/Plasticnet) which helps combine both rate-based and spike-based models.

Is there a particular project that you’re working on?

MRIO commented 5 years ago

That’s not to worry, I know how these things go. The project is actually teaching. This year i put together a minor degree here in Rotterdam and i’m teaching Hebbian learning. A nice visual demo of homeostatic plasticity was what i was looking for, and yours seemed like a perfect fit (binocular rivalry, if i remember correctly?). I’ll have a look into plasticnet. Do you have some nice and visual project you would recommend? On 29 Aug 2019, 17:21 +0200, Brian Blais notifications@github.com, wrote:

I’m sorry about this. What has happened is both python and wxPython have moved so much since I wrote it, that it’s going to take a lot more work to get this working again. I hope to get to it sometime by the end of the semester, but right now I can’t offer much of a solution. Most of what I do now doesn’t use a GUI but uses Jupyter notebooks. For neural simulations I use my package Plasticnet (https://github.com/bblais/Plasticnet) which helps combine both rate-based and spike-based models. Is there a particular project that you’re working on? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

MRIO commented 5 years ago

So, what i want to get across to students is precisely how lateral connectivity and incoming correlations can explain the emergence of connectivity schemes. I'm also using notebooks these days to teach computational neuroscience (in google colab). Do you have any of your notebooks you would recommend?

bblais commented 4 years ago

You're like the third person this week to mention colab, which I hadn't checked out. I did just now, and it's impressive! Unfortunately, looks like it would be some work to get Plasticnet compiled there - it's a bunch of cython stuff, which usually requires specific tailoring to the platform. I'm not familiar right now with what it will take to get it to work. Also, I haven't really done any work on plasticity in inhibitory channels -- other than some basic exploration. Are there particular papers you're covering? Any particular concepts?

I think I do have some simulation files for feedforward plasticity which doesn't depend on cython, but I'll have to dig them up (they use numba for optimization). I wrote them when I couldn't get cython working in windows. :-)

MRIO commented 4 years ago

This year is mostly behind me now, but for the upcoming year I was thinking about putting together a ‘generalized hebbian learning’ project, where students would be guided to have the insights that would take them from raw Hebb to BCM. Some widget that shows the fixed points of the BCM the learning rule would be nice =] I would also like to show the dynamics of pattern selection, akin to your simulation. The on-the-fly emergence of receptive fields delights students and professors alike. =]

No cython, preferably ;D

On 24 Sep 2019, at 22:03, Brian Blais notifications@github.com wrote:

You're like the third person this week to mention colab, which I hadn't checked out. I did just now, and it's impressive! Unfortunately, looks like it would be some work to get Plasticnet compiled there - it's a bunch of cython stuff, which usually requires specific tailoring to the platform. I'm not familiar right now with what it will take to get it to work. Also, I haven't really done any work on plasticity in inhibitory channels -- other than some basic exploration. Are there particular papers you're covering? Any particular concepts?

I think I do have some simulation files for feedforward plasticity which doesn't depend on cython, but I'll have to dig them up (they use numba for optimization). I wrote them when I couldn't get cython working in windows. :-)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/bblais/plasticity/issues/1?email_source=notifications&email_token=AB5EGFFWXVARRUB45DW24UTQLJXALA5CNFSM4ILS7VXKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7PUCPI#issuecomment-534724925, or mute the thread https://github.com/notifications/unsubscribe-auth/AB5EGFBQDMDYYQ2Y33HPG5LQLJXALANCNFSM4ILS7VXA.

bblais commented 4 years ago

Please email me directly (bblais@gmail.com) and I'll send you a possible script that may work for you. Then you can tell me if there is something specific that you'd like to see. Sound ok?

MRIO commented 4 years ago

Hi Brian, Too kind from you! When you send it to me, I’ll look into it and report back =] Cheers and thank you, M.

On 15 Oct 2019, at 17:59, Brian Blais notifications@github.com wrote:

Please email me directly (bblais@gmail.com mailto:bblais@gmail.com) and I'll send you a possible script that may work for you. Then you can tell me if there is something specific that you'd like to see. Sound ok?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/bblais/plasticity/issues/1?email_source=notifications&email_token=AB5EGFCOT272KUZVRFDYJRDQOXSGVA5CNFSM4ILS7VXKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBJJZDQ#issuecomment-542284942, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB5EGFCC6I25XIU27OQV7VLQOXSGVANCNFSM4ILS7VXA.

bblais commented 4 years ago

I can't attach files, etc... to this comment chain in github, so you'll need to email me from yourself directly to bblais@gmail.com for me to get the scripts to you. looking forward to hearing from you.