aminabyaneh / stable-imitation-policy

Learning globally stable dynamical systems policies through imitation
https://sites.google.com/view/stable-planning-policy
MIT License
7 stars 1 forks source link

ValueError during training #1

Closed HanyuLi98 closed 1 week ago

HanyuLi98 commented 1 month ago

Hi Amin Abyaneh, Snipaste_2024-07-10_02-58-55

thanks for your great job! I have installed your package and wanted to test SNDS with my pc. However, I cannot run it because of "ValueError: arange: cannot compute length" (you can see in the following screenshot), could you please tell me how to fix it?

By the way, conda env create -f environment.yml this command missed a "a" for yaml :D.

Thanks a lot!

aminabyaneh commented 1 month ago

Hi Hanyu Li!

Thanks for reaching out with this issue. At the first glance, I see that there is an issue with plotting the Lyapunov candidate. You can comment the line which calls the "plot_contours" function and it should work.

I can look into it in more details next week, and will upload a patch to fix it asap!

Let me know if I can help further.