You're performing transfer learning for vehicle make-and-model classification using a pretrained model trained on general images. You have a large labeled dataset of vehicle images. How should you initialize the model before retraining on your vehicle dataset?
Choose an answer
Tap an option to check your answer.
Correct answer: Initialize all layers with pretrained weights, and replace the final fully connected layer with a new one for your classes..
Why this is the answer
The correct approach for transfer learning with a large, labeled dataset is to initialize all layers with pretrained weights and replace the final fully connected layer. Pretrained models have learned robust features from a large general dataset, which are highly beneficial for feature extraction in your specific task. By keeping these pretrained weights, you leverage this learned knowledge, accelerating training and often improving performance. The final fully connected layer needs to be replaced and reinitialized because it was originally trained for a different classification task (e.g., ImageNet classes) and needs to be adapted to your specific vehicle make-and-model classes. Initializing all layers with random weights would discard the benefits of pretraining. Initializing all layers, including the final one, with pretrained weights would mean the final layer is configured for the original task, not your new one.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed