From 463049d0e7646f47c20e744f7dc60172fecc3a45 Mon Sep 17 00:00:00 2001 From: Linguang Zhang Date: Thu, 5 Sep 2024 12:41:54 -0700 Subject: [PATCH] Back out "removing base_module] fbcode/nimble/opensource/hand_tracking_toolkit/hand_tracking_toolkit/TARGETS" Summary: Original commit changeset: 261cc68c0a0e Original Phabricator Diff: D62122885 We have to do use base_module to make the library usable in both fbcode and OSS. Differential Revision: D62254688 fbshipit-source-id: 39b5f67385f64508099de8f8473db2b0fbebfb02 --- hot3d/clips/clip_util.py | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/hot3d/clips/clip_util.py b/hot3d/clips/clip_util.py index 1008a99..43294b6 100644 --- a/hot3d/clips/clip_util.py +++ b/hot3d/clips/clip_util.py @@ -23,20 +23,14 @@ import trimesh # HT toolkit (https://github.com/facebookresearch/hand_tracking_toolkit) -from nimble.opensource.hand_tracking_toolkit.hand_tracking_toolkit import ( - camera, - math_utils, - visualization, -) -from nimble.opensource.hand_tracking_toolkit.hand_tracking_toolkit.dataset import ( +from hand_tracking_toolkit import camera, math_utils, visualization +from hand_tracking_toolkit.dataset import ( decode_hand_pose, HandShapeCollection, HandSide, ) -from nimble.opensource.hand_tracking_toolkit.hand_tracking_toolkit.hand_models.mano_hand_model import ( - MANOHandModel, -) -from nimble.opensource.hand_tracking_toolkit.hand_tracking_toolkit.hand_models.umetrack_hand_model import ( +from hand_tracking_toolkit.hand_models.mano_hand_model import MANOHandModel +from hand_tracking_toolkit.hand_models.umetrack_hand_model import ( from_json as from_umetrack_hand_model_json, )