<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: John</title>
    <description>The latest articles on Forem by John (@johndevor).</description>
    <link>https://forem.com/johndevor</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F103286%2Fdab3d926-06e9-4e1b-9dc1-9e3291aeb757.jpeg</url>
      <title>Forem: John</title>
      <link>https://forem.com/johndevor</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/johndevor"/>
    <language>en</language>
    <item>
      <title>How to Install Unity ML-Agents Release 20 on Mac</title>
      <dc:creator>John</dc:creator>
      <pubDate>Sat, 03 Dec 2022 19:52:54 +0000</pubDate>
      <link>https://forem.com/johndevor/how-to-install-unity-ml-agents-release-20-on-mac-3o2l</link>
      <guid>https://forem.com/johndevor/how-to-install-unity-ml-agents-release-20-on-mac-3o2l</guid>
      <description>&lt;p&gt;Mac OS X 12.2.1, M1 Macbook Pro&lt;/p&gt;

&lt;p&gt;Here are the steps I did:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Add the package by URL: git+&lt;a href="https://github.com/Unity-Technologies/ml-agents.git?path=com.unity.ml-agents#release_20" rel="noopener noreferrer"&gt;https://github.com/Unity-Technologies/ml-agents.git?path=com.unity.ml-agents#release_20&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fiqo5ehu3dpwc6ptbn7q5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fiqo5ehu3dpwc6ptbn7q5.png" alt="Image description" width="440" height="207"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Setup conda environment in your Unity's project folder
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;conda create -n unity-mla python=3.9.7 -y
conda activate unity-mla
conda config --add channels pytorch
conda install pytorch torchvision -c pytorch
conda install grpcio h5py -y
pip install mlagents==0.30.0 -q
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;Run mlagents-learn
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;mlagents-learn --help
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;Run through this tutorial:&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://github.com/Unity-Technologies/ml-agents/blob/release_20_docs/docs/Learning-Environment-Create-New.md" rel="noopener noreferrer"&gt;https://github.com/Unity-Technologies/ml-agents/blob/release_20_docs/docs/Learning-Environment-Create-New.md&lt;/a&gt;&lt;/p&gt;

</description>
      <category>unity3d</category>
      <category>mlagents</category>
      <category>machinelearning</category>
    </item>
  </channel>
</rss>
