Git Product home page Git Product logo

Comments (3)

Sumayya55 avatar Sumayya55 commented on May 28, 2024

Hi there,
Probably your issue isn't batch-related. I wonder what trials_0.err contains?

Things to try:

  • Make sure to set showFig=True in cfg.py
    cfg.analysis['iplotRaster'] = {'include': pops, 'showFig': True, 'popColors': popColors, 'markerSize': 6, 'orderInverse': True, 'saveFig': True}

  • You can also try changing matplotlib's background type if other solutions fail:
    Check (__ init __.py) inside netpyne's folder and look for 'Agg', replace it with some other type such as 'TkAgg'; see if that solves your problem.

  • Add import pylab; pylab.show() inside your init.py of hnn-netpyne (often unnecessary).

from hnn.

Moham-Amin avatar Moham-Amin commented on May 28, 2024

Hi there,
Probably your issue isn't batch-related. I wonder what trials_0.err contains?

Thank you for your help @Sumayya55

Contents of trial_0.err:
trials

In cfg.py for the neocortex model example, I found the code you're referencing between triple quotations like so. I tried removing them.
cfg

I also added import pylab; pylab.show() to the same model's init.py file, and changed 'Agg' to 'TkAgg' in netpynes init.py

Now, when running python -i init.py (hnn-netpyne's init.py) directly, I get the plots, which is progress! But when running python -i plot_simulate_alpha.py, I get stuck at the same spot here, with the same trials_0.err file and no plots:
finished submitting jobs

from hnn.

salvadord avatar salvadord commented on May 28, 2024

Based on the .err output the issue seems to come from " file" not defined. However, I am unable to reproduce on my Mac OS, so this might be a Windows-specific error. If you can find any more information about the error, that would be helpful. Otherwise, we will try to reproduce the error on a Windows machine and get back to you.

from hnn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.