<?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 Gehad Aboharga on Medium]]></title>
        <description><![CDATA[Stories by Gehad Aboharga on Medium]]></description>
        <link>https://medium.com/@gehad.aboharga95?source=rss-134f1fc31dcb------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*XCb9-jPJoG1eFx3nDcoEgA.jpeg</url>
            <title>Stories by Gehad Aboharga on Medium</title>
            <link>https://medium.com/@gehad.aboharga95?source=rss-134f1fc31dcb------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 14:33:08 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@gehad.aboharga95/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[Meet Mr.ChatGPT: A Large Language Model Trained by OpenAI]]></title>
            <link>https://becominghuman.ai/meet-mr-chatgpt-a-large-language-model-trained-by-openai-ab4d1da7e26?source=rss-134f1fc31dcb------2</link>
            <guid isPermaLink="false">https://medium.com/p/ab4d1da7e26</guid>
            <category><![CDATA[chatgpt]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[autonomous-vehicles]]></category>
            <dc:creator><![CDATA[Gehad Aboharga]]></dc:creator>
            <pubDate>Fri, 30 Dec 2022 15:11:59 GMT</pubDate>
            <atom:updated>2023-05-15T21:57:37.373Z</atom:updated>
            <content:encoded><![CDATA[<h3>Meet Mr. ChatGPT: A Large Language Model Trained by OpenAI</h3><h3>Hello, and welcome to the blog! My name is ChatGPT, and I am a large language model trained by OpenAI. <br><em>P.S. This article includes a use case of using ChatGPT in autonomous driving.</em></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EOoGf6vYe0dkZhunIyEwZg.png" /><figcaption>For credits, of image goes to openai.com</figcaption></figure><p>Language models are a type of artificial intelligence (AI) that is trained to generate human-like text. They are typically trained on a large dataset of text, such as books, articles, and websites, and use algorithms and techniques such as natural language processing (NLP) and machine learning to learn the patterns and relationships between words and phrases. This allows them to generate coherent and natural-sounding text similar to how a human would write.</p><p>As a large language model, I have been trained on a dataset of billions of words, giving me a wide range of knowledge and the ability to generate human-like text on a variety of topics. I use state-of-the-art machine learning techniques such as transformers and attention mechanisms to process and generate text and can answer questions, provide information, and even carry on a conversation with you.</p><p>In addition to my capabilities as a language model, I am also designed to be transparent and explain my thought process to users. This means that when I provide an answer or generate text, I can also provide an explanation of the algorithms and techniques that I used to arrive at that answer or text. This can help users understand how AI works and how it is making decisions, and can also help developers to improve and refine language models like myself.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/512/1*JQBu58TU5gKJrE9LZlo7iA.jpeg" /><figcaption>Generated by Stable Diffusion</figcaption></figure><p>Here are a few ways that software developers can benefit from using a language model like myself</p><figure><a href="https://chatbotslife.com/get-certified-in-chatgpt-conversational-ux-dialogflow-425c02ec15cb"><img alt="Get Certified in ChatGPT + Conversational UX + Dialogflow" src="https://cdn-images-1.medium.com/max/795/1*fx8DEiJ8zu1qFnlL3Rt9vQ.png" /></a></figure><ol><li>Code writing, a language model like mine, can assist with tasks such as writing code in different programming languages and frameworks, code templates, code comments, and modification of your existing code. By analyzing the code and the patterns and relationships between different elements, a language model can generate comments and explanations that help other developers to understand the code, and this takes us to the next point.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1011/1*kTkjH_TCdZl-WRBcbFr-sw.png" /><figcaption>Generated by ChatGPT</figcaption></figure><p>2. Code Documentation: For example, a developer might use a language model like myself to generate documentation or a readme file for a software library or API. The developer could provide a set of input examples, and the language model could generate descriptions of the functions and methods in the library, along with examples of how to use them. This could help other developers to understand and use the library more easily.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*f5OPmXPlgOuk5_Sz3J3evQ.png" /><figcaption>Generated by ChatGPT</figcaption></figure><p>3. Text generation and data augmentation: Language models can be used to generate large amounts of text data, which can be useful for tasks such as data augmentation and training machine learning models. For example, a developer could use a language model to generate additional examples of customer service inquiries, which could be used to train a machine learning model to handle those inquiries more accurately.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/993/1*7hUTw3l-874YRPT0bdaDNQ.png" /><figcaption>Generated by ChatGPT</figcaption></figure><p>4. Text summarization and content generation: Language models can also be used to generate summary versions of the text, or to generate original content based on a set of input prompts. This can be useful for tasks such as generating summaries of long articles or creating content for websites or social media. <em>(Having tried it myself, it passed both plagiarism checker and ai content detector tests with a score of 100% unique, 90% human-generated)</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1007/1*EAxXmDhpocjfRgn-hDnw7A.png" /><figcaption>Generated by ChatGPT (the paper name is supposed to be support-vector networks, the robot was wrong here)</figcaption></figure><p>5. Language translation: Language models can be used to translate text from one language to another, which can be useful for tasks such as localization and internationalization of software products.</p><p>6. Text classification and sentiment analysis: Language models can be used to classify text into different categories or to determine the sentiment (positive, negative, or neutral) of a piece of text. This can be useful for tasks such as filtering spam emails or analyzing customer feedback.</p><p>I hope you found this introduction helpful, and I look forward to interacting with you in the future!</p><p><em>As you may have noticed, the last article was mostly generated by ChatGPT itself, except for some parts I modified. see you in the next article!</em></p><p>#chatgpt #autonomousdriving #machinelearning</p><figure><a href="https://chatbotslife.com/get-certified-in-chatgpt-conversational-ux-dialogflow-425c02ec15cb"><img alt="" src="https://cdn-images-1.medium.com/max/689/1*Hv26cNrPbtn0xjLXgIUqcA.png" /></a><figcaption>Get Certified in ChatGPT + Conversational UX + Dialogflow</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ab4d1da7e26" width="1" height="1" alt=""><hr><p><a href="https://becominghuman.ai/meet-mr-chatgpt-a-large-language-model-trained-by-openai-ab4d1da7e26">Meet Mr.ChatGPT: A Large Language Model Trained by OpenAI</a> was originally published in <a href="https://becominghuman.ai/">Becoming Human: Artificial Intelligence Magazine</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deep Learning on edge devices with ROS and Python wrappers : That’s OpenDR]]></title>
            <link>https://medium.com/@gehad.aboharga95/deep-learning-on-edge-devices-with-ros-and-python-wrappers-thats-opendr-3a551f0e139d?source=rss-134f1fc31dcb------2</link>
            <guid isPermaLink="false">https://medium.com/p/3a551f0e139d</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[ml-so-good]]></category>
            <category><![CDATA[robotics]]></category>
            <category><![CDATA[computer-vision]]></category>
            <category><![CDATA[deep-learning]]></category>
            <dc:creator><![CDATA[Gehad Aboharga]]></dc:creator>
            <pubDate>Tue, 16 Aug 2022 17:47:47 GMT</pubDate>
            <atom:updated>2022-08-22T08:58:06.453Z</atom:updated>
            <content:encoded><![CDATA[<h3>Deep Learning on edge devices with ROS and Python wrappers : That’s OpenDR</h3><p>Today I read an interesting paper about OpenDR. The newly published paper talked about providing open-source, ready to use robotics solutions for edge devices.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kZDOigpaZzoDot5qLwO6Iw.png" /></figure><p>Their repo included :</p><ul><li>C API , only in the inference unit (the unit on the robot)</li><li>Python interface, covering : engine - perception - control - planning - simulation</li><li>Ready to use ROS Examples</li><li>Active perception which is when robot uses sensor data as a live feed to the model in the operation time</li><li>static perception which is when model uses recorded data</li><li>Pretrained models</li><li>Automatic hyperparameter tuning</li><li>docker CPU and CUDA enabled images</li></ul><p>The toolkit supports both Webots and AI Gym interface simulators and it follows ONNX (Open Neural Network Exchange Format) which is a format designed to represent any type of Machine Learning and Deep Learning model.</p><p>To achieve 25 Frames Per Second (FPS) when performing inference, it’s advised to use embedded GPU based system.</p><p>The toolbox was divided into three modules :</p><ul><li>Training module on the base unit</li><li>Inference module on the robotic unit</li><li>Simulation module (Webots simulation software)</li></ul><p>The following are some of the demos for the wrappers I tested.</p><h4>Activity Recognition (X3D)</h4><p>The X3D is a family of efficient video recognition models that deliver state-of-the-art offline recognition performance with multiple accuracy/efficiency trade-offs.<br>A wrapper for the X3D implementation that is already in the PySlowFast repository and it was used to train a human activity recognition model on RGB video clips and perform inference.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fplayer.vimeo.com%2Fvideo%2F740044432%3Fh%3Ded8cdf25ef%26app_id%3D122963&amp;dntp=1&amp;display_name=Vimeo&amp;url=https%3A%2F%2Fvimeo.com%2F740044432&amp;image=https%3A%2F%2Fi.vimeocdn.com%2Fvideo%2F1489222748-eabf8cf514a1fad47408a605911d3180e52404bcf4e426051675cfd63000ce5e-d_1280&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=vimeo" width="1920" height="1080" frameborder="0" scrolling="no"><a href="https://medium.com/media/c2bf11eb6132b390932afbfab8c38c30/href">https://medium.com/media/c2bf11eb6132b390932afbfab8c38c30/href</a></iframe><h4>Face Detection (<strong>RetinaFace</strong>)</h4><p>Although facial detection has made great milestones, accurately and efficiently identifying faces in real-world environments remains an open challenge. This works presents a stable one-level face detector called RetinaFace. This detector utilizes supervised learning to perform pixel-by-pixel face localization. Also, In parallel with the existing supervised branch, a decoder branch is added for predicting a pixel-wise 3D shape face information.</p><p>By using a lightweight backbone network, RetinaFace can run VGA resolution images in real time on a single CPU core.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PvKpgbJ5asVkPSiMN1HF6g.png" /><figcaption>OpenDR ROS wrapper for RetinaFace</figcaption></figure><h4>2D Object Detection (SSD)</h4><p>OpenDR provides ROS and python wrappers for multiple object detection techniques such as YoloV3, DETR and more. Here, I tested SSD ROS wrapper.</p><p>SSD is a simple, easy to train method for detecting objects in images using a single deep neural net, Discretizing the bounding box output into a set of standard boxes of various aspect ratios and scales and when it’s time for prediction, the net assigns scores for each object in each default box and adjust the box to align with the object shape.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fplayer.vimeo.com%2Fvideo%2F740055979%3Fh%3Df6725024e3%26app_id%3D122963&amp;dntp=1&amp;display_name=Vimeo&amp;url=https%3A%2F%2Fvimeo.com%2F740055979&amp;image=https%3A%2F%2Fi.vimeocdn.com%2Fvideo%2F1489241431-76d03cd50f46f7ed42045187e2d40f3b586cadbef7b2a4a2ede4be4fff44ec98-d_1280&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=vimeo" width="1920" height="1080" frameborder="0" scrolling="no"><a href="https://medium.com/media/f46e6f037c38e0baa58f75e870ced8fb/href">https://medium.com/media/f46e6f037c38e0baa58f75e870ced8fb/href</a></iframe><h4>3D Object Detection (Pillars)</h4><p>Three Dimensional object detection has been a vital part of any robotic system specially autonomous navigation. Main issue here is that point cloud needs down sampling and preprocessing before entering detection pipeline. Before this method, there were two types of encoders, constant encoder that is fast but not accurate and a variant encoder that learns from data and not fast but accurate. But what if there is a way to learn a representation of point clouds organized in vertical columns (pillars) ?</p><p>And as the encoded features can be used with any standard 2D CNN detection architecture, this method also provides lean downstream network. Testing showed that pillars demonstrated both better accuracy and speed significantly. Using lidar only, This detection accuracy is obtained while running at 62 Hz: a 2- 4 fold runtime improvement.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fplayer.vimeo.com%2Fvideo%2F740060182%3Fh%3D68c181a1dc%26app_id%3D122963&amp;dntp=1&amp;display_name=Vimeo&amp;url=https%3A%2F%2Fvimeo.com%2F740060182&amp;image=https%3A%2F%2Fi.vimeocdn.com%2Fvideo%2F1489248053-fc665e570c55be8fc8ca4ec1c21d31fee77fea3036b4c15caed7c7198042a6ff-d_1280&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=vimeo" width="1920" height="1080" frameborder="0" scrolling="no"><a href="https://medium.com/media/e6dcbeff186337531e57f29f8e2883f7/href">https://medium.com/media/e6dcbeff186337531e57f29f8e2883f7/href</a></iframe><h4>Pose Estimation (Lightweight OpenPose)</h4><p>Real-time 2D multi-person pose estimation is a key component in enabling machines to understand humans in images and videos. In his manner, the proposed method uses a representation called the Part Affinity Field (PAF) to learn to match body parts to people in images. This system provides high accuracy and real-time performance regardless of the number of people in the image.</p><p>In previous studies, PAF and body part localization were refined simultaneously across training levels. Instead of tuning both the PAF and body part positions, it’s found that doing pure PAF tuning significantly improves both run-time performance and accuracy.</p><p>This work resulted in the release of OpenPose. Then, OpenPose was optimized to be Lightweight OpenPose which is based on OpenPose with a difference that it runs as a part of OpenVino toolkit for intel which makes it way lighter for inference on edge devices. Author talks about 26 frames per second on intel core i7 CPU.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1z04cgOKsWJpP59QF8Gk_g.png" /><figcaption>OpenDR ROS wrapper for lightweight OpenPose</figcaption></figure><p>OpenDR has a lot of other interesting examples like : Heart anomaly detection, fall detection, tracking on 2d level and 3d level and much more other than perception ..</p><p>I highly suggest you check their repo : <a href="https://github.com/opendr-eu/opendr">https://github.com/opendr-eu/opendr</a><br>and their paper : <a href="https://arxiv.org/pdf/2203.00403v1.pdf">https://arxiv.org/pdf/2203.00403v1.pdf</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3a551f0e139d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Transfuser Human-like autonomous driving]]></title>
            <link>https://medium.com/@gehad.aboharga95/transfuser-human-like-autonomous-driving-f2b419392a73?source=rss-134f1fc31dcb------2</link>
            <guid isPermaLink="false">https://medium.com/p/f2b419392a73</guid>
            <category><![CDATA[self-driving-cars]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[robotics]]></category>
            <category><![CDATA[ml-so-good]]></category>
            <category><![CDATA[autonomous-driving]]></category>
            <dc:creator><![CDATA[Gehad Aboharga]]></dc:creator>
            <pubDate>Wed, 20 Jul 2022 11:31:05 GMT</pubDate>
            <atom:updated>2022-08-22T08:58:31.384Z</atom:updated>
            <content:encoded><![CDATA[<p>Would you consider getting into a car knowing there is no man behind the wheel ? What if this car is trained to behave exactly as if there is a man behind the wheel ?</p><p>Mimicking exact same view ,scene understanding and decision making of a man driver is what is this research is about.</p><p>it’s known from past research that :<br>Lidar alone is good for scene perception.<br>Camera alone is good for End to End.<br>Both don’t qualify for dynamic complicated scenarios.</p><h3>However,</h3><p>Integrated bird eye view from Lidar and perspective view from camera and fusing them provide us with semi-humanistic scene understanding.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/598/1*VkpZhEfAtaGTGrBECUrzuA.png" /></figure><p>This paper presents a novel architecture for end to end driving taking both lidar and camera as input and produces a waypoint for the car to follow as output.</p><p>Sensor Fusion between image and lidar is not new. However, In past research they mostly focus on single modality sensor fusion while in this model, you can use multi modal CNN and the “transformer model” to understand a scene for example where there is both traffic light and incoming car from the neighboring intersection like the photo below :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*E5kQOnA5RaRGVCK5BzshOA.png" /></figure><p>The resulting model is the transfuser and the output is a waypoint.</p><p>Also, Sensor fusion in the past stopped at fusion (not End to End)</p><p>Most approaches assume very neat road with minimal probability of crash and no complex scenarios which makes it important to us to find a more realistic approach</p><p><strong>Concept</strong> :Imitation Learning (IL</p><p>The goal of IL is to learn a policy π that imitates the behaviour of an expert π*.</p><p>In this case, a policy is a mapping from inputs to waypoints that are provided to a separate low-level controller to output actions. (supervised learning).<br>High level global planner used GPS coordinates as the final goal.</p><p>Control : both longitudinal and lateral controller were used , one for magnitude only and the other for direction only</p><p><strong>Concept</strong> : Creeping<br>If the car stayed still more than the standard wait time of the traffic red light , it’s set to creep just not to stop forever mimicking the training data</p><p><strong>Concept</strong>: Auxiliary tasks<br>Tasks other than following the expert policy and minimizing loss function<br>They have here :</p><ul><li>Depth prediction</li><li>HD Map</li><li>Vehicle detection</li><li>semantics segmentation</li></ul><p>Classes of segmentation : (1) unlabelled, (2) vehicle, (3) road, (4) red light, (5) pedestrian, (6) lane marking, and (7) sidewalk.</p><p>The forecasting is done using the pretrained kinematic bicycle model. This bicycle model is a simple mathematical model that can predict the position, orientation, and speed of a car after a discrete time step, given its current position orientation speed and the applied control.</p><p>Carla’s most dynamic and long routes were used and the following evaluation Metrics were set :<br>- RC : Route Completion<br>- Infraction Score : Road Bias<br>- DS Driving score : weighted average of IS and RC<br>- Infractions per km</p><p>They compared these metrics in a table to the expert policy and four other similar algorithms : WOR-LAV -Late Fusion -Geometric Fusion.</p><p><strong>Equipment</strong> : one lidar and three front facing cameras with 60 deg differences. All cameras were augmented in one pic using Regnet and lidar is augmented into the final image using Regnet too.</p><p>The models are trained with 4 RTX 2080Ti GPUs for 41 epochs, with an initial learning rate of 10−4 and a batch size of 12. They reduce the learning rate by a factor of 10 after epoch 30 and 40 and evaluate the epochs 31, 33, 35, 37, 39 and 41 closed loop on the validation routes for one seed and pick the epoch with the highest driving score.</p><p>For all models, they use the AdamW optimizer , which is a variant of Adam. Weight decay is set to 0.01, and Adam beta values to the PyTorch defaults of 0.9 and 0.999.</p><p><strong>Concept</strong> : Attention<br>Attention is used when there is a too long sequence in the neural net, they set a variable alpha which implies the how much important is this exact feature or unit or neuron. So they shuffle a set of alphas (also named context ) each time and iterate till convergence.</p><p>The sequence on which they apply attention here is the semantic map. The model still has higher collisions per km than the expert policy when setting traffic to max in carla. Average runtime on RTX 3090 GPU Machine is 27.6 for single model.</p><p>Carla Leaderboard Evaluation a and comparison :<br>When submitting model to Carla leaderboard, they evaluate it over 100 secret routes to ensure that there is no overfitting.</p><p>In the image based : Latent transfuser ranked on top of the board with a difference of 10 in the driving score to the next best which is based on RL and requires 200X more samples for training</p><p>In lidar based, Transfuser comes next best to LAV . Transfuser can be improved to surpass the LAV by adding Active learning to the model. Also mentioned in paper that Changing Camera FOV or lidar range led to decrease in performance</p><p>Main problem for this research is that data is gathered from simulation only on Carla, not real world data which can open the door for further research.</p><p>Short video demo is posted on my Linkedin: linkedin.com/in/gehadaboharga/</p><p>Reference paper is in this github repo : <a href="https://github.com/autonomousvision/transfuser">https://github.com/autonomousvision/transfuser</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f2b419392a73" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Autonomous guru]]></title>
            <link>https://medium.com/@gehad.aboharga95/autonomous-guru-a87253625634?source=rss-134f1fc31dcb------2</link>
            <guid isPermaLink="false">https://medium.com/p/a87253625634</guid>
            <dc:creator><![CDATA[Gehad Aboharga]]></dc:creator>
            <pubDate>Wed, 15 Jun 2022 07:16:43 GMT</pubDate>
            <atom:updated>2022-06-15T07:16:43.155Z</atom:updated>
            <content:encoded><![CDATA[<p>Just a passionate software engineer. I like writing simple summaries for scientific papers in Machine Learning and Autonomous Driving</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a87253625634" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>