Giter VIP home page Giter VIP logo

Comments (5)

SMorettini avatar SMorettini commented on May 31, 2024

It seems that OutputPathModels is containing the wrong path. Can you print it in line 214 of CNN.py to see its content?

from cnns-on-chb-mit.

Femotop avatar Femotop commented on May 31, 2024

I have the same problem
should I put the path of the dataset in the (OutputPathModels)??

from cnns-on-chb-mit.

SMorettini avatar SMorettini commented on May 31, 2024

Hello, did you read the README at https://github.com/SMorettini/CNNs-on-CHB-MIT/blob/62d68f99c997d751117563bcce2f1728847bf1ef/README.md?plain=1#LL38C40-L38C40 ?

from cnns-on-chb-mit.

HireTheHero avatar HireTheHero commented on May 31, 2024

The cause of this issue in my case is ordering of the lines below in CNN.py;

    if not os.path.exists(OutputPathModels):
        os.makedirs(OutputPathModels)
    loadParametersFromFile("PARAMETERS_CNN.txt")

Since initial value for OutputPathModels is "", executing os.makedirs(OutputPathModels) before calling loadParametersFromFile would most likely result in NotFound error.

If it's ok for you, I can make a small PR for this.

from cnns-on-chb-mit.

SMorettini avatar SMorettini commented on May 31, 2024

Thank you for the pull request. I just accepted it and merged it. So I close this issue.

from cnns-on-chb-mit.

Related Issues (15)

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.