# Eddie's Learning Record 38

By [Eddie's Learning Records](https://paragraph.com/@eddiehe) · 2023-03-29

---

1\. Duration
============

Tuesday, March 13th, 2023 - Sunday, March 19th, 2023

* * *

2\. Learning Records
====================

2.1 Applying Multithreading
---------------------------

Applied multithreading on the overall analysis. ME analysis and MaE analysis are processed on two threads separately.

Applied multithreading on ME analysis.

2.2 Refactoring
---------------

Refactored the spotting and evaluating as a function, which made the notebook more concise.

2.3 Words Processing
--------------------

Kept writing the patent paper. Added formulas, sketch images, and the reason why Swin Transformer, Shifted Patch Tokenisation and Locality Self-Attention work fine.

Nevertheless, paperwork is some kind of worth as I found a redundant softmax layer was applied to the model when I was writing the patent demonstration.

2.4 Fixing
----------

Deleted the redundant softmax layer.

2.5 Featuring
-------------

Updated the pytorch to version 2.0 and tried `torch.compile`. Unfortunately, it failed. Maybe the reason is that my model is running in eager mode.

* * *

3\. Feeling
===========

Exhausted and Tired
-------------------

It seemed that I was not recovered mentally and physically from the hiking last weekend.

---

*Originally published on [Eddie's Learning Records](https://paragraph.com/@eddiehe/eddies-learning-record-38)*
