btx0424 / OmniDrones

https://omnidrones.readthedocs.io/
MIT License
126 stars 23 forks source link

Could you add requirements for the repo? #28

Closed liyang619 closed 9 months ago

liyang619 commented 9 months ago

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.

btx0424 commented 9 months ago

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.

btx0424 commented 9 months ago

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