问题标签 [ml-agent]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
c# - unity ML 代理和外部数据
对 Unity 很陌生,我更多地来自机器学习背景。计划使用 ML Agents,并为其编写一些自定义 python / tensorflow 脚本。
是否可以根据我的硬盘驱动器中的数据以及统一环境数据进行训练?例如,在 Unity 相机旁边有额外的图像数据作为输入馈送到网络?
到目前为止,在示例和文档中还没有真正看到这一点。
谢谢!
c# - 找不到类型或命名空间“NModel”
我正在尝试嵌入我在我的 c# unity 脚本中训练的模型。通过做这样的事情
这是由这些梭子鱼文档在统一的 github 上规定的。但是,我得到了错误
真的不知道我怎么能在 c# 和 Unity 编程中添加这个相当新的东西,所以这个错误的原因可能是相当基本的。我是不是忘记了什么?
谢谢!
python - Mlagents-learn train:“Unity 环境响应时间过长。”
我正在尝试使用 ml-agents for AI 编写自己的游戏,我显然想训练它,但是当我尝试时,我只看到这个:
我尝试运行 3dBall 示例项目,当我训练它时一切都运行良好。我根据 ml-agents 文档中的基本指南做了所有事情,但我不知道我做错了什么。我将 ML-Agents 资产导入到我的项目中,为 Agent 和空学院提供了一些简单的代码。
任何帮助将不胜感激:)
在此先感谢
unity3d - 如何在统一移动设备中使用 tensorflow-gpu
我正在 Unity 引擎中对移动机器学习应用程序进行原型设计。
我已经训练了张量流图(.pb),我想在统一移动设备中运行模型。(android 和 ios)
使用OpenCVForUnity插件和 dnn 模块,我可以在移动设备上运行 tensorflow 图。但问题是它在 CPU 上运行。
我需要基于 GPU 的解决方案,而且 OpenCVForUnity 似乎不是解决这个问题的合适方法。
那么在统一移动环境中在 GPU 上运行图形有什么想法吗?
unity3d - ML-Agents AddVectorObs 参数问题
我想在 AddVectorObs 中观察 bool 值...
但我不知道怎么做。
观察布尔值还有其他功能吗?
这是我的价值观
我希望我的 AI 学习能遵守这些价值观。请帮帮我
c# - ML-Agents agent not resetting?
I've been working on a pair of legs that self-balance. If his 'waist' goes below a certain y-position value (falling over/tripping), the area is supposed to reset and also deduct points from his reward-score. I'm awfully new to machine learning, so go easy on me! Why is the agent not resetting when he falls over?
Code to Agent (Updated):
Code to Area:
Code to BalanceAcademy:
Command used to run trainer:
c# - ML Agents - Multiple agents break the training
I've been working on a self-balancing agent that strives to keep its waist at a certain height. Recently, I upgraded the "thighs" to allow for 3 axis to rotate instead of 2 that I previously had. After doing this, and modifying the ml agents code to allow for child sensors, the agents now seem to no longer work with more than one agent/area. I'm not sure why this is happening. To be clear, the only working agent is acting more "explosive" than usual. When it's by itself, it is much calmer at trying to balance. Maybe I messed up something else in the process? If anyone has any ideas, I'm for anything. Thank you!
Agent Script :
python - 神经网络游戏输入的可配置归一化
我正在构建一个小工具来使用遗传算法为 Unity 游戏训练神经网络。
我希望我的框架通用且可用于多个游戏。关于性能和训练时间的一个非常重要的部分是输入的标准化。
根据游戏的不同,我们可能希望对不同维度的输入进行归一化,根据最大理论值进行归一化……或者根本不归一化。
例如,如果我的神经网络的三个输入是一个球的位置 (x,y,z),我将根据其最大理论值对每个输入进行归一化(假设我知道它)。
我的问题是:
- 让规范化过程成为游戏开发的一部分的最佳实践,还是在我的机器学习框架中实现它?
- 如果我决定在我的框架中实现它,那么在输入上构建灵活的规范化,用户可以根据其游戏进行配置的好工具是什么?