File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
projects/implicitron_trainer/impl Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -121,7 +121,6 @@ def __call__(
121
121
"""
122
122
# Get the parameters to optimize
123
123
if hasattr (model , "_get_param_groups" ): # use the model function
124
- # pyre-ignore[29]
125
124
p_groups = model ._get_param_groups (self .lr , wd = self .weight_decay )
126
125
else :
127
126
p_groups = [
Original file line number Diff line number Diff line change @@ -110,6 +110,8 @@ class ImplicitronTrainingLoop(TrainingLoopBase):
110
110
def __post_init__ (self ):
111
111
run_auto_creation (self )
112
112
113
+ # pyre-fixme[14]: `run` overrides method defined in `TrainingLoopBase`
114
+ # inconsistently.
113
115
def run (
114
116
self ,
115
117
* ,
@@ -391,7 +393,6 @@ def _training_or_validation_epoch(
391
393
):
392
394
prefix = f"e{ stats .epoch } _it{ stats .it [trainmode ]} "
393
395
if hasattr (model , "visualize" ):
394
- # pyre-ignore [29]
395
396
model .visualize (
396
397
viz ,
397
398
visdom_env_imgs ,
You can’t perform that action at this time.
0 commit comments