I encountered many difficulties during the installation of BEAR, mainly due to conflicting dependencies between packages.
Also, the version of pytorch specified looks to be wrong, since it is not possible to reduce over multiple dimensions (e.g, torch.mean(x, dim=(1,2)) is not allowed) with pythorch==0.4.1.
I managed to fix the errors, and I report here how I solved them.
This is probably one of the many possible ways one can solve the aforementioned problems.
Dear all,
I encountered many difficulties during the installation of BEAR, mainly due to conflicting dependencies between packages. Also, the version of
pytorch
specified looks to be wrong, since it is not possible to reduce over multiple dimensions (e.g,torch.mean(x, dim=(1,2))
is not allowed) withpythorch==0.4.1
. I managed to fix the errors, and I report here how I solved them.This is probably one of the many possible ways one can solve the aforementioned problems.
SOLUTION
Download
d4rl
from the official repository andcd d4rl
. Change thesetup.py
with the followingInstall the library with
pip install .
andpip install dm _control
.P.S. A big thank to Joao Carvalho for finding this solution
@jacarvalho
https://github.com/jacarvalho.