skjerns / AutoSleepScorer

An open-source sleep stage classification Python package
GNU Affero General Public License v3.0
103 stars 22 forks source link

ValueError #23

Open gsamyak30 opened 2 years ago

gsamyak30 commented 2 years ago

Hi Simon I am just getting an error Value Error:-Found unexpected instance while processing input tensors for keras functional model. Expecting KerasTensor which is from tf.keras.Input() or output from keras layer call(). Got: 0

How to resolve it !!

skjerns commented 2 years ago

Have you installed the correct versions?

'keras==2.0.6', 'tensorflow==1.3.0','h5py==2.7.0'

gsamyak30 commented 2 years ago

ok !! But I have installed the new version than where I should run the code with the old version of keras , tensorflow and h5py!! One more that the dropbox link that you have shared if I just click on that link it shows the files are deleted !! Does it affect the code !! Secondly how will I get the hypnogram so either it will be downloaded or show directly after the successfull execution of code!!

skjerns commented 2 years ago

the links were broken. I fixed them now, try reinstalling. it will output a hypnogram yes.