andyzeng / visual-pushing-grasping

Train robotic agents to learn to plan pushing and grasping actions for manipulation with deep reinforcement learning.
http://vpg.cs.princeton.edu/
BSD 2-Clause "Simplified" License
915 stars 313 forks source link

Pytorch 1.0 + V-REP 3.6.X and CoppeliaSim 4.0 #52

Closed ahundt closed 4 years ago

ahundt commented 4 years ago

These are the minimal changes needed to run on the current pytorch (1.4, but should be good for 1.0 and later) and CoppeliaSim (renamed fork of V-Rep). My editor also stripped some trailing whitespace automatically, hopefully that isn't critical. I've tested the simulation and it works.

ahundt commented 4 years ago

GOOD_RUN_ORIGINAL_CONFIGURATION_DENSENET_VPG_PUSHING_AND_GRASPING

andyzeng commented 4 years ago

This is great. Thank you Andrew! I'll update the ReadMe regarding PyTorch 1.0.

sevenandseven commented 4 years ago

excuse,can you tell me how to run this code,thankyou .