Skip to content

Commit f74fc45

Browse files
generatedunixname89002005307016facebook-github-bot
generatedunixname89002005307016
authored andcommitted
suppress errors in vision/fair/pytorch3d
Differential Revision: D51645956 fbshipit-source-id: 1ae7279efa0a27bb9bc5255527bafebb84fdafd0
1 parent 3b4f8a4 commit f74fc45

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

projects/implicitron_trainer/impl/optimizer_factory.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,6 @@ def __call__(
121121
"""
122122
# Get the parameters to optimize
123123
if hasattr(model, "_get_param_groups"): # use the model function
124-
# pyre-ignore[29]
125124
p_groups = model._get_param_groups(self.lr, wd=self.weight_decay)
126125
else:
127126
p_groups = [

projects/implicitron_trainer/impl/training_loop.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,8 @@ class ImplicitronTrainingLoop(TrainingLoopBase):
110110
def __post_init__(self):
111111
run_auto_creation(self)
112112

113+
# pyre-fixme[14]: `run` overrides method defined in `TrainingLoopBase`
114+
# inconsistently.
113115
def run(
114116
self,
115117
*,
@@ -391,7 +393,6 @@ def _training_or_validation_epoch(
391393
):
392394
prefix = f"e{stats.epoch}_it{stats.it[trainmode]}"
393395
if hasattr(model, "visualize"):
394-
# pyre-ignore [29]
395396
model.visualize(
396397
viz,
397398
visdom_env_imgs,

0 commit comments

Comments
 (0)