<?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 Sohan J on Medium]]></title>
        <description><![CDATA[Stories by Sohan J on Medium]]></description>
        <link>https://medium.com/@sohan.j12?source=rss-5e45a481ffff------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*Dr9ftrChiHfTSjeT7qbX5w.jpeg</url>
            <title>Stories by Sohan J on Medium</title>
            <link>https://medium.com/@sohan.j12?source=rss-5e45a481ffff------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 04:24:22 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sohan.j12/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[Web3 gaming, metaverse, NFTs investment — The current landscape]]></title>
            <link>https://medium.com/@sohan.j12/web3-gaming-metaverse-nfts-investment-the-current-landscape-74cbd215444b?source=rss-5e45a481ffff------2</link>
            <guid isPermaLink="false">https://medium.com/p/74cbd215444b</guid>
            <category><![CDATA[web3]]></category>
            <category><![CDATA[metavers]]></category>
            <category><![CDATA[nft]]></category>
            <category><![CDATA[defi]]></category>
            <category><![CDATA[gaming]]></category>
            <dc:creator><![CDATA[Sohan J]]></dc:creator>
            <pubDate>Fri, 10 Mar 2023 09:53:32 GMT</pubDate>
            <atom:updated>2023-03-10T09:53:32.842Z</atom:updated>
            <content:encoded><![CDATA[<h3>Web3 gaming, metaverse, NFTs investment — The current landscape</h3><p><em>A whopping $7.1 billion was invested in web3 gaming and metaverse projects in 2022.</em></p><p>According to Metaverse Post’s year-end report, the Web3 space raised $7.1 billion in funding throughout 2022, with Gaming, Metaverse, and Social Networks being the top three investment categories. The report took startups under Gaming, Metaverse, Social Networks, Infrastructure, Artificial Reality and Virtual Reality (AR &amp;VR), and Artificial Intelligence (AI) and calculated the exact investment amount collected as $7,169,997,888. Despite the bear market, the sum is $4.8 billion higher than in 2021.</p><p>Categories’ ranking: The gaming category became the year’s top category, while AI became the last.</p><p><strong>Gaming</strong>: Gaming came forward as the winning category by collecting $4.49 billion, which accounts for 62.5% of the total amount invested in Web3. According to the report, Epic Games collected the most significant investment in 2022. The company raised $2 billion in funding from Sony and LEGO owner KIRKBI. Epic Games closed the year at a $31.5 billion valuation.</p><p><strong>Metaverse</strong>: Metaverse followed Gaming as the second most popular category that attracted investment in 2022. According to the report, the metaverse sphere collected $1.82 billion in funding, which accounts for 25.4% of the total investment. Creators of the Bored Ape Yacht Club (BAYC) Yuga Labs became the second company that collected the largest sum in funding. In March, Yuga Labs raised $450 million in funding to launch Otherside metaverse.</p><p><strong>Social Networks</strong>: Start-ups that launch social networking apps suitable for the decentralized and secure fashion of the Web3 were the third most popular category in the eyes of the investors. The category raised $259.1 million in 2022, compensating for 3.6% of the total amount invested in Web3. CryptoSlate exclusive content with Phaver and with Aave and Lens Protocol, as well as Lens Protocol’s and Polkadot’s initiatives on the subject, highlight the need for Web3 social network protocols.</p><p><strong>Infrastructure, AR &amp; VR, and AI</strong>: The last three categories were Infrastructure, AR&amp;VR, and AI, with $200.8 million, $178.6 million, and $136.5 million, respectively. All falling under the infrastructure category, NFT-focused Immutable, Metaverse-focused Improbable, gaming-focused Sky Mavis, and start-up-focused AngelList also entered the top 10 start-ups that attracted the most prominent funding. Immutable raised $200 million in funding, AngelList collected $100 million, while Sky Mavis and Improbable secured $150 million each.</p><p><strong>Biggest spenders</strong>: Four Venture Capital firms came forward as the biggest spenders this year, each sparing over $1 billion in investments. Of these, Paradigm claimed first place by spending $2.5 billion in 2022. The company supported 31 projects, including Uniswap, Magic Eden, and Optimism. Andreessen Horowitz followed Paradigm as a close second with a total investment of $2.2 billion. The Youngest Venture Capital of all, Hivemind, spared $1.5 billion in 2022 and secured third place in the ranking, while Binance Labs became the fourth by investing $1 billion.</p><p><strong>Web3 gaming activity</strong>: Web3 gaming activity has seen tremendous growth in the past year, with the rise of blockchain-based games and decentralized marketplaces. According to our analysis, the total value locked (TVL) in web3 gaming increased by 900% in the last quarter of 2022, reaching a peak of $7.5 billion.</p><p>One of the key drivers of this growth is the rise of blockchain-based games, which are built on decentralized networks like Ethereum and offer players ownership of in-game assets. This has created a new market for non-fungible tokens (NFTs), which are unique digital assets that can be traded and collected. Many web3 games use NFTs as a way to give players ownership over in-game items, such as weapons or skins, which can be traded on decentralized marketplaces.</p><p>In addition, the growth of play-to-earn models has incentivized players to spend more time in web3 games, as they can earn real-world rewards for their in-game activities. This has led to the rise of new gaming ecosystems, such as Axie Infinity, which has become one of the most popular web3 games, with over 2 million daily active users.</p><p>Looking ahead, we expect web3 gaming to continue to grow rapidly in the coming year, as more developers build on decentralized networks and new play-to-earn models emerge. This presents exciting investment opportunities for those looking to get involved in the web3 ecosystem. However, it is important to note that the web3 gaming space is still relatively new and untested, and investors should carefully evaluate the risks before making any investments.</p><p>In <strong>conclusion</strong>, the Web3 ecosystem has continued to experience tremendous growth and development, driven by the increasing adoption of blockchain technology and decentralized systems. This has resulted in a surge of investment activity in various Web3-related sectors such as DeFi, NFTs, gaming, and infrastructure development.</p><p>From the investment data analyzed, it is clear that DeFi remains the dominant sector, attracting the most funding and experiencing the highest growth rates. However, other sectors such as NFTs and gaming are also rapidly expanding, with huge potential for growth and investment opportunities.</p><p>Furthermore, the rise of decentralized systems and Web3 platforms is challenging traditional business models, creating new opportunities for entrepreneurs and investors. As the Web3 ecosystem continues to evolve, we can expect more innovative solutions to emerge, offering new ways to transact, communicate and interact online.</p><p>Overall, the Web3 ecosystem is an exciting and dynamic space, full of potential and opportunities for investment. While the market is still relatively young and unpredictable, investors who are willing to take calculated risks and stay ahead of the curve stand to reap significant rewards in the long run.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=74cbd215444b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Self Driving Car in a game environment]]></title>
            <link>https://medium.com/@sohan.j12/self-driving-car-in-a-game-environment-a3bc2651fc53?source=rss-5e45a481ffff------2</link>
            <guid isPermaLink="false">https://medium.com/p/a3bc2651fc53</guid>
            <category><![CDATA[self-driving-cars]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[cnn]]></category>
            <dc:creator><![CDATA[Sohan J]]></dc:creator>
            <pubDate>Fri, 10 May 2019 12:34:25 GMT</pubDate>
            <atom:updated>2019-05-10T12:36:13.526Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>Introduction</strong></h3><p>I was tasked with developing an AI that drives a car in a simple game environment created in Unity. The game environment looks something like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/801/1*8ZhlO0L4vDgbQktsqSpDsg.png" /></figure><p>As you can see, it is a pretty simple environment. There are a few obstacles on the track further on. Convolutional Neural Networks are widely used in self driving car applications. I decided to use the same. There are all sorts of input data that a real world self driving car would use. But for this, I just captured the frames and key presses, and used it as input data for my neural net.</p><p>The idea was to perform behavioral cloning. I would drive the car around for few laps and the python script would collect the frames and corresponding key presses for each frame. The final model should be able to detect the key press given an input frame. There was a possibility of doing lane detection and feeding it as an explicit input to the neural net. However I felt, given enough data, I could try and let the model figure out the lanes and driving pattern implicitly.</p><h3><strong>Objective</strong></h3><p>The self driving neural net should be able to drive for at least 20–40 seconds on track, as close to center line as possible, without going off track.</p><h3><strong>Approach</strong></h3><p><strong>Data collection</strong></p><p>After some search I found the following script used by Harrison (aka Sentdex) to be the best suited for the task. This function grabs the specified portion of the captured screen and return it as an RGB frame.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/672/1*qk9u_XrWwebKwyJQUO9NAA.png" /></figure><p>I also used his methods of getting and simulating key-presses. The code snippet is as shown below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/521/1*lITfSMFa5vALgk6VyTS5qg.png" /><figcaption>getkeys.py</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/702/1*feyKX2l2ETLl_mC3F-vb2g.png" /><figcaption>directkeys.py</figcaption></figure><p>The hex codes for W, A, S and D keys are saved as constants, for easy access later on.</p><p>Training data was collected using the following code.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/557/1*iJL4RhmoFYJw2L-hQiCniA.png" /></figure><p>The code saves the frames and key presses separately as numpy (.npy) files to disk.</p><p><strong>First model</strong></p><p>For the first try I decided to implement transfer learning model. I used pre-trained InceptionV3 model. I trained only the few top dense layers. The code for the model is as below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/653/1*Lh2vwDbsRYqETo-TTYfTbA.png" /><figcaption>InceptionV3-Transfer Learning</figcaption></figure><p>I expected this model to do well given how powerful using pre-trained models have proven to be. But to my surprise, this model did not perform as well. The car kept going off track within a few seconds of driving. From the error log, the model seemed to have plateaued. I felt perhaps the model is under-fitting and not really converging. I tried to change the top layers architecture and changing the optimizer, but it didn’t help much.</p><p><strong>Second model</strong></p><p>Next I decided to implement the Alexnet architecture.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/783/1*1XHcT0mNIan9_V_C9Wr_DQ.png" /><figcaption>Alexnet</figcaption></figure><p>Once again, the model did not perform as I hoped it would. It faced similar problems as the previous model.</p><p><strong>Training Data modification</strong></p><p>Since these models didn’t perform well, I decided to ultra simplify the training data as well as the ConvNet model. Earlier the key presses included 9 different combination of key inputs, which were forward, left, right, reverse, forward-left, forward-right, reverse-left, reverse-right and no-key press.</p><p>I realized that, while driving, I was using mostly forward, forward-left and forward-right key presses. The rest of the inputs were barely used or not used at all. Therefore, I decided to reduce the key press action space to just these three.</p><p>I also reduced the input frame size by a large amount. The final frame size that I decided upon was 60x60 gray-scale(compared to 224x224x3 RGB frame earlier).</p><p><strong>Final Model</strong></p><p>For the final model, I used a fairly shallow CNN. The final training data I used had about 25 mins of driving. The training took about an hour or so. The code for final CNN architecture is as follows.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/595/1*wAi8kjPTY7S1D9hbij8tVg.png" /></figure><p>And voila! within about 10-15 epochs I started to get very good results. The model could drive the car for about 20–50 seconds, while staying on track. Here’s the result</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fplayer.vimeo.com%2Fvideo%2F335387173%3Fapp_id%3D122963&amp;dntp=1&amp;url=https%3A%2F%2Fvimeo.com%2F335387173&amp;image=https%3A%2F%2Fi.vimeocdn.com%2Fvideo%2F781956613_1280.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=vimeo" width="1280" height="720" frameborder="0" scrolling="no"><a href="https://medium.com/media/de102619be543fff8cdca3680e19b95d/href">https://medium.com/media/de102619be543fff8cdca3680e19b95d/href</a></iframe><p>The model was able to navigate around obstacles at times. The car did go off track on some of the difficult turns. Since the action space(key presses) is so limited, the room for error for this model is very low. If the model takes one slight wrong turn, it results in the car going off track. But overall, the result was quite satisfactory given a very simple CNN model and relatively low amount of data used for training.</p><h3><strong>Going Forward</strong></h3><p>There are plenty of things we can do to improve on this.</p><ol><li>Add lane detection inputs explicitly, which could serve as useful inputs to the model.</li><li>Using CNN-RNN/CNN-LSTM architectures. Since the data is of temporal nature, LSTMs/RNNs on top of CNNs could be used to a great effect.</li><li>Key presses sometimes result in very sharp turns. It would be far better to pose this as a regression problem and build models to predict the steering angle and speed instead.</li><li>Using Deep reinforcement learning. This has also been widely used for self driving cars with a fairly good degree of success.</li></ol><p>It’s incredible how powerful and simple to implement the neural nets are. All it takes is a little patience to tune them and get them to fit the data just right. But it’s easier said than done!</p><h3><strong>References</strong></h3><ol><li><a href="https://github.com/sentdex">https://github.com/sentdex</a></li><li><a href="https://blog.usejournal.com/self-driving-ai-terrorizing-the-great-city-in-nfs-rivals-56d1d2fcda3e">https://blog.usejournal.com/self-driving-ai-terrorizing-the-great-city-in-nfs-rivals-56d1d2fcda3e</a></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a3bc2651fc53" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>