# Transfer Learning Problems

**URL:** <https://community.deeplearning.ai/t/transfer-learning-problems/321752>\
**Category:** Convolutional Neural Networks\
**Tags:** coursera-platform\
**Created:** [May 2, 2023, 6:36am UTC](https://community.deeplearning.ai/t/transfer-learning-problems/321752 "2023-05-02T06:36:11Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chiang\_Yuhan](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/chiang_yuhan/32/165954_2.png) [@Chiang\_Yuhan](https://community.deeplearning.ai/u/Chiang_Yuhan)\
**Post date:** [May 2, 2023, 6:36am UTC](https://community.deeplearning.ai/t/transfer-learning-problems/321752/1 "2023-05-02T06:36:11Z")

</div>

Hello!

I’m starting my own project with transfer learning. I used the course material as my project’s skeleton but I have encountered this phenomenon:

When I run the same code on my computer, the accuracy of my fine-tuned network (it’s the same as the assignment), the accuracy plummeted and became so much worse before fine-tuning.

Also I have found that I have one less layer (156)compared to the assignment (157). But the final layer is almost the same, which is : global\_average\_pooling2d\_13 and predictions. Compared to the assignment, which is: global\_average\_pooling2d\_7 and predictions

I do not have a GPU currently, could this be the issue? Or could there be another cause for this issue?

---

<div class="post-metadata">

**Author:** ![gent.spah](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/gent.spah/32/136423_2.png) [@gent.spah](https://community.deeplearning.ai/u/gent.spah)\
**Post date:** [May 2, 2023, 7:19am UTC](https://community.deeplearning.ai/t/transfer-learning-problems/321752/2 "2023-05-02T07:19:40Z")

</div>

Normally, at the start of fine tuning the accuracy will worsen because it will take sometime for the model to learn about the new data. A GPU can accelerate the learning phase but even with CPU if given enough time it will improve its performance.

---

<div class="post-metadata">

**Author:** ![Chiang\_Yuhan](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/chiang_yuhan/32/165954_2.png) [@Chiang\_Yuhan](https://community.deeplearning.ai/u/Chiang_Yuhan)\
**Post date:** [May 2, 2023, 1:38pm UTC](https://community.deeplearning.ai/t/transfer-learning-problems/321752/3 "2023-05-02T13:38:02Z")

</div>

Please, share your knowledge about this topic more! Sadly the fine-tuned accuracy was 45%, which is much less than 78% before fine tuning. I have not a lot of data to run, so I did my best.

---

<div class="post-metadata">

**Author:** ![gent.spah](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/gent.spah/32/136423_2.png) [@gent.spah](https://community.deeplearning.ai/u/gent.spah)\
**Post date:** [May 2, 2023, 1:49pm UTC](https://community.deeplearning.ai/t/transfer-learning-problems/321752/4 "2023-05-02T13:49:55Z")

</div>

I dont have anything more to say, if everything is built as supposed just train longer and you will improve performa ce. When I say train long i mean on the same images train for longer time.

---

<div class="post-metadata">

**Author:** ![Chiang\_Yuhan](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/chiang_yuhan/32/165954_2.png) [@Chiang\_Yuhan](https://community.deeplearning.ai/u/Chiang_Yuhan)\
**Post date:** [May 3, 2023, 2:58am UTC](https://community.deeplearning.ai/t/transfer-learning-problems/321752/5 "2023-05-03T02:58:52Z")

</div>

![截圖 2023-05-03 10.57.51](https://global.discourse-cdn.com/dlai/original/3X/b/c/bc2ff6eb0754b243e7ff2387530b5865d05155fd.jpeg)  
This is the problem that I’ve encountered. It still seems very weird, I have trained it through 6 more epochs yet the drop of accuracy is significant…
