AutoSleepScorer icon indicating copy to clipboard operation
AutoSleepScorer copied to clipboard

ValueError

Open gsamyak30 opened this issue 2 years ago • 3 comments

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 !!

gsamyak30 avatar Mar 06 '22 04:03 gsamyak30

Have you installed the correct versions?

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

skjerns avatar Mar 06 '22 10:03 skjerns

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!!

gsamyak30 avatar Mar 06 '22 12:03 gsamyak30

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

skjerns avatar Mar 06 '22 17:03 skjerns