baccuslab / deep-retina

deep-retina is a project to build a convolutional neural network that can predict retinal ganglion cell responses to natural stimuli with high accuracy.
50 stars 17 forks source link

Cannot import name convnet, sequential #14

Open mbeyeler opened 6 years ago

mbeyeler commented 6 years ago

I'm trying to run your runme.py script, but it breaks on importing convnet and sequential from deepretina.model.

Should it be nips_cnn instead of convnet, or is that something different that has since been removed? Also, are you referring to Keras' standard Sequential instead of sequential, or did you make some adjustments there?

Thanks, Michael

tillhartmann commented 6 years ago

Hi Michael, Both sequential and convnet were located in deep-retina/deepretina/models.py. They are not in the current master branch, removed June 2017 I think. You will have to check out an older version, e.g. go back to commit f5a9fee : https://github.com/baccuslab/deep-retina/blob/f5a9fee5cc46c493dfd9559ec724a125b27ac008/deepretina/models.py Best, Till