MousaviSajad / SleepEEGNet

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

ImportError: No module named layers.core #10

Closed Irving-ren closed 4 years ago

Irving-ren commented 4 years ago

Hi, MousaviSajad. Thanks for your contribution of code.

Could I ask which version of TensorFlow was using on this project? I got the following error while running this script.

python seq2seq_sleep_sleep-EDF.py --data_dir data_2013/eeg_fpz_cz --output_dir output_2013 --n_folds 20

The error info: File "seq2seq_sleep_sleep-EDF.py", line 17, in from tensorflow.python.layers.core import Dense ImportError: No module named layers.core

Best wishes

MousaviSajad commented 4 years ago

Hi,

I think it was Tensorflow r1.14.

Regards, Sajad

On Wed, Jun 10, 2020 at 4:13 AM Irving-ren notifications@github.com wrote:

Hi, MousaviSajad. Thanks for your contribution of code.

Could I ask which version of TensorFlow was using on this project? I got the following error while running this script.

python seq2seq_sleep_sleep-EDF.py --data_dir data_2013/eeg_fpz_cz --output_dir output_2013 --n_folds 20

The error info: File "seq2seq_sleep_sleep-EDF.py", line 17, in from tensorflow.python.layers.core import Dense ImportError: No module named layers.core

Best wishes

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/MousaviSajad/SleepEEGNet/issues/10, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD4D7SIAAXSVLBB4CJKWX2LRV46CXANCNFSM4N2EOPZQ .

Irving-ren commented 4 years ago

Hello,

Thanks for replying. It turns out that the reason is another envs' problem, which was solved now. I am closing the issue for now.

Best wishes Irving