I have trained an image regression model using EfficientNetB5.
I wanted to extract the weights from it’s previous layers because i want to use those weights to further train a boosting model.
Previously I used Densenet and I was able to extract it’s weights using indexing and using forward hooks.
Now since EfficientNet models doesn’t support indexing.
Is their any way to extract the weights from the previous layers?
Any help would be really appreciated