Skip to content

Commit

Permalink
fix some imports
Browse files Browse the repository at this point in the history
  • Loading branch information
nim65s committed Oct 18, 2023
1 parent 8ddfae8 commit 6bec445
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
from PIL import Image

from happypose.pose_estimators.cosypose.cosypose.config import BOP_TOOLKIT_DIR, MEMORY
from happypose.pose_estimators.cosypose.cosypose.lib3d import Transform
from happypose.pose_estimators.cosypose.cosypose.utils.logging import get_logger
from happypose.toolbox.lib3d.transform import Transform

sys.path.append(str(BOP_TOOLKIT_DIR))
from bop_toolkit_lib import inout # noqa
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import torch

from happypose.pose_estimators.cosypose.cosypose.config import LOCAL_DATA_DIR
from happypose.pose_estimators.cosypose.cosypose.lib3d import invert_T
from happypose.pose_estimators.cosypose.cosypose.lib3d.transform_ops import invert_T

from .augmentations import (
CropResizeToAspectAugmentation,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
from happypose.pose_estimators.cosypose.cosypose.datasets.datasets_cfg import (
make_urdf_dataset,
)
from happypose.pose_estimators.cosypose.cosypose.lib3d import Transform
from happypose.pose_estimators.cosypose.cosypose.simulator.base_scene import BaseScene
from happypose.pose_estimators.cosypose.cosypose.simulator.caching import BodyCache
from happypose.pose_estimators.cosypose.cosypose.simulator.camera import Camera
from happypose.toolbox.lib3d.transform import Transform


class BulletSceneRenderer(BaseScene):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@
from happypose.pose_estimators.cosypose.cosypose.integrated.pose_predictor import (
CoarseRefinePosePredictor,
)
from happypose.pose_estimators.cosypose.cosypose.lib3d import Transform
from happypose.pose_estimators.cosypose.cosypose.lib3d.rigid_mesh_database import (
MeshDataBase,
)
Expand All @@ -68,6 +67,7 @@
init_distributed_mode,
)
from happypose.pose_estimators.cosypose.cosypose.utils.logging import get_logger
from happypose.toolbox.lib3d.transform import Transform

logger = get_logger(__name__)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

import pybullet as pb

from happypose.pose_estimators.cosypose.cosypose.lib3d import Transform, parse_pose_args
from happypose.pose_estimators.cosypose.cosypose.lib3d.transform import parse_pose_args
from happypose.toolbox.lib3d.transform import Transform

from .client import BulletClient

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
import pybullet as pb
import transforms3d

from happypose.pose_estimators.cosypose.cosypose.lib3d import Transform
from happypose.pose_estimators.cosypose.cosypose.lib3d.rotations import euler2quat
from happypose.toolbox.lib3d.transform import Transform


def proj_from_K(K, h, w, near, far):
Expand Down

0 comments on commit 6bec445

Please sign in to comment.