MousaviSajad / SleepEEGNet

SleepEEGNet: Automated Sleep Stage Scoring with Sequence to Sequence Deep Learning Approach
207 stars 73 forks source link

Python 2.x EOL #14

Open Joeli-usp opened 4 years ago

Joeli-usp commented 4 years ago

Dear Sir, I'm a final year student doing project on the same field of study. Since python 2.7 has reached the end of life on 1st Jan 2020, there are some warning about installing py 2.7 libraries showing you are using the depreciation version of python. How can I get the same result running the source code you provided?

MousaviSajad commented 4 years ago

Hi, unfortunately, you have to install all dependencies as they are. if you have to install Python 3.x, you need to make some changes to the code to be compatible with Python 3.x.

Joeli-usp commented 4 years ago

Installing the requirements and libraries for py 2.7, we encounter the following error.... Screenshot from 2020-09-30 19-59-28

MousaviSajad commented 4 years ago

Hi, It seems the error is related to mne library. Try to reinstall mne:

pip install mne

On Wed, Sep 30, 2020 at 4:03 AM Joeli-usp notifications@github.com wrote:

Installing the requirements and libraries for py 2.7, we encounter the following error.... [image: Screenshot from 2020-09-30 19-59-28] https://user-images.githubusercontent.com/66099672/94659186-02911500-0358-11eb-90c7-fd6aef1b050c.png

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/MousaviSajad/SleepEEGNet/issues/14#issuecomment-701231804, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD4D7SNFZUCHW5QW4YIXFPLSILQ6TANCNFSM4RWK37WA .

Joeli-usp commented 4 years ago

Screenshot from 2020-10-01 14-31-21 Screenshot from 2020-10-01 14-32-17 Now issue with seq2seq_sleep_sleep-EDF.