Ask Your Question
3

Is it possible to modify the input shape of a pre-existing Tensorflow model?

asked 2022-01-07 11:00:00 +0000

woof gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2021-04-11 00:00:00 +0000

devzero gravatar image

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.

edit flag offensive delete link more

Your Answer

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

Add Answer


Question Tools

Stats

Asked: 2022-01-07 11:00:00 +0000

Seen: 25 times

Last updated: Apr 11 '21