Comments (1)
报错可能是因为state外面没加中括号[]
state = torch.tensor([state], dtype=torch.float).to(self.device)
from hands-on-rl.
Related Issues (20)
- 第七章DNQ回报超出200 HOT 1
- 20章的代码问题 HOT 3
- 21章MADDPG代码问题,存在维度不匹配 HOT 2
- 运行环境 HOT 1
- SAC算法——状态价值函数存在问题
- 7.4 DQN 算法反向传播有没有进行求导?? HOT 1
- 公式错误---https://hrl.boyuai.com/chapter/1/时序差分算法#55-q-learning-算法 HOT 1
- 将AC改为off-policy后,每次训练500条左右的经验就会报错,显示action_dist = torch.distributions.Categorical(probs)这行代码的运行结果为tensor([[nan, nan]] HOT 3
- 用spyder跑PPO代码,kernel自动关闭了 HOT 1
- DQN ReplayBuffer HOT 1
- SAC伪代码存在一点小问题
- PPO在单摆实验中为什么要对reward=(reward+8)/8的修改呢? HOT 2
- 网页版教程 3.3.2 价值函数 推导过程有些模糊
- CartPole-v0环境训练reward超过上限值200? HOT 1
- 关于环境初始化的一点提示
- 多臂老虎机的代码里面init_prob为什么是1.0?
- 第十三章 DDPG算法 代码实践中的一点疏漏
- 关于web教程布局的建议
- 马尔可夫决策过程,MDP转化为MRP时计算的P疑似有误 HOT 1
- https://www.boyuai.com/进不去了
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 hands-on-rl.