qreps's People
qreps's Issues
Issues with Installing
Hi,
I tried to install the package by following the instructions provided in the readme however I cannot get past the third step:
pip install -e.[experiments]
Running which gives the following error:
You can see here that the GitHub link from which it tries to obtain the rllib has the next requirement (numpy) attached at the end, as I believe you are missing a comma in your setup.py.
But even after fixing that issue locally, I still obtain a very similar error:
I am running the code on macOS 12.0.1.
Confused about the Implementation of QREPS Agent
Hey,
I am confused about the dual implementation in the QREPS agent.
The code I am talking about is in qreps_algorithm in the QREPS class.
To be specific:
# Calculate weights.
weights_td = self.eta() * td # type: torch.Tensor
if weights_td.ndim == 1:
weights_td = weights_td.unsqueeze(-1)
dual = 1 / self.eta() * torch.logsumexp(weights_td, dim=-1)
dual += (1 - self.gamma) * value.squeeze(-1)
return Loss(dual_loss=dual.mean(), td_error=td)
As far as I understand, the last dimension in weights_td is always added and then the logsumexp operation does nothing.
Maybe, you can help me in understanding this or maybe there are changes between the version of the paper and the implementation visible here.
The current implementation seems to perform only good with the fixed seed 0.
When setting any other seed the learning breaks down completely.
I hope you can guide me in understanding this.
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.