heuritech / convnets-keras

MIT License
594 stars 185 forks source link

Define AlexNet as sequential model #27

Open 0xDCA opened 7 years ago

0xDCA commented 7 years ago

Hello,

I am trying to remove the last two layers of AlexNet and add some custom layers instead, but I am unable to do that because it's not an instance of Sequential(). Is there any reason for this?

Would it be possible to define AlexNet as Sequential()? Or, in case it's not, is there anyway I can replace these layers with custom ones? (Note that I want to replace these layers, not just add new ones).

Thanks