<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Yizhou Zhao on Medium]]></title>
        <description><![CDATA[Stories by Yizhou Zhao on Medium]]></description>
        <link>https://medium.com/@yizhouzhao?source=rss-18af821e9e81------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*tSWPe9KNzJrVM0hcqBhVRw.png</url>
            <title>Stories by Yizhou Zhao on Medium</title>
            <link>https://medium.com/@yizhouzhao?source=rss-18af821e9e81------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 02:56:25 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@yizhouzhao/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How to use AI2Thor in Windows]]></title>
            <link>https://yizhouzhao.medium.com/how-to-use-ai2thor-in-windows-f889abd7efcf?source=rss-18af821e9e81------2</link>
            <guid isPermaLink="false">https://medium.com/p/f889abd7efcf</guid>
            <category><![CDATA[ai2-thor]]></category>
            <category><![CDATA[vr]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Yizhou Zhao]]></dc:creator>
            <pubDate>Thu, 11 Feb 2021 19:28:49 GMT</pubDate>
            <atom:updated>2021-02-11T19:28:49.377Z</atom:updated>
            <content:encoded><![CDATA[<p><a href="https://ai2thor.allenai.org/">AI2-THOR (The House Of inteRactions)</a> is a near photo-realistic interactable framework for AI agents. Right now, the python API only works for the Linux system.</p><p>I am a stubborn Windows user and want to run ai2thor <strong>without pip install. </strong>The idea is that windows itself support Unity, and I want to do some timely change on the gaming environment.</p><p>Therefore, I want to run the environment directly with <strong>Jupyter notebook</strong> and <strong>Unity</strong>(version 2019.4 LTS). Let’s begin with the following two steps:</p><h4>First, open <strong>socket client</strong> in Unity[ai2thor].</h4><p>Once you have downloaded the <a href="https://github.com/allenai/ai2thor">source code</a>, open it with Unity. Find the script <em>AgentManger.cs line </em>132–134, uncomment the IF !UNITY_EDITOR</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kUREZRzGJ7jonSCshHVY2A.jpeg" /></figure><p>Then, the client part is open at 127.0.0.1(local) with PORT 8200.</p><h4>Second, change the code for the Python server</h4><p>Since the Windows system cannot support <em>tty </em>and <em>termios, </em>comment(ignore) the code in the <em>controller.py </em>and <em>interact.py.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3FzQEzUArKlQdeUqTbIjgg.jpeg" /></figure><p>Or, you can do it more safely according to this <a href="https://github.com/allenai/ai2thor/pull/64">issue </a>.</p><p>StackOverflowNext, change the fcntl code according to the <a href="https://stackoverflow.com/questions/1422368/fcntl-substitute-on-windows">blog from stackoverflow</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1L_QubdgDj4OytFqDEtQaA.jpeg" /></figure><p>Finally, run it is the <em>jupyter notebook</em></p><p>controller = ai2thor.controller.Controller(<br> start_unity=False, <br> server_class=ai2thor.wsgi_server.WsgiServer, <br> port=8200, <br> scene = “FloorPlan1_physics”)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sh5DxAXVVY9tsLziB1BvTg.jpeg" /></figure><p>Now, everything works and you have an interactive environment!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f889abd7efcf" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>