<?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 Khalid Riyaz on Medium]]></title>
        <description><![CDATA[Stories by Khalid Riyaz on Medium]]></description>
        <link>https://medium.com/@khalidriyaz?source=rss-94e0a9aefb27------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*Hyo4JssST9_mLk4akpyuMA.png</url>
            <title>Stories by Khalid Riyaz on Medium</title>
            <link>https://medium.com/@khalidriyaz?source=rss-94e0a9aefb27------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 13:27:08 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@khalidriyaz/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[Google Summer Of Code 2020 with CloudCV]]></title>
            <link>https://medium.com/@khalidriyaz/google-summer-of-code-2020-with-cloudcv-f00ca26e5c79?source=rss-94e0a9aefb27------2</link>
            <guid isPermaLink="false">https://medium.com/p/f00ca26e5c79</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[cloud]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[gsoc]]></category>
            <category><![CDATA[cloudcv]]></category>
            <dc:creator><![CDATA[Khalid Riyaz]]></dc:creator>
            <pubDate>Mon, 31 Aug 2020 11:13:48 GMT</pubDate>
            <atom:updated>2020-09-15T10:44:18.203Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*LUJGK8SKgt55J_zp" /></figure><p>Another GSoC has come to an end, and I am thrilled to share my progress. I spent the summer with<a href="https://cloudcv.org/"> <strong><em>CloudCV</em></strong></a><strong><em> </em></strong>working on the project: “<a href="https://summerofcode.withgoogle.com/projects/#5812541529260032">Streamlining challenge creation on EvalAI</a>” and had an exciting 3 months where I got to work with an amazing Open source community while increasing my skills as a Software developer.</p><p>A big thanks to my mentors<a href="https://medium.com/u/5dd639f23a4f?source=post_page-----faa03c95219----------------------"> <strong>Deshraj Yadav</strong></a> (Github-@<a href="https://github.com/deshraj">deshraj</a>), <strong>Ram Ramrakhya </strong>(Github-@<a href="https://github.com/Ram81">Ram81</a>) and<a href="https://medium.com/u/517ddd912530?source=post_page-----faa03c95219----------------------"> <strong>Rishabh Jain</strong></a><strong> </strong>(Github-<a href="https://github.com/RishabhJain2018">@RishabhJain2018</a>) for their constant support and guidance throughout the Summer.</p><h3>CloudCV and EvalAI:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*pFgh4ytO5U6kQZcU" /></figure><p><a href="https://cloudcv.org/"><strong><em>CloudCV</em></strong></a> is an open source org with the aim to make AI research more reproducible. We actively work on building tools that enable researchers to build, compare and share start-of-the-algorithms.</p><p><a href="https://evalai.cloudcv.org/"><strong><em>EvalAI</em></strong></a><strong><em>,</em></strong>a project of CloudCV<strong><em> </em></strong>is an open source platform for evaluating and comparing ML and AI algorithms at scale.</p><h3>Project:</h3><p>To host a challenge, challenge creation is one of the core features which is utilised by the hosts to create AI challenges. Among the high level goals are:</p><ul><li>Enhancing the challenge creation experience for challenge hosts and set up a challenge on EvalAI, involving minimal effort from the EvalAI team</li><li>Offer more control to the hosts over the submission worker and provide continuous feedback</li><li>Remove the human in the loop as much as possible for different steps in the challenge’s lifecycle</li></ul><p>All my tasks and contributions this summer were designed to further the same goals:</p><ul><li>Auto launch submission workers on challenge approval and notify hosts (PR<a href="https://github.com/Cloud-CV/EvalAI/pull/2807"> #2807</a>)</li><li>Auto stop and delete submission workers on challenge un-approval (PR<a href="https://github.com/Cloud-CV/EvalAI/pull/2912"> #2192</a>)</li><li>Enabled a manage tab on EvalAI where the challenge hosts can see worker logs, and launch/stop/relaunch the submission worker(s) on AWS (PR<a href="https://github.com/Cloud-CV/EvalAI/pull/2862"> #2862</a> &amp; PR<a href="https://github.com/Cloud-CV/EvalAI/pull/2863"> #2863</a> )</li><li>Enabled auto reload worker containers on AWS, after updating a challenge’s evaluation script or a test annotation file in EvalAI’s database (PR<a href="https://github.com/Cloud-CV/EvalAI/pull/2867"> #2867</a>)</li><li>Implemented and enabled Submission meta attributes for a challenge to offer more actionable insights to the challenge hosts regarding the submissions (PR<a href="https://github.com/Cloud-CV/EvalAI/pull/2831"> #2831</a> &amp; PR<a href="https://github.com/Cloud-CV/EvalAI-Starters/pull/21"> #21</a>)</li><li>Added a feature to upload large test annotations and large submissions through pre-signed urls to S3 using EvalAI-cli (PR<a href="https://github.com/Cloud-CV/EvalAI/pull/2906"> #2906</a> &amp; PR<a href="https://github.com/Cloud-CV/evalai-cli/pull/277"> #277</a> — Yet to be merged)</li><li>Added GitHub based challenges to enables validation, creation and updates of challenges, directly from the challenge host’s private Github repository (PR<a href="https://github.com/Cloud-CV/EvalAI/pull/2965"> #2965</a> &amp; PR <a href="https://github.com/Cloud-CV/EvalAI-Starters/pull/26">#26</a> )</li><li>Adding Template based challenges in the UI to reduce challenge setup time (PR<a href="https://github.com/Cloud-CV/EvalAI/pull/2925"> #2925</a> )</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*yvHCpfCXtTXmjcfl" /><figcaption>Major languages &amp; tools and used</figcaption></figure><p><strong>Conclusion:</strong></p><p>It was a bit challenging to balance my job and GSoC tasks, but constant support and guidance from mentors helped me pull this off. I’ll work with CloudCV in the future on more exciting stuff, and continue my Open source journey.</p><p>Thanks!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f00ca26e5c79" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Google Summer Of Code 2019 with CloudCV]]></title>
            <link>https://medium.com/@khalidriyaz/google-summer-of-code-2019-with-cloudcv-a16927f57249?source=rss-94e0a9aefb27------2</link>
            <guid isPermaLink="false">https://medium.com/p/a16927f57249</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[gsoc]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Khalid Riyaz]]></dc:creator>
            <pubDate>Mon, 26 Aug 2019 13:51:43 GMT</pubDate>
            <atom:updated>2020-06-11T12:29:42.618Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ak4FpU5J-1lugWWx.jpg" /></figure><p>I am<strong> Khalid Riyaz (</strong>Github-@<a href="https://github.com/KhalidRmb">KhalidRmb</a><strong>)</strong>, an undergraduate at <strong>BITS Pilani, Hyderabad </strong>selected for <strong>GSoC ’19</strong> with <a href="https://cloudcv.org/"><strong><em>CloudCV</em></strong></a><strong><em> </em></strong>for the project: “<a href="https://summerofcode.withgoogle.com/projects/#5315037021863936"><em>Implement Robust evaluation pipeline in EvalAI</em></a>”. It’s been a very productive and exciting 3 months where I got to work with an amazing community while vastly increasing my skills.</p><p>A big thanks to my mentors<strong> </strong><a href="https://medium.com/u/517ddd912530?source=post_page-----faa03c95219----------------------"><strong>Rishabh Jain</strong></a><strong> </strong>(Github-<a href="https://github.com/RishabhJain2018">@RishabhJain2018</a>), <strong>Ram Ramrakhya </strong>(Github-@<a href="https://github.com/Ram81">Ram81</a>)and <a href="https://medium.com/u/5dd639f23a4f?source=post_page-----faa03c95219----------------------"><strong>Deshraj Yadav</strong></a> (Github-@<a href="https://github.com/deshraj">deshraj</a>) for their constant support and guidance throughout the Summer.</p><h3>About CloudCV and EvalAI:</h3><figure><img alt="CloudCV organization logo." src="https://cdn-images-1.medium.com/max/368/1*G6r8dezf4aYMGb7HQrKILA.png" /></figure><p><a href="https://cloudcv.org/"><strong><em>CloudCV</em></strong></a> is an open source cloud platform with the aim to make AI research more reproducible. <em>CloudCV </em>actively works on building tools that enable researchers to build, compare and share start-of-the-algorithms. <strong><em>EvalAI, </em></strong>a project of CloudCV<strong><em> </em></strong>is an open source platform for evaluating and comparing Machine Learning (<strong>ML</strong>) and Artificial intelligence (<strong>AI</strong>) algorithms at scale. Some of the features offered:</p><ul><li>Custom evaluation protocols and phases</li><li>Remote evaluation</li><li>CLI support</li><li>Portability</li><li>Evaluation inside custom environments</li></ul><p><em>For more information refer:</em> <a href="https://github.com/Cloud-CV/EvalAI"><strong><em>EvalAI</em></strong></a></p><h3><strong>Project:</strong></h3><p>The whole project was divided into <strong>3 phases</strong> with each one dealing with different aspects of EvalAI, with an initial bonding period.</p><p>Over the duration of the project, I’ve worked extensively with <strong>REST APIs </strong>&amp; <a href="https://aws.amazon.com/"><strong>AWS</strong></a>. The project was mainly in <strong>Python</strong>, <strong>AngularJS</strong>, <strong>Django</strong> and <strong>Docker</strong>.</p><p>The bonding period coupled with a learning period where I got an in-depth exposure to the codebase, while solving various issues and writing unit &amp; integration tests for the evaluation workers of EvalAI.</p><h3><strong>Phase 1:</strong></h3><p>My first phase was mainly related to <strong>migrating the Evaluation worker service </strong>to<strong> AWS Fargate</strong> from EC2 and create various management features for the containers operated through a Django admin dashboard, over the current and the next phase.</p><p>Using <a href="https://boto3.amazonaws.com/"><strong>boto3</strong></a><strong> (</strong>Python SDK for AWS<strong>)</strong>, I successfully implemented the features to <strong>Start</strong> &amp; <strong>Stop</strong> the Evaluation worker services on Fargate (with each container configured to a particular challenge) through a single click from a Django admin dashboard. Along with this, I also implemented features for <strong>Horizontal scaling</strong> <strong>of the worker services </strong>to deal with increased load &amp; traffic during select periods of a challenge.</p><h3><strong>Phase 2:</strong></h3><p>I continued to work on the Evaluation pipeline adding the following features:</p><ul><li><strong>Restart</strong> the containers manually through the admin dashboard, along with <strong>Automatic Restarting</strong> whenever the evaluation specifications or the script changes in the Database.</li><li>Also, a feature to <strong>Stop</strong> the workers on demand was also implemented.</li></ul><p>Paralelly, I continued refining the features from the previous phase to handle various corner cases and more scenarios after reviews by my mentors, along with the Tests for all the features.</p><ul><li>Another task I finished is a feature to <strong>Resend the verification Email for new users with Throttling </strong>using<strong> MemCache.</strong></li></ul><p><em>Link to my work during Phase1 &amp; 2:</em></p><ul><li><a href="https://docs.google.com/presentation/d/e/2PACX-1vRT8dfYr1VQ3YDTBYT5dQvtNb0DIrM-pT2T_EF27wEMLIo-BRZwAB_Hx38cZEVEkCPcCfoNaKeKkOef/pub?start=false&amp;loop=false&amp;delayms=5000">Presentation</a></li><li>A demo for the Fargate features:</li></ul><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fj-1L0mNUA98%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dj-1L0mNUA98&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fj-1L0mNUA98%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/f3d84bdeeddc1e0bf9ea0fe3e47c3593/href">https://medium.com/media/f3d84bdeeddc1e0bf9ea0fe3e47c3593/href</a></iframe><ul><li>Pull Requests:</li></ul><ul><li><a href="https://github.com/Cloud-CV/EvalAI/pull/2404">Features to deploy worker on Fargate. by KhalidRmb · Pull Request #2404 · Cloud-CV/EvalAI</a></li><li><a href="https://github.com/Cloud-CV/EvalAI/pull/2413">Tests for aws_utils. by KhalidRmb · Pull Request #2413 · Cloud-CV/EvalAI</a></li><li><a href="https://github.com/Cloud-CV/EvalAI/pull/2401">Add frontend, backend &amp; test for Resend Email feature with throttling. by KhalidRmb · Pull Request #2401 · Cloud-CV/EvalAI</a></li><li><a href="https://github.com/Cloud-CV/EvalAI/pull/2352">Integration tests for Submisison worker. by KhalidRmb · Pull Request #2352 · Cloud-CV/EvalAI</a></li><li><a href="https://github.com/Cloud-CV/EvalAI/pull/2336">Unit tests for Submission worker. by KhalidRmb · Pull Request #2336 · Cloud-CV/EvalAI</a></li><li><a href="https://github.com/Cloud-CV/EvalAI/pull/2350">Unit tests for remote_submission_worker. by KhalidRmb · Pull Request #2350 · Cloud-CV/EvalAI</a></li></ul><h3><strong>Final Phase:</strong></h3><p>This phase got me more involved with the other parts of the codebase including a CLI (Command Line Interface) tool.</p><p>I added 4 main features to EvalAI:</p><ul><li><strong>Custom Requirements for Challenges: </strong>The Challenge hosts want to have custom environments and consequently Custom Requirements to evaluate the submissions in. I added a feature such that the users can send EvalAI their custom requirements and we will deploy the challenge-specific workers accordingly.</li><li><strong>Private Annotation Files</strong>: The hosts may not want to share their evaluation metrics/annotation files with EvalAI in case of remote challenges. I implemented a feature such that the hosts can load the annotation files in the workers themselves without ever loading the files in the EvalAI database when creating the challenge.</li><li><strong>Local Chalenge Config file verification:</strong> To create the challenge, a config file is uploaded to EvalAI by the hosts. I added a feature to verify the file for any errors or warnings locally, before creating the challenge, so the whole process can be smooth. (Through <a href="https://github.com/Cloud-CV/evalai-cli"><strong>EvalAI-CLI</strong></a>)</li><li><strong>Database seeding:</strong> Lastly, a feature to seed the database with a Submission and Leaderboard data when first start the EvalAI service locally in the dev environment to give an overview to the users.</li></ul><p><em>Here’s a link to my work during Phase 3:</em></p><ul><li><a href="https://github.com/Cloud-CV/EvalAI/pull/2433">Add feature to seed the database with Submission and Leaderboard entries. by KhalidRmb · Pull Request #2433 · Cloud-CV/EvalAI</a></li><li><a href="https://github.com/Cloud-CV/EvalAI/pull/2431">Add feature to load Custom requirements for a challenge. by KhalidRmb · Pull Request #2431 · Cloud-CV/EvalAI</a></li><li><a href="https://github.com/Cloud-CV/EvalAI/pull/2430">Add feature to verify challenge configuration locally. by KhalidRmb · Pull Request #2430 · Cloud-CV/EvalAI</a></li><li><a href="https://github.com/Cloud-CV/evalai-cli/pull/170">Add option to verify challenge config file locally. by KhalidRmb · Pull Request #170 · Cloud-CV/evalai-cli</a></li><li><a href="https://github.com/Cloud-CV/EvalAI/pull/2423">Add feature for Private Annotation. by KhalidRmb · Pull Request #2423 · Cloud-CV/EvalAI</a></li></ul><p><em>Future:</em></p><ul><li>Deploy the Features for Worker management on Fargate to production.</li><li>Write tests for the Config Verification feature (evalai-cli PR <a href="https://github.com/Cloud-CV/evalai-cli/pull/170">#170</a> &amp; EvalAI PR <a href="https://github.com/Cloud-CV/EvalAI/pull/2430">#2430</a>)</li></ul><h3>Conclusion:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FhmAV56MwOtZb1LkLLXCmQ.png" /><figcaption>Major tools &amp; libraries used.</figcaption></figure><p><em>My key takeaways:</em></p><ul><li>Learnt about the various tools involved.</li><li>Understood effective coding practices on large scale projects, while integrating various components.</li><li>Learnt how to break down a complex problem and solve it effectively.</li></ul><p>I am grateful that I got to work with such a great community, which without doubt was one of my best learning experiences. It was a pleasure working under my mentors, and I would surely work with CloudCV in the future on more exciting stuff.</p><p>Thanks!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a16927f57249" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My GSoC journey with CloudCV (Phase 1)]]></title>
            <link>https://medium.com/@khalidriyaz/my-gsoc-journey-with-cloudcv-phase-1-faa03c95219?source=rss-94e0a9aefb27------2</link>
            <guid isPermaLink="false">https://medium.com/p/faa03c95219</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[gsoc]]></category>
            <category><![CDATA[google-summer-of-code]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[open-source]]></category>
            <dc:creator><![CDATA[Khalid Riyaz]]></dc:creator>
            <pubDate>Sun, 07 Jul 2019 18:07:05 GMT</pubDate>
            <atom:updated>2019-07-07T18:16:31.144Z</atom:updated>
            <content:encoded><![CDATA[<h3>My GSoC 2019 journey with CloudCV (Phase 1)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/804/0*cILTGi_0Juc5BqS8.png" /></figure><h3>About me:</h3><p>I’m <strong>Khalid Riyaz</strong>, an undergraduate at <strong>BITS Pilani, Hyderabad </strong>in the pre-final year selected for <strong>GSoC ’19</strong> with <a href="https://cloudcv.org/"><strong><em>CloudCV</em></strong></a><strong><em> </em></strong>for the project: “<a href="https://summerofcode.withgoogle.com/projects/#5315037021863936"><em>Implement Robust evaluation pipeline in EvalAI</em></a>”. This post comes in light of completion of the first coding phase. A big thanks to my mentors <a href="https://medium.com/u/517ddd912530">Rishabh Jain</a>, Ram Ramrakhya and <a href="https://medium.com/u/5dd639f23a4f">Deshraj Yadav</a> for their support and guidance.</p><p>Having worked on diverse issues with <em>CloudCV</em> well before the coding period started on May 27th helped me get familiar with EvalAI’s codebase in due time. In the process, I became proficient with <strong>Angular</strong> and <strong>Django</strong>, while learning and using <strong>Docker,</strong> which is all the rage in the container world today. (It’s worrying to think of a productive development cycle without the Standardization offered by Docker…To think of the barbaric times in the pre-docker era!).</p><h3>About CloudCV and EvalAI:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/200/0*q4P2XHvH2DIGQ5_X" /></figure><p><strong><em>CloudCV</em></strong> is an open source cloud platform with the aim to make AI research more reproducible. <em>CloudCV </em>actively works on building tools that enable researchers to build, compare and share start-of-the-algorithms. <strong><em>EvalAI, </em></strong>a project of CloudCV<strong><em> </em></strong>is an open source platform for evaluating and comparing Machine learning (<strong>ML</strong>) and Artificial intelligence (<strong>AI</strong>) algorithms at scale. Some of the features offered:</p><ul><li>Custom evaluation protocols and phases</li><li>Remote evaluation</li><li>CLI support</li><li>Portability</li><li>Evaluation inside custom environments</li></ul><p><em>For more information refer:</em> <a href="https://github.com/Cloud-CV/EvalAI"><strong><em>EvalAI</em></strong></a></p><h3>The coding period.</h3><p>EvalAI is currently hosted on <strong>EC2</strong> instances of <strong>AWS</strong>. EC2 are powerful compute engines but require a very hands-on approach with supervising and deploying applications. However, AWS <strong>Fargate</strong> encapsulates the EC2 instances and allows the developers to focus solely on the docker application. In the same vein, the first phase of the project has largely been to migrate the submission evaluation service from EC2 to Fargate and set up horizontal scaling through a <strong>django admin</strong> dashboard among other executive functions.</p><p>Before getting into the nitty gritty, I was tasked with to write the unit &amp; integration tests for the service to get comfortable with its machinery. I then discovered the intriguing concepts of <em>Mocks</em> and <em>Monkey patching</em>. (They make your tests work like magic!)</p><p>This project being my first foray into AWS, I then transitioned into the learning phase of ramping up on the same (and eventually implemented the same) — <strong>SQS</strong>(Messaging queue used by EvalAI), <strong>Healthchecks</strong>, <strong>VPC</strong>, <strong>Fargate</strong>, <strong>Cloudwatch</strong>, <strong>IAM</strong>, <strong>Container networking</strong>, <strong>boto3</strong>(the python SDK for AWS) etc. and the whole shebang of container orchestration to smoothly implement the deployment to Fargate, all while working parallely on some tests due to a few blockers! I also courted <strong>CI/CD</strong> mechanisms for auto-deploying the latest docker image of the code from Github.</p><p>(Just when it couldn’t get more exciting this summer, the first evaluations approached which went successfully. Thanks to my mentors!)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/636/0*MBdjCsQF4_JriHE1" /></figure><h3>Future.</h3><p>Once deployed in production, I hope to add some much requested features from the challenge hosts, setup a CI/CD mechanism for the worker service, and a lot more exciting stuff. Looking forward to a fun and productive summer!</p><p><strong>Some of my work so far:</strong></p><p><a href="https://github.com/KhalidRmb/EvalAI/commits/FargateDeploymentBranch">https://github.com/KhalidRmb/EvalAI/commits/FargateDeploymentBranch</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=faa03c95219" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>