mirror of
https://github.com/facebookresearch/pytorch3d.git
synced 2026-11-01 11:09:59 +08:00
Upgrade packages to Pyrefly R1543.1 (landing group 21)
Summary: This Phabricator Diff was generated from Pyrefly type-checker output by the per-target upgrade tool. It was not generated by an AI coding system. It adds `# pyrefly: ignore[...]` comments for type errors reported by Pyrefly R1543.1 and moves the packages it suppresses errors in to that release in `tools/build_defs/fbcode_macros/build_defs/rollouts/pyrefly_checker_rollout.bzl`, so they switch type checkers in the commit that adds their suppressions. Other packages move when the upgrade changes the default checker. It does not change Python runtime behavior or application logic. Landing group: `bdb7e73cbd6fca8353ff99431d8b6a40936716ac10b7b0a58b24228483b44c15` (attempt 1, 20 batches, 58 files) Merged patch SHA-256: `a375a4a53080edabd61b558387dcaeeb55f663d7df4397b2788e2a4882cbdcc7` Packages moved to R1543.1: 43 #pyreupgrade Differential Revision: D128848668 fbshipit-source-id: 35b22549a397527353520cc10ea50a5ddee58ecf
This commit is contained in:
committed by
meta-codesync[bot]
parent
2d224e6652
commit
e4ad6e5687
@@ -147,13 +147,17 @@ class SingleSceneDatasetMapProviderBase(DatasetMapProviderBase):
|
|||||||
frame_types.extend([DATASET_TYPE_KNOWN] * len(train_split))
|
frame_types.extend([DATASET_TYPE_KNOWN] * len(train_split))
|
||||||
|
|
||||||
return SingleSceneDataset(
|
return SingleSceneDataset(
|
||||||
|
# pyrefly: ignore [unexpected-keyword]
|
||||||
object_name=self.object_name,
|
object_name=self.object_name,
|
||||||
# pyre-ignore[16]
|
# pyre-ignore[16]
|
||||||
images=self.images[split],
|
images=self.images[split],
|
||||||
|
# pyrefly: ignore [unexpected-keyword]
|
||||||
fg_probabilities=fg_probabilities,
|
fg_probabilities=fg_probabilities,
|
||||||
# pyre-ignore[16]
|
# pyre-ignore[16]
|
||||||
poses=[self.poses[i] for i in split],
|
poses=[self.poses[i] for i in split],
|
||||||
|
# pyrefly: ignore [unexpected-keyword]
|
||||||
frame_types=frame_types,
|
frame_types=frame_types,
|
||||||
|
# pyrefly: ignore [unexpected-keyword]
|
||||||
eval_batches=eval_batches if set_eval_batches else None,
|
eval_batches=eval_batches if set_eval_batches else None,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user