Comments (5)
For code here:
hand_pose_axisang_adapt_np = np.asarray(test_sample[CIAdaptQueries.HAND_POSE])
hand_pose_axisang_np = np.asarray(test_sample[CIDumpedQueries.HAND_POSE])
hand_pose_axisang_adapt_np
is the pose from the dataset's annotation (name coming from CIAdaptQueries
which stands for an adaptor of the hodataset
);
hand_pose_axisang_np
is the pose from the dump results.
from cpf.
Can I get hand_joints_adapt_np
by using hand_pose_axisang_adapt_np
? When I run demo, I found they are not the same.I have take global trans into consideration.
from cpf.
One more question! I would like to know what's the meaning of b_axis = (transf[:, 1:, :3, :3].transpose(2, 3) @ b_axis.unsqueeze(-1)).squeeze(-1)
in axislayer.py
. I know the meaning of b_axis = hand_joints[:, self.joints_mapping] - hand_joints[:, [i + 1 for i in self.joints_mapping]]
is the relative jts vector in mano order.
from cpf.
Can I get hand_joints_adapt_np by using hand_pose_axisang_adapt_np? When I run demo, I found they are not the same.I have take global trans into consideration.
It depends on the dataset. hand_joints_adapt_np
and hand_pose_axisang_adapt_np
are annotations from dataset. However, different datasets might use different joint locations. You might need to try ManoAdaptor
to see whether you can get the annotated joints.
One more question! I would like to know what's the meaning of b_axis = (transf[:, 1:, :3, :3].transpose(2, 3) @ b_axis.unsqueeze(-1)).squeeze(-1) in axislayer.py. I know the meaning of b_axis = hand_joints[:, self.joints_mapping] - hand_joints[:, [i + 1 for i in self.joints_mapping]] is the relative jts vector in mano order.
The mano pose is in its local frame, so it needs to be transformed to get the axis in global frame.
from cpf.
I almost understand. But there is still a question. We know that the mano skeleton goes like J'=R0*R1*...*Rp(J-Jp)+Jp'
, where p
mean the closest parent. So I don't understand what's the meaning of RpT*(J'-Jp')
, where T means transpose. I think there must be something wrong about my understanding. Thanks a lot!
from cpf.
Related Issues (10)
- Expected code date ? HOT 4
- Some questions about PiQR code HOT 1
- Error when executing command "conda env create -f environment.yaml" HOT 1
- How to use CPF on both hands? HOT 3
- AttributeError: 'ParsedRequirement' object has no attribute 'req' HOT 3
- FileNotFoundError: [Errno 2] No such file or directory: 'assets/mano/MANO_RIGHT.pkl' HOT 3
- 能否将相关资源上传到百度网盘上一份 HOT 3
- Error when execute the run_dome.py HOT 2
- Augmented Data Available? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cpf.