pplonski / keras2cpp

This is a bunch of code to port Keras neural network model into pure C++.
MIT License
679 stars 153 forks source link

When the top layer must be excluded in Keras... #35

Open sigmoidx opened 6 years ago

sigmoidx commented 6 years ago

Hello?

Thanks for nice upload and I have a question about this situation.

In Keras code,


VGG16(weights='imagenet',
          include_top=False,
          input_shape=(224, 224, 3))

In this case the top layer is excluded and there also is an external weight for it. I wonder this will work without any issue.

Thanks,