简体   繁体   English

我可以在tensorflowjs中使用强化学习吗?

[英]Can I use reinforcement learning in tensorflowjs?

I'm doing a project at the moment which would require tensorflowjs to create a neural network that learns from reinforcement learning algorithms. 我目前正在做一个项目,需要tensorflowjs创建一个从强化学习算法中学习的神经网络。 Is this possible to do? 这可能吗?

Yes! 是!

There are many examples of this online. 网上有很多例子。 I would recommend you to take a look at https://github.com/BeTomorrow/ReImproveJS a reinforcement learning framework made using tfjs. 我建议您看看https://github.com/BeTomorrow/ReImproveJS一个使用tfjs制作的强化学习框架。

Example using ReImproveJS can be found here: https://gist.github.com/RGBKnights/756b5f51465cc22d0ca39205979ad2a1 可以在以下位置找到使用ReImproveJS的示例: https ://gist.github.com/RGBKnights/756b5f51465cc22d0ca39205979ad2a1

Also another example of applied tfjs is found here: https://www.metacar-project.com/ 此处还找到了另一个应用tfjs的示例: https ://www.metacar-project.com/

Another example of DQN applied to snake in tfjs, with instructions on how to run the code: https://github.com/tensorflow/tfjs-examples/tree/master/snake-dqn DQN在tfjs中应用于蛇的另一个示例,其中包含有关如何运行代码的说明: https : //github.com/tensorflow/tfjs-examples/tree/master/snake-dqn

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 TensorflowJS:如何在张量的特定索引处读取和写入一行? - TensorflowJS: How can I read and write to a row at a specific index of a Tensor? 我可以使用 Tensorflow.js 进行无监督学习吗? - can I use Tensorflow.js for unsupervised learning? TensorFlowJS 是否需要 HTML? 或者我可以从我的电脑上传图片和视频吗? - Does TensorFlowJS require HTML? Or can I upload images and video from my PC? 如何使用 tensorflowjs_converter 转换 TensorFlow graph .pb 文件? - How can I convert a TensorFlow graph .pb file using tensorflowjs_converter? 我正在学习使用 React Router 但我无法理解这种行为 - I'm learning to use React Router but I can't get to understand this behavior 从哪里可以获得 three.js 的学习资源 - From where can I get learning resources for three.js 自定义训练的对象检测模型,无法在 ReactJS 应用程序中读取预测的 TensorflowJS 张量数组元素 - Custom trained Object Detection model, can't read predicted TensorflowJS tensors array elements in ReactJS app 我在 Tensorflowjs tf.loadGraphModel 中收到错误“TypeError: Cannot read property 'producer' of undefined” - I got an error “TypeError: Cannot read property 'producer' of undefined” in Tensorflowjs tf.loadGraphModel 学习在Javascript中使用名称空间和模块 - Learning to use namespaces and modules in Javascript 从可教机器页面导入机器学习model时,如何去掉默认的canvas? - How can I remove the default canvas when I import a machine learning model from the teachable machine page?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM