EthanZyh commited on
Commit
ae67897
·
1 Parent(s): 84490df

not checking detectron2

Browse files
Files changed (1) hide show
  1. lazy.py +1 -1
lazy.py CHANGED
@@ -78,7 +78,7 @@ class LazyCall:
78
 
79
  Examples:
80
  ::
81
- from detectron2.config import instantiate, LazyCall
82
 
83
  layer_cfg = LazyCall(nn.Conv2d)(in_channels=32, out_channels=32)
84
  layer_cfg.out_channels = 64 # can edit it afterwards
 
78
 
79
  Examples:
80
  ::
81
+ # prevent huggingface from checking detectron2: from detectron2.config import instantiate, LazyCall
82
 
83
  layer_cfg = LazyCall(nn.Conv2d)(in_channels=32, out_channels=32)
84
  layer_cfg.out_channels = 64 # can edit it afterwards