Comments (6)
I think you're using Farama's D4RL package in your experiment. Please try this:
$ pip uninstall D4RL
$ d3rlpy install d4rl
In this way, d3rlpy will install my fork D4RL package from https://github.com/takuseno/D4RL , which fixes some of incompatibilities.
from d3rlpy.
I think you're using Farama's D4RL package in your experiment. Please try this:
$ pip uninstall D4RL $ d3rlpy install d4rl
In this way, d3rlpy will install my fork D4RL package from https://github.com/takuseno/D4RL , which fixes some of incompatibilities.
Thanks for the suggestion!I originally installed the D4RL package using the following commands:
pip install d3rlpy
pip install git+https://github.com/Farama-Foundation/D4RL
pip install -U gym
pip uninstall pybullet
However, it appears that this setup defaults to Farama's D4RL package.
I'll give your approach a try using d3rlpy install d4rl
By the way, it seems that the command d3rlpy install d4rl
requires python 3.9?
from d3rlpy.
By the way, it seems that the command d3rlpy install d4rl requires python 3.9?
I don't think so. Did you see any errors?
from d3rlpy.
By the way, it seems that the command d3rlpy install d4rl requires python 3.9?
I don't think so. Did you see any errors?
@takuseno Sorry for the delayed response. Yes, I have some evidence that this issue exists. I am using Python 3.8, and when I run the command to install d4rl, I get the following error:
(drl_project) root@autodl-container-362e44a99f-d27d57c6:~# d3rlpy install d4rl
Traceback (most recent call last):
File "/root/miniconda3/envs/drl_project/bin/d3rlpy", line 5, in <module>
from d3rlpy.cli import cli
File "/root/miniconda3/envs/drl_project/lib/python3.8/site-packages/d3rlpy/cli.py", line 352, in <module>
name: list[str], upgrade: bool = False, check: bool = True
TypeError: 'type' object is not subscriptable
I suspect it is because type annotations like list[str] are only supported in Python 3.9 and above.
from d3rlpy.
Thanks for following up on this! Yeah, you're right. In the latest commit, I've updated these lines:
18d710a
If you install d3rlpy from source, it should work with Python 3.8.
from d3rlpy.
That's great!I'll close this issue.
from d3rlpy.
Related Issues (20)
- [QUESTION] Logging metrics at every step of training HOT 5
- [QUESTION] difference between evaluators and OPE ? HOT 2
- FQE support .d3 file model? HOT 4
- [BUG] Issue with CUDA Device-Side Assertion Failure During Training HOT 2
- [REQUEST] Allow dynamic neural architectures to be used HOT 2
- [Question] Is it possible to only collect image observation? HOT 3
- [BUG] error when running dt on atari HOT 2
- Issue: Creating MDPDataset from CSV file in d3rlpy HOT 2
- [QUESTION] Continously increasing loss and TD error HOT 7
- [REQUEST] NotImplementedError: "save_policy method does not support tuple observation yet." HOT 4
- [QUESTION] Adding a new algorithm to d3rlpy HOT 3
- [REQUEST] save decision transformer models as TorchScript/ONNX HOT 2
- [QUESTION] multidimensional states and actions HOT 8
- [BUG] DiscreteDecisionTransformer Inference Problem, AttributeError: 'numpy.ndarray' object has no attribute 'length' HOT 4
- [Question]Just want to make sure that the "environment" metric collected by the logger of offline RL algorithms is the result used in papers HOT 2
- d3rlpy install d4rl HOT 4
- [BUG] How to continue training from a save checkpoint HOT 2
- [QUESTION] len(observation_shape) == 1 HOT 1
- [BUG] saving and loading model with custom network gives KeyError: 'custom' HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from d3rlpy.