skumra / robotic-grasping

Antipodal Robotic Grasping using GR-ConvNet. IROS 2020.
Other
456 stars 119 forks source link

Question about the abstract class GraspModel #29

Open ghost opened 3 years ago

ghost commented 3 years ago

pos_pred, cos_pred, sin_pred, width_pred = self(xc)

I am a python new guy Why this code which is in the abstract class GraspModel could call the method forward in the subclass GenerativeResnet

skumra commented 3 years ago

Yeah, probably not the best implementation. Please feel free to open a pull request to refactor it.

chenjiadragon commented 1 year ago

pos_pred, cos_pred, sin_pred, width_pred = self(xc)

I am a python new guy Why this code which is in the abstract class GraspModel could call the method forward in the subclass GenerativeResnet

Thank you for telling me that this step is forward propagation