ShayanPersonal/Kaggle-Passenger-Screening-Challenge-Solution

why 661 instead of 660

Closed this issue · 2 comments

hi @ShayanPersonal
why expand width by 1 pixel , change load image width from 660 to 661

Hi Connor,
It's because of a bug in the torchsample library. In the aps files the participant's feet touch the edge of the scan. If you rotate with torchsample without padding it causes a weird smearing effect where the feet are (lines 108 through 112 in main.py). So when I load in the files I add a line of padding under the feet so that the smearing doesn't occur (line 278).

@ShayanPersonal
thanks for your explanation