Giter Site home page Giter Site logo

d3rlpy install d4rl about d3rlpy HOT 4 CLOSED

sky-story avatar sky-story commented on June 12, 2024
d3rlpy install d4rl

from d3rlpy.

Comments (4)

takuseno avatar takuseno commented on June 12, 2024

@sky-story Hi, thanks for the issue. I think this will resolve your issue:

$ pip install gym
$ d3rlpy install d4rl

from d3rlpy.

sky-story avatar sky-story commented on June 12, 2024

@sky-story Hi, thanks for the issue. I think this will resolve your issue:

$ pip install gym
$ d3rlpy install d4rl

Thanks for your quick and accurate response! I wonder if these commands still work on d3rlpy==2.5.0

pip install d3rlpy
pip install git+https://github.com/Farama-Foundation/D4RL
pip install -U gym
pip uninstall pybullet

What's more,when I run the example:

import d3rlpy

# prepare dataset
dataset, env = d3rlpy.datasets.get_d4rl('hopper-medium-v0')

# prepare algorithm
cql = d3rlpy.algos.CQLConfig().create(device='cuda:0')

# train
cql.fit(
    dataset,
    n_steps=100000,
    evaluators={"environment": d3rlpy.metrics.EnvironmentEvaluator(env)},
)

I encountered the following error message,it reminds me to update my NVIDIA driver:
RuntimeError: The NVIDIA driver on your system is too old (found version 11040).
Currently, I'm running Ubuntu 18.04.

Previously, I reinstalled the NVIDIA driver, downgrading it from version 535 to 470, as recommended by Ubuntu 18.04. After doing so, my other projects ran smoothly.

Now, I'm concerned about potential conflicts if I update the NVIDIA driver on my Ubuntu 18.04 system. Is there a risk of conflict with system drivers if I perform this update?

Additionally, I'm curious if there's a method to run d3rlpy&d4rl on the current version of the NVIDIA driver (version 11040). Any insights or suggestions would be greatly appreciated!

from d3rlpy.

takuseno avatar takuseno commented on June 12, 2024

I wonder if these commands still work on d3rlpy==2.5.0

pip install d3rlpy
pip install git+https://github.com/Farama-Foundation/D4RL
pip install -U gym
pip uninstall pybullet

d3rlpy install d4rl is essentially doing the exactly the same in background.

Additionally, I'm curious if there's a method to run d3rlpy&d4rl on the current version of the NVIDIA driver (version 11040).

d3rlpy is nothing to do with nvidia drivers. If PyTorch runs, d3rlpy also runs. In this thread, I can't provide any further information about the nvidia-driver issue.

from d3rlpy.

sky-story avatar sky-story commented on June 12, 2024

I wonder if these commands still work on d3rlpy==2.5.0

pip install d3rlpy
pip install git+https://github.com/Farama-Foundation/D4RL
pip install -U gym
pip uninstall pybullet

d3rlpy install d4rl is essentially doing the exactly the same in background.

Additionally, I'm curious if there's a method to run d3rlpy&d4rl on the current version of the NVIDIA driver (version 11040).

d3rlpy is nothing to do with nvidia drivers. If PyTorch runs, d3rlpy also runs. In this thread, I can't provide any further information about the nvidia-driver issue.

Thanks for your kind response!I would search other method to solve it.
I will close this issue.
Thank you !

from d3rlpy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.