04 2021 档案

摘要:在使用DDP时,同一个BN被调用一次以上,会报错: RuntimeError: one of the variables needed for gradient computation has been modified by an inplace operation 这是因为BN包含了buffer 阅读全文
posted @ 2021-04-21 10:38 Legendongary 阅读(730) 评论(0) 推荐(0)
摘要:为使小页的顶部对齐,必须在小页的开始加入一条高度和深度都为零的 线段,接着用 [t] 选项使得小页的基线为它的顶部。在 \includegraphics 前使用 \vspace{0pt} 加入这条高度 和深度都为零的线段,由于这条线段的基线为小页顶部,所以这时 [t] 选项可使得小页的顶部对齐。如: 阅读全文
posted @ 2021-04-08 15:40 Legendongary 阅读(5699) 评论(1) 推荐(1)