T04: Transfer Learning
Transfer learning is a machine learning technique where a model that is trained with a large dataset is applied to an unknown dataset.
Benefits:
- Significantly reduce the time and resources needed to develop and train a new model from scratch.
- Transfer learning can lead to better performance when the model is applied to the new task, especially when the available data for the new task is limited. It also helps in preventing overfitting and can speed up the training process.
- In Transfer learning we need to change the last output layer to match to output classes of new problem dataset.
- Pre-Trained model will be freeze and only the last output layer will be trained with new dataset and ensure the already existing model will not be modified with new data.
Code:
Cat and dog Dataset example :
Exercise :
References:
Comments
Post a Comment