Yes, it is possible to modify the input shape of a pre-existing Tensorflow model, but this may require making changes to the model's architecture and retraining the model with the new input shape.
For example, if the input shape of a pre-existing image classification model is 224x224 pixels but you want to use images that are 128x128 pixels, you may need to modify the first layer of the model to accept the new input shape and retrain the model with the new data.
Alternatively, you can use techniques like transfer learning to modify the pre-existing model for your specific input shape requirements. Transfer learning involves using an existing pre-trained model as a starting point and fine-tuning the model for a specific task or input shape.
Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss
Asked: 2022-01-07 11:00:00 +0000
Seen: 25 times
Last updated: Apr 11 '21