this post was submitted on 24 Nov 2023
1 points (100.0% liked)

Machine Learning

1 readers
1 users here now

Community Rules:

founded 11 months ago
MODERATORS
 

I want to build a neural network model for 6 input 6 output and I don't know how to start the training of my network and the no of layers and neurons and optimizer and other options for good training

top 6 comments
sorted by: hot top controversial new old
[–] -YouAreGreat-@alien.top 1 points 10 months ago

what are your 6 inputs?

[–] lfrtsa@alien.top 1 points 10 months ago (1 children)

What are you trying to achieve exactly? If you want to do inverse kinematics it's easier to just write the algorithm by hand, and you only need 3 inputs for the coordinates.

[–] RemarkableBison3261@alien.top 1 points 10 months ago (1 children)

The inputs are x,y,z,roll,pitch,yaw

[–] lfrtsa@alien.top 1 points 10 months ago

Then you just need to do regular inverse kinematics for the position of the hand and discount the angles of the arms when setting the rotation of the hand, there's no need for machine learning at all.

[–] PM_ME_YOUR_BAYES@alien.top 1 points 10 months ago

r/learnmachinelearning

[–] glitch83@alien.top 1 points 10 months ago

I’m guessing inputs are the pose (x y z, rx ry rz) and the outputs are your joints.

Two things: unless you are just trying to solve for the final position, it may be smart to add the initial pose. So if the trajectory matters for purposes of avoiding obstacles then knowing the start position and maybe the obstacles in configuration space could be helpful input to the network. That being said, some sort of sequence model where you encode the goal with an mlp and then a decoder for the trajectory would be cool. Id you just want the final joints then an mlp is fine.

Some people use reinforcement learning in this setting too but I tend to think that’s overkill.

As others have said too: you could always use a traditional algorithm like some variant of RRTs to solve this too as it’s mostly a “done” problem for traditional robotics.