align_corners 的意義

上採樣層 (upsample layer),是語義分割等密集輸出 (dense prediction) 任務的必備組件。一般默認選擇雙線性插值 (bilinear) 或者最近鄰 (nearest) 的方式。這兩種方式在 pytorch 的 interpolate 函數中均有實現。關於它們如何實現,已有好多博客解讀。但是 bilinear 情況下,會伴隨一個選項 align_corners,默認爲
相關文章
相關標籤/搜索