reiniscimurs / DRL-robot-navigation

Deep Reinforcement Learning for mobile robot navigation in ROS Gazebo simulator. Using Twin Delayed Deep Deterministic Policy Gradient (TD3) neural network, a robot learns to navigate to a random goal point in a simulated environment while avoiding obstacles.
MIT License
635 stars 126 forks source link

Completing the training of a pre-trained model. #140

Open iAmSarahAllam opened 7 months ago

iAmSarahAllam commented 7 months ago

Hi,

I was wondering if I can complete the training on a per-trained model that I stopped. If yes how can I do that?

bb0928 commented 7 months ago

I am wondering the same question

reiniscimurs commented 7 months ago

You can load the weights from a previously trained model with the load function: https://github.com/reiniscimurs/DRL-robot-navigation/blob/main/TD3/train_velodyne_td3.py#L210

See test_velodyne_td3.py for the implementation: https://github.com/reiniscimurs/DRL-robot-navigation/blob/main/TD3/test_velodyne_td3.py#L63-L67