<?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 I191863 Faizan Bin Zubair on Medium]]></title>
        <description><![CDATA[Stories by I191863 Faizan Bin Zubair on Medium]]></description>
        <link>https://medium.com/@i191863?source=rss-984a8ca9ab98------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*n-9CwX3OKFAJXdAl</url>
            <title>Stories by I191863 Faizan Bin Zubair on Medium</title>
            <link>https://medium.com/@i191863?source=rss-984a8ca9ab98------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 10:00:47 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@i191863/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[Title: Streamlining Character Design with 3C “Harnessing DevOps for Efficient Creation”]]></title>
            <link>https://medium.com/@i191863/title-accelerating-character-design-with-3c-a-deep-learning-based-web-application-8b221380b933?source=rss-984a8ca9ab98------2</link>
            <guid isPermaLink="false">https://medium.com/p/8b221380b933</guid>
            <dc:creator><![CDATA[I191863 Faizan Bin Zubair]]></dc:creator>
            <pubDate>Sat, 13 May 2023 09:57:04 GMT</pubDate>
            <atom:updated>2023-05-29T15:42:17.412Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rLmIfH5Dal7lD6ZReQpeiQ.jpeg" /></figure><p><strong>Introduction:</strong><br>In today’s fast-paced world, designing intricate 3D characters can be a time-consuming and resource-intensive task. To address this challenge, we introduce 3C, a web-based application that leverages deep learning and segmentation techniques to streamline the process of creating 3D models of humans. With 3C, users can easily upload a 360-degree video featuring their desired character and let the system handle the intricate details. The application automates video processing, including frame extraction, background removal, and blurring, to generate a high-quality 3D model file. This revolutionary solution empowers game designers and graphic artists to save hours or even days of manual character design work, enabling them to focus on other critical tasks.</p><p><strong>Problem Statement:</strong><br>The traditional approach to character design requires significant time and effort, impeding productivity for game designers and graphic artists. The aim of this project is to alleviate this bottleneck by providing a user-friendly online platform that automates the character design process using deep learning techniques. By reducing the time and human resources required for character creation, individuals and companies can redirect their efforts toward other aspects of game development, enhancing efficiency and creativity.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/951/1*2UN9bk8JqkWO_K14fpjpeA.jpeg" /></figure><p><strong>Objective:</strong><br>1. Online Character Creation: Enable users to effortlessly create their desired characters using the 3C web application, leveraging deep learning and segmentation techniques.<br>2. Application Integration: Provide users with the flexibility to import their generated character models into their preferred 3D modeling applications such as MeshLab and Blender, allowing further customization and refinement.<br>3. Game Development Integration: Empower users to seamlessly import their generated 3D characters into popular game development applications like Unreal Engine 5, facilitating the integration of characters into immersive game environments.<br>4. Convenient Access to Previous Creations: Facilitate users in accessing their previously generated 3D characters as and when required, providing a repository of their design assets for easy retrieval and reuse.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eANRmne2w3FOdsss8lJkXA.jpeg" /></figure><p><strong>Implementing DevOps Principles in 3C:</strong><br>The development and deployment of 3C will embrace DevOps principles to ensure efficient collaboration, continuous integration, and seamless delivery. By implementing DevOps practices, the team behind 3C will:</p><p>1. Emphasize Collaboration: Foster effective communication and collaboration between developers, designers, and operations teams, facilitating seamless coordination throughout the development lifecycle.<br>2. Automated Testing: Implement automated testing frameworks to ensure the stability, reliability, and quality of the 3C application, minimizing the risk of issues in production.<br>3. Continuous Integration and Deployment: Utilize CI/CD (Continuous Integration/Continuous Deployment) pipelines to automate the build, testing, and deployment processes, enabling frequent updates and enhancements to the 3C application.<br>4. Infrastructure as Code: Leverage infrastructure-as-code principles to manage and provision the necessary computing resources, ensuring consistency and scalability across different environments.<br>5. Monitoring and Feedback: Implement robust monitoring systems to track the performance and usage of the 3C application, providing valuable insights for optimization and user feedback.</p><p><strong>By adopting DevOps principles</strong>, the development team behind 3C aims to deliver a reliable, scalable, and user-centric application that revolutionizes the character design process while ensuring a smooth and efficient development workflow.</p><p><strong>In conclusion,</strong> 3C offers a game-changing solution for character design, leveraging deep learning and segmentation techniques to accelerate the process. By providing a user-friendly interface, integration with popular 3D modeling applications, and seamless compatibility with game development environments, 3C empowers designers to focus on creativity and innovation, ultimately enhancing productivity and efficiency in the gaming industry.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8b221380b933" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Arrikto(Managed Kubeflow)]]></title>
            <link>https://medium.com/@i191863/arrikto-managed-kubeflow-5c2212b39c2a?source=rss-984a8ca9ab98------2</link>
            <guid isPermaLink="false">https://medium.com/p/5c2212b39c2a</guid>
            <dc:creator><![CDATA[I191863 Faizan Bin Zubair]]></dc:creator>
            <pubDate>Fri, 05 May 2023 21:53:31 GMT</pubDate>
            <atom:updated>2023-05-06T21:25:12.905Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/650/1*Hf_y8LuD4Us4zZMVOFAbzA.png" /></figure><p>Arrikto provides managed Kubeflow service on cloud so creating and executing ML pipelines become one click away. It is a managed service so user does not need to worry about the underlying infrastructure.</p><p>Installing Kubeflow can be hard for someone with zero DevOps knowledge. As Kubeflow is built on top of kubernetes so one has to first install kubernetes in order get Kubeflow up and running.</p><p>Arrikto abstracts away the underlying infrastructure so user only focuses on training, testing and serving of the model.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/0*bRmWruxHzIHKQvDm.png" /></figure><h3>1. Kubeflow Notebooks:</h3><p>Notebooks in Kubeflow are customizable. During initiation of Jupyter server we can specify min and max CPUs for the Jupyter server so notebook can auto-scale depending on the requirements. We can start the Notebook server by clicking Notebooks on the navigation bar and select desired resources and their sizes and voila Jupyter server is up and running.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*zmWDRwetTLx7w3Lv.png" /></figure><h3>2. Tensorboards:</h3><p>Tensorboards are used of visualizing ML workflow. With Tenorboards we can visulize how our model performance behaves with different values of hyperparameters and we can improve our model’s performance by selecting the desired values.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*0fej8hSgqaBjLYkv.png" /></figure><h3>3. Models:</h3><p>Once our model is trained our next step is deploy it. Model servers are used for model deployment. Once model is deployed on model server we can then make inference remotely.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*qXZrKqFmzU8eZnf4.png" /></figure><h3>4. Snapshots:</h3><p>Snapshots are used for disaster recovery. Snapshots are logs of changes made to the system. Arrikto uses ROK for snapshots. When a system crashes, these snapshots helps in reverting to functional state so downtime is minimum and no data is lost.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*dv4ae0Zu7Fs-l9M-.png" /></figure><h3>5. Volumes:</h3><p>Volumes are file system storage attached to notebooks. Data resides here and from here we read the data and train our model. After training our model we save the model file in the attached volume.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*jif_YzADfE8tRIWh.png" /></figure><h3>6. Experiments (Auto-ML):</h3><p>Experiments automates ML pipeline. Once an experiment is created entire ML pipeline executes with different models and different values of hyperparameters and the optimal results are recorded. Arrikto does this using Kale.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*m51UNxBwclaS3V0K.png" /></figure><h3>7. Pipelines and Runs:</h3><p>Piplines are used for automating the execution of ML workflow. We can create a pipeline in pipelines section and schedule a run for automatic execution.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*rlhbXloU86qRDzZ1.png" /></figure><h3>8. Recurring Runs:</h3><p>Recurring Runs as the name suggest repeating run of a pipeline. It is used for obtaining multiple results so with Tensorboards we can see the pattern in results and make an informed judgement on what to do next.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*AeGj7JNFoth5HcaB.png" /></figure><h3>9. Metrics</h3><p>Metrics keeps log of all the api requests. It also displays graph so tracking of events become nice and easy.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*qyRnzcMB3QX79-Ww.png" /></figure><p>Arrikto abstracts away the underlying architeture making it easier for data scientist and ML engineers to focus on model training, testing and serving. Arrikto also allows users to use kubeflow for free. Users are given 7 day free trail.</p><blockquote>Here are some commands to run Arrikto Managed Kubeflow:</blockquote><h4><strong>1. Install the Arrikto CLI:</strong></h4><p>curl <a href="https://downloads.arrikto.com/ops-cli/stable/linux/amd64/ops">https://downloads.arrikto.com/ops-cli/stable/linux/amd64/ops</a> -o ops chmod +x ops sudo mv ops /usr/local/bin/</p><h4>2. Authenticate to the Arrikto Managed Kubeflow cluster:</h4><p>ops cluster login</p><h4>3.Create a new Kubeflow deployment:</h4><p>ops cluster create my-kubeflow-deployment</p><h4>4.Connect to the Kubeflow dashboard:</h4><p>ops dashboard connect my-kubeflow-deployment</p><h4>5.Launch a Jupyter notebook server:</h4><p>ops notebook create</p><h4>6.Submit a Kubeflow pipeline:</h4><p>ops pipeline submit my-pipeline.yaml</p><h3><strong>References:</strong></h3><ul><li><a href="https://www.kubeflow.org/docs/started/">Getting Started</a></li><li><a href="https://www.arrikto.com/">Home</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5c2212b39c2a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deploy a simple machine learning model using Flask on Jenkins by using Docker]]></title>
            <link>https://medium.com/@i191863/deploy-a-simple-machine-learning-model-using-flask-on-jenkins-by-using-docker-a16c1e3bb9c6?source=rss-984a8ca9ab98------2</link>
            <guid isPermaLink="false">https://medium.com/p/a16c1e3bb9c6</guid>
            <dc:creator><![CDATA[I191863 Faizan Bin Zubair]]></dc:creator>
            <pubDate>Thu, 23 Mar 2023 11:51:20 GMT</pubDate>
            <atom:updated>2023-03-23T16:36:27.666Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/767/1*Y4ESamLIExHfBwp1bCloLg.png" /></figure><p>As a newbie in machine learning, it might have been simple for anyone to obtain adequate resources to learn about the algorithms for deep learning as well as machine learning, but when I decided to look for examples to deploy ML models to server, I couldn’t find even any good resources which could help me to deploy my model since I’m very new to this discipline. So, while successfully deploying my model using Flask as an API, I decided that I wanted to create a tutorial to guide others through the process. Hope it’s useful.</p><p>In order to keep things simple, we’ll utilize the scikit-learn library simple linear regression model in this tutorial. We’ll also use the lightweight Flask web framework and jenkins for deployment by using docker.</p><p>We will create and train our machine learning model in this file, as I mentioned above. Based on an employee’s level of experience in the industry, we will estimate their income. The dataset is available here.</p><p><a href="https://github.com/Faizansattii/mlops-class-task/blob/main/mlops_task/Salary_Data.csv">https://github.com/Faizansattii/mlops-class-task/blob/main/mlops_task/Salary_Data.csv</a></p><h3>Importing Libraries:</h3><pre>import requests<br>import joblib<br>import pandas as pd<br>import numpy as np<br>import matplotlib.pyplot as plt<br>from sklearn.linear_model import LinearRegression<br>from sklearn.model_selection import train_test_split<br>from sklearn.metrics import mean_squared_error, r2_score<br>from flask import Flask, render_template</pre><h3>Loading data from csv file and separating test data and train data:</h3><p>link of csv file that contain dataset: <a href="https://github.com/Faizansattii/mlops-class-task/blob/main/mlops_task/Salary_Data.csv">https://github.com/Faizansattii/mlops-class-task/blob/main/mlops_task/Salary_Data.csv</a></p><pre>data = pd.read_csv(&#39;Salary_Data.csv&#39;)<br>X = data.iloc[:, :-1].values<br>y = data.iloc[:, 1].values<br># Split data into training and testing sets<br>X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.2, random_state=0)</pre><h3>Training linear regression on sk_learn:</h3><pre>regressor = LinearRegression()<br># Train the model using the training sets<br>regressor.fit(X_train, y_train)</pre><h3>Evaluating the score of the model and accuracy:</h3><pre>y_pred = regressor.predict(X_test)<br>mse = mean_squared_error(y_test, y_pred)<br>r2 = r2_score(y_test, y_pred)<br>print(&#39;Mean squared error:&#39;, mse)<br>print(&#39;R2 score:&#39;, r2)</pre><h3>Save the trained model to a file:</h3><pre>joblib.dump(regressor, &#39;linear_regression_model.pkl&#39;)</pre><h3>Importing flask and making Api:</h3><pre>from flask import Flask, request, jsonify<br><br>app = Flask(__name__)</pre><h3>Loading trained model:</h3><pre>model = joblib.load(&#39;linear_regression_model.pkl&#39;)</pre><h3>Getting Input from the user through form:</h3><pre>@app.route(&#39;/&#39;)<br>def index():<br>    return render_template(&#39;index.html&#39;)<br>@app.route(&#39;/addData&#39;, methods=[&quot;POST&quot;])<br>def add_data():<br>    experience = request.form[&#39;experience&#39;]<br>    print(experience)<br><br>    exp= float(experience)<br>    X = np.array([[exp]])<br>    # Make a prediction using the loaded model<br>    y_pred = model.predict(X)<br><br>    # Return the predicted salary as a JSON response<br>    return jsonify({&#39;salary&#39;: y_pred[0]})</pre><h3><strong>Displaying output on website:</strong></h3><pre><br>@app.route(&#39;/predict&#39;, methods=[&#39;POST&#39;])<br>def predict():<br>    # Get the input data from the request1<br>    input1 = request.get(&#39;fname&#39;)<br>    print(input1)<br>    data = request.get_json()<br><br>    # Convert the input data into a numpy array<br>    X = np.array([data[&#39;experience&#39;]])<br><br>    # Make a prediction using the loaded model<br>    y_pred = model.predict(X)<br><br>    # Return the predicted salary as a JSON response<br>    return jsonify({&#39;salary&#39;: y_pred[0]})<br><br>    # return render_template(&#39;index.html&#39;)</pre><h3>Running flask application:</h3><pre>if __name__ == &#39;__main__&#39;:<br>    app.run(debug=True,host=&quot;0.0.0.0&quot;)<br>url = &#39;http://localhost:5000/predict&#39;<br>data = {&#39;experience&#39;: 5}<br>response = requests.post(url, json=data)<br>print(response.json())</pre><h3><strong>In jenkins create new project select github project and paste url of the project:</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/711/1*YLXVFzpIgcM8usO_WNP0Uw.png" /></figure><h3>In picture below these are options that we need to select in order to run it successfully:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/386/1*D31JsHlh_IHTa3RJMDYD8A.png" /></figure><h3>In source code management :select git option an again paste the link of repository, and wite the branch name also:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/715/1*p2w3AKK8iWXIOZ1EXah1vQ.png" /></figure><h3>Execute these lines in powershell on jenkens:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/737/1*p7iMgmS2-jWt1RUMvGZIYQ.png" /></figure><pre>docker images purge<br>git clone https://github.com/Faizansattii/mlops-class-task.git<br>cd mlops-class-task<br>cd mlops_task<br>docker build -t mlops .<br>docker run -p 5000:5000 mlops</pre><h3>Docker file:</h3><p>The program will be run on python 3.8 and required libraries will be installed from requirements.txt</p><p>docker file link:<a href="https://github.com/Faizansattii/mlops-class-task/blob/main/mlops_task/Dockerfile">https://github.com/Faizansattii/mlops-class-task/blob/main/mlops_task/Dockerfile</a></p><pre>FROM python:3.8<br><br>WORKDIR /app<br><br>COPY . .<br><br><br>RUN pip install -r requirements.txt<br><br>CMD [&quot;python&quot;,&quot;mlops.py&quot;]</pre><h3>Requirement.txt file:</h3><p>These are the neccessary libraries in order to run docker</p><p>requirement file link:<a href="https://github.com/Faizansattii/mlops-class-task/blob/main/mlops_task/requirements.txt">https://github.com/Faizansattii/mlops-class-task/blob/main/mlops_task/requirements.txt</a></p><pre>flask<br>Jinja2<br>scikit-learn<br>pandas<br>numpy<br>matplotlib<br>requests</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a16c1e3bb9c6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[3D Characterizer: A revolution in the field of Computer Vision]]></title>
            <link>https://medium.com/@i191863/topic-3d-characterizer-90ac5e58c637?source=rss-984a8ca9ab98------2</link>
            <guid isPermaLink="false">https://medium.com/p/90ac5e58c637</guid>
            <dc:creator><![CDATA[I191863 Faizan Bin Zubair]]></dc:creator>
            <pubDate>Sun, 19 Feb 2023 16:42:25 GMT</pubDate>
            <atom:updated>2023-02-25T11:02:03.346Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*tzf66WGgvJPT3tTMvDNPTA.jpeg" /><figcaption>Generating 3D Characterizer</figcaption></figure><h3><strong>Introduction:</strong></h3><p>3C is a web-based application that is designed for creating a 3d model of humans. It uses deep learning and segmentation techniques to detect, train and process videos .User can upload 360 video that has his/her desired character. After uploading, the System converts the video into multiple frames e.g., a character’s image will be taken from one frame and blurred frames will be removed etc. The user can wait till the 3d model is processed. The system will give model file. The model can be imported in Blender or MeshLab then to Unreal Engine.</p><h3><strong>Problem Statement:</strong></h3><p>With a busy lifecycle nowadays, it’s hard to design a character in such a short time. It takes way too much time to design a character of a real-life person. It takes hours or even days to design a character. To save time, this project will be very helpful for game designers and graphic design who spend days to just make a single character for game.<br>People and even companies and utilize that time and human power in other tasks and leave the designing for the model. The model will generate the character which can be used to further edit or deploy inside the game.</p><h3><strong>Objective:</strong></h3><ol><li>To allow users to create their desired character online.</li></ol><p><strong>2.</strong> To provide users a facility to import their character to their favorite application like MeshLab and Blender. <br><strong>3.</strong> To provide users a facility to import their generated character to their game development application like Unreal engine 5. <br><strong>4.</strong> To allow users to access their previous video as and when required.To allow users to access their previously generated 3D character as and when required.</p><p><strong><em>Stay tune for the next part where I will explain the total functionality of project “ 3D Characterizer: A revolution in the field of Computer Vision”</em></strong>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=90ac5e58c637" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>