Comments (2)
更改了模型和trainstep中的state
from deepbots-tutorials.
Hello @HongYegg. Thank you for bringing this to our attention.
I can notice a minor increase in memory consumption of the python process on the task manager. It seems to come from the PPOAgent train step as you demostrate in your code using tracemalloc.
This increase is of an order of 1-2 mb after 500-1000 episodes of training. The agent solves the problem after 1000-1500 episodes usually. The python process starts at 94.4 mb.
To be honest it seems really minor and out of the scope of this tutorials repo. As far as i've used this implementation in the past it never seemed to cause any memory issues.
There are many discussions online 1, 2, 3 about increasing memory consuption during training when using PyTorch and can be caused by many different things as far as i can tell.
from deepbots-tutorials.
Related Issues (20)
- Rename old cartpole tutorial and README
- AttributeError: 'CartpoleRobot' object has no attribute 'getSelf' HOT 1
- AttributeError: 'CartpoleRobot' object has no attribute 'getSelf' HOT 4
- 404 (File Not Found) on the CartPole beginner tutorial HOT 3
- Multi robot setting HOT 1
- Emitter-Receiver scheme not working HOT 7
- Update the tutorials according to latest release
- Comments on the robotSupervisorSchemeTutorial HOT 8
- NotImplementedError get_info ; 0.1.3 dev2; tutorial HOT 3
- A small detail HOT 4
- Add tutorial for respawn/reset HOT 1
- Unable to run the last step of the tutorial in Webots R2022b. HOT 3
- Usage of snake_case HOT 1
- The robots doesn't move during iteration HOT 2
- The problem about the loss function of actor network HOT 3
- A doubt for behaviors that the agent finally converged HOT 1
- poleEndPoint.getVelocity returns six NAN HOT 7
- Link for cartpole_robot_definition.txt is not working HOT 2
- Short save/load model functionality tutorial
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deepbots-tutorials.