btx0424 / OmniDrones

Home Page:https://omnidrones.readthedocs.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Could you add requirements for the repo?

liyang619 opened this issue · comments

I have a question about torchrl when i run train.py as:
ImportError: cannot import name '_replace_last' from 'torchrl.envs.utils'

I have tried install all versions of torchrl as list in pip website, but cannot solve it.

Thanks for reporting. The recommended way for installing TorchRL is through GitHub because the versions published on Pypi could lag behind the development branch. I will fix the setup of TensorSpecs for most of the tasks to make things compatible with a recent update in the next few days.

@liyang619 Hello there, I have updated the TensorSpecs. TorchRL also released its 0.2.0. Things should be working now.