Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Mar 25, 2024
1 parent 294b529 commit 18ba8b4
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,9 @@ def run_inference(
rgb, depth, camera_data = load_observation_example(example_dir, load_depth=True)
# TODO: cosypose forward does not work if depth is loaded detection
# contrary to megapose
observation = ObservationTensor.from_numpy(rgb, depth=None, K=camera_data.K).to(device)
observation = ObservationTensor.from_numpy(rgb, depth=None, K=camera_data.K).to(
device
)

# Load models
pose_estimator = setup_pose_estimator(args.dataset, object_dataset)
Expand Down

0 comments on commit 18ba8b4

Please sign in to comment.