Sample projects Wall, Push and GridWorld don't work on iOS
I've been trying to install the sample projects on iOS to see whether they work. I've discovered that the 3DBall, Crawler and Reacher work fine on iOS. However, the Wall, Push and GridWorld projects don't work on iOS at all. The game objects appear but they don't move. The only difference between the samples that work and the ones that don't (that I can see) #is "Action Space Type" is set to continuous in the working samples and "Action Space Type" is set to Discrete in the non-working ones. I tried to change Discrete to Continuous but it still doesn't work.
I would appreciate the community's help figuring this out. I would like to develop a maze and teach the agent to navigate the maze and then build it on the iPhone. This project is more like the GridWorld project than the other ones so I need to figure this issue out.
Thank you!
Here's my setup: Xcode 9.2 Tensorflow 1.4.0 Python 2.7.14 MacBook Pro (2015) running High Sierra 10.13.3 iPhone 8
Hi @3DAPPG2018 - are you still running into issues here? I'm curious if you've tried your set-up with v0.3 of ML-Agents.
Hi, I stepped away from the machine learning to work on another project. I will try to building again in V.3 to see whether it fixed the issue & will let you know.
Thank you for the email. Debbie
Sent from my iPhone
On Apr 11, 2018, at 5:56 PM, Marwan Mattar [email protected] wrote:
Hi @3DAPPG2018 - are you still running into issues here? I'm curious if you've tried your set-up with v0.3 of ML-Agents.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
There was no PPO.ipynb file in python folder in V.3 so I couldn’t train my own brain. However, I set the brain to internal & tried to run the Ball example & the Push Block examples. The first having a continuous vector action & the other having discrete. Neither one ran on my iPhone which is running iOS 11.3.
Thanks
Sent from my iPhone
On Apr 11, 2018, at 5:56 PM, Marwan Mattar [email protected] wrote:
Hi @3DAPPG2018 - are you still running into issues here? I'm curious if you've tried your set-up with v0.3 of ML-Agents.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
@3DAPPG2018 For training, we replaced the PPO.ipynb with learn.py script. Please refer to https://github.com/Unity-Technologies/ml-agents/blob/master/docs/Training-ML-Agents.md for how to use that. Also we are no longer supporting Python 2.
Also regarding all the examples with Action Type Space = "Discrete" not working , we will looking into that.
Thank you for the update. I will check it out.
Sent from my iPhone
On Apr 12, 2018, at 1:28 PM, Vincent(Yuan) Gao [email protected] wrote:
@3DAPPG2018 For training, we replaced the PPO.ipynb with learn.py script. Please refer to https://github.com/Unity-Technologies/ml-agents/blob/master/docs/Training-ML-Agents.md for how to use that. Also we are no longer supporting Python 2.
Also regarding all the examples with Action Type Space = "Discrete" not working , we will looking into that.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
Hi @3DAPPG2018, the previous version of TensorFlowSharp plugin for iOS was missing a certain operator in the complied libtensorflow-core.a which is used in discrete mode, and that's the cause for the issue you were seeing. In the new TensorFlowSharp plugin for 1.7.1 listed in the PR https://github.com/Unity-Technologies/ml-agents/pull/746 we've fixed that issue, and now it should work for the discrete mode for iOS.
If you still run into any issue with this plugin, please let me know.
Thank you so much. I appreciate your following up on this.
Sent from my iPhone
On May 17, 2018, at 6:02 PM, Vincent(Yuan) Gao [email protected] wrote:
Hi @3DAPPG2018, the previous version of TensorFlowSharp plugin for iOS was missing a certain operator in the complied libtensorflow-core.a which is used in discrete mode, and that's the cause for the issue you were seeing. In the new TensorFlowSharp plugin for 1.7.1 listed in the PR #746 we've fixed that issue, and now it should work for the discrete mode for iOS.
If you still run into any issue with this plugin, please let me know.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
Hey @3DAPPG2018, we are going to close this issue for now. Hopefully you were able to solve your issue, if not please feel free to reopen the issue again.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.