Hi,
Deprecation is not an error, it is warning that says a function has been changed in newer builds that you need to change your code according to the new pattern.
This error says that input data is on CUDA but model is on CPU. If you want to get the model’s architecture, just use print(model). Then change or extract the layer you want.
The reason is that .features does not exist is that model does not have any layer called features.
It would be great to read the documentations, there is a lot of elaborate examples and explanation about almost everything. Here is the one for transfer learning 14.
Bests