xbpeng / DeepTerrainRL

terrain-adaptive locomotion skills using deep reinforcement learning
GNU Lesser General Public License v3.0
432 stars 129 forks source link

Performance Issue (only using one CPU core?) #19

Closed shihuiguo closed 7 years ago

shihuiguo commented 7 years ago

After successfully running the demo, I found that TerrainRL is only using one CPU core on my PC (Ubuntu 14.04) and the framerate is 5fps. My PC is 4 CPU cores and 8G memory.

Did I miss any detail? Or this is normal? Thanks for all.

Shihui

xbpeng commented 7 years ago

The TerrainRL app is single threaded, the optimizer is multithreaded. Are you building in Debug or Release? Release should run in realtime.

shihuiguo commented 7 years ago

Yes, it works perfectly, the release version works in real time.

Thanks, =)