catalyst-rl-tutorial icon indicating copy to clipboard operation
catalyst-rl-tutorial copied to clipboard

Meet errors when running

Open Homiejc opened this issue 2 years ago • 8 comments

Hello, your work about the peg-in-hole with the reinforcement is excellent! I am so happy to have a tutorial like this. Unfortunately, I had some trouble when running your example, the details are as below:

(python:46275): Gtk-WARNING **: 16:25:05.465: Theme parsing error: gtk.css:8008:70: The :focused pseudo-class is deprecated. Use : focus instead.
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc

I had tried so many times but could not solve the problem and my device is Ubuntu20.04(CPU) with the conda environment as below

python=3.6.5
torch=1.3.1
torchivision=0.4.2
catalyst=20.9
catalyst-rl=20.3

Thank you for your time. And I'm looking forward to your reply!

Homiejc avatar Jan 10 '24 08:01 Homiejc

Hi @Homiejc! One of the authors here. I'm happy you found our tutorial useful!

Unfortunately, it's quite some time has passed since we released the code so I assume some dependencies can be outdated. I have some time to look into it now, and maybe replace some dependencies with more up-to-date libraries.

To help me better figure out which libraries to use - could you provide more details on a project you have in mind right now? Or are you simply interested in following the tutorial for learning purposes? - In this case, what primarily are you interested in - robotics / Computer Vision part / Reinforcement Learning? Are you interested in learning specific tools like CoppelliaSim or Catalyst?

Understanding your motivation for using this project will help me fix it!

Thanks!

Fedor "Theo" Chervinskii

fedor-chervinskii avatar Jan 10 '24 15:01 fedor-chervinskii

Hi Fedor-Chervinskii! I am so appreciative that I can get your relay since this project has been released for a long long time. Thank you for your help again!

I am a post-student major in robotics and very interested in the peg-in-hole problem. There is no doubt that reinforcement learning is a good way to solve this problem and your work has proven that. I am so excited by the performance of your work. I hope I can learn more about robotics and reinforcement by following your tutorial and eventually build my project to solve the problem as you did. And, yes, I am interested in learning reinforcement learning tools like CoppelliaSim and Catalyst as they provide enough resources to help me study.

Thank you!

ZY H

Homiejc avatar Jan 10 '24 18:01 Homiejc