Comments (2)
@zxp567 Hi, thank you for your request. I'm sure this can be supported in d3rlpy. I'm currently working on the next major update release in nightly branch. I might support Cal-CQL there.
from d3rlpy.
The Cal-QL code has been released by the author: https://github.com/nakamotoo/Cal-QL/.
However, it was implemented in JAXCQL and seems more robotics oriented, while I would just need something simpler that work with an offline MDPDataset like this d3rlpy library offers, and I am looking for discrete actions only as well.
Would you have some capacity to include the calculation of reference policy Q-values and the logic of cal-ql could be added to this repo's discreteCQL algorithm?
It seems we only need to revise "_compute_conservative_loss" in "algos/torch/cql_impl.py" by:
- adding the "return_to_go" similar to the calculation as in "https://github.com/nakamotoo/Cal-QL/blob/main/JaxCQL/replay_buffer.py" as another input;
- and including the lower bound logic similar to the logic as in "https://github.com/nakamotoo/Cal-QL/blob/main/JaxCQL/conservative_sac.py"
Right? Would be helpful if you could add this into this repo as Cal-QL seems to work significantly better than CQL once the online fine-tuning begins.
Thank you very much.
from d3rlpy.
Related Issues (20)
- 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
- ValueError: too many values to unpack (expected 4) when using hopper-medium-v0 environment HOT 6
- [BUG] How to continue training from a save checkpoint HOT 2
- [QUESTION] len(observation_shape) == 1 HOT 5
- [BUG] saving and loading model with custom network gives KeyError: 'custom' HOT 3
- [QUESTION] Offline Learning via custom MDPDataset HOT 1
- gym version incompatibility HOT 2
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.