Eddie's Learning Record 36

1. Duration

Monday, February 27th, 2023 - Saturday, March 4th, 2023


2. Learning Records

2.1 Re-cropping

It could be concluded that I fixed the cropping problem or I added a new cropping feature. The height of the ROI returned by cv2 is slightly longer than the weight. Therefore, I added half of the height to the weight and I could get a square bounding box.

Then, the cropped square image is fed to the pre-processing. Suprisingly, the landmarks could be detected on every image, which means the detection index shift that I spent a lot of time and effort before is useless now. It was a good news or a bad news somehow.

The new cropping function is applied to both CAS(ME)^2 and SAMM Long Videos dataset.

2.2 Building

Built the training and test function for CAS_Test and SAMM_Test dataset that are used in the MEGC2022.

Built a function to store the normalize, augment and .pkl files loading function.

Built training and test .ipynb files for the MEGC2022.

2.3 Extraction and Pre-processing

Thanks to the new cropping function the extraction and pre-process were running smoothly.

2.4 Refactoring

Let hyperparameters set at the beginning of every .ipynb file. Now I could just set the hyperparameters and then click "Run All" and I could get the prediction.

2.5 Paper Writing

Wrote the part of describing the Locality Self-Attention and Swin Transformer.


3. Feelings

3.1 Confused, Perplexed and Anxious

Every macro-expression spotting experiments cost more than three days. What else could I do during the training period?

Eddie's Learning Records logo
Subscribe to Eddie's Learning Records and never miss a post.
  • Loading comments...