in the mmdet/ops/gcb/ContextBlock line 28 self.planes = int(inplanes * ratio) this * Should change it to // ?