Skip to content

Commit

Permalink
upgrade pyre version in fbcode/vision - batch 1
Browse files Browse the repository at this point in the history
Differential Revision: D38448100

fbshipit-source-id: 5b21184b1bce43779070604de41b904123baf393
  • Loading branch information
Pyre Bot Jr authored and facebook-github-bot committed Aug 5, 2022
1 parent 70f762b commit 5aeb252
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def decorate_predictor_output_class_with_confidences(BasePredictorOutput: type)

PredictorOutput = make_dataclass(
BasePredictorOutput.__name__ + "WithConfidences",
fields=[ # pyre-ignore[6]
fields=[
("sigma_1", Optional[torch.Tensor], None),
("sigma_2", Optional[torch.Tensor], None),
("kappa_u", Optional[torch.Tensor], None),
Expand Down
2 changes: 1 addition & 1 deletion projects/DensePose/densepose/structures/cse_confidence.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def decorate_cse_predictor_output_class_with_confidences(BasePredictorOutput: ty

PredictorOutput = make_dataclass(
BasePredictorOutput.__name__ + "WithConfidences",
fields=[ # pyre-ignore[6]
fields=[
("coarse_segm_confidence", Optional[torch.Tensor], None),
],
bases=(BasePredictorOutput,),
Expand Down

0 comments on commit 5aeb252

Please sign in to comment.