In this paper, we propose a dual-attention guided dropblock module, and target at learning the complementary and discriminative visual patterns for weakly supervised object localization (WSOL). We extend the attention mechanism in the task of WSOL, and carefully design two types of attention modules to capture the informative features for better feature representations. Based on two types of attention mechanism, we propose a channel attention guided dropout (CAGD) and a spatial attention guided dropblock (SAGD). The CAGD ranks channel attention according to a measure of importance and treat the top-k largest magnitude attentions as important ones. The SAGD can not only completely remove the information by erasing the contiguous regions of feature maps rather than individual pixels, but also simply sense the foreground objects and background regions to alleviate the attention misdirection. Extensive experiments demonstrate that the proposed method achieves new state-of-the-art localization accuracy on three challenging datasets.