Question
I tried to replicate the example " Transfer Learning Using AlexNet " with GoogleNet, but i don't understand how to modify the last 3 layers in order to retrain the pretrained network. Maybe, has someone modify properly this example to work with googlenet? I also found this link but doesn't exist now. (i'm working with Matlab 2018b)
Expert Answer
John Michell
PhD Expert
Answered Aug 12, 2026
You can use this example: Train Deep Learning Network to Classify New Images
The same code actually works with all the pretrained networks - just change the network that you load at the beginning of the example.
100% Run Guarantee
3-Hour Fast-Track Delivery
Need a Custom Version or Complete Simulation for This Problem?
Our 500+ PhD engineers build, debug, and optimize working MATLAB scripts and Simulink (.slx) models tailored to your exact assignment rubrics with zero plagiarism.
Tested on MATLAB R2024b / R2026a
Turnitin 0% Plagiarism Report
Free 7-Day Revisions Guarantee
Have a different question? Ask here
Related deep learning Questions & Solutions
Browse All →
Explore similar technical troubleshooting questions and verified MATLAB solutions:
Ready-to-Run MATLAB & Simulink Projects
Browse All Projects →