> For the complete documentation index, see [llms.txt](https://blog.cweihang.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://blog.cweihang.io/ml/trick.md).

# 技巧

## 反卷积的棋盘格效应

使用反卷积时，由于卷积区域的overlap，会形成棋盘格效应，在kernel size不能被stride整除时尤为明显，比较好的替代方案是upsample+conv
