-
Notifications
You must be signed in to change notification settings - Fork 4
Description
Hey together,
I've been trying to get a trained model running on downstream tasks, but at the moment, I fail to "translate" my problem to the generative-graphik data format.
When looking at your code, you always create data by using a robot's FK. There is an experiment called "experiment_infeasible poses" and indeed, you seem to use a method called generate_data_point_from_pose in this test, but this method is missing in the dataset_generation file in this repository. Could you please help me out with creating "problem data" from poses?
Also, what would be your recommended way of deploying a model anyways? My approach atm would be as follows:
- I start with a tensor
T0of shape B x N X 4 x 4 that describes the "home poses" of B robots with N joints each - I define my problem as a tensor
Gof shape B X M X 4 X 4, that, for every robot in my mini-batch, defines M goal poses that I want to solve the IK for - I didn't find a way to parallelize, so in a for loop, I am first creating a
RobotRevolutefrom the T0, then, in a second loop, I create aProblemGraphRevolutefor every robot - Here's where I'm stuck --> how do I create a Data object for every problem?
- What I would do next is call
model.eval_forward()and then (again, in a for loop) translate the distances to joint angles
Overall, I tried following your experiment setups here, but possible I missed some way of parallelizing. If that's the case (i.e., if I can efficiently do multiple robots and/or multiple goals in one batch without looping) I'd appreaciate if you'd give me a pointer.
Of course, once I have something up and running, I'd be happy to provide my code here if it's of any use