Skip to main content

Posts

Identified COVID-19 in X-ray images with deep learning.

  Project structure :       Our coronavirus (COVID-19) chest X-ray data is in the dataset/ directory where our two classes of data are separated into covid/ and normal/   I have created train_covid19.py file to train the model.   Three command line arguments (parameters) required to run this file :   --dataset: The path to our input dataset of chest X-ray images. --plot: An optional path to an output training history plot. By default the plot is named plot.png unless otherwise specified via the command line. --model: The optional path to our output COVID-19 model; by default it will be named covid19.model.     To load our data, we grab all paths to images in in the --dataset directory. Then, for each imagePath, we:   ·           Extract the class label (either covid or normal) from the path. ·           Load the image, and preprocess it by convertin...

AWS - Identify Access Management - Part 1

What is IAM ? (Identity Access Management)   Basically IAM allows you to manage users and their level of access to the AWS console. It is important to understand IAM and how it works both for the exam and for administrating a company's AWS account in real life. Basically You need to understand IAM because IAM allows you to set up users groups permissions and roles and basically allows you to grant access to different parts of the AWS platform.  Key Features of IAM : Centralized control of your AWS account  Shared access to your AWB account  Granular permissions  Identity Federation (like Active directory, Facebook, LinkedIn, google etc) Multi factor authentication.  Provides temporary access for users or devices and services where necessary  Allows you to set up your own password rotation policy Integrates with many different AWS services  It supports PCI DSW compliant so PCI DNS compliance.  Some key terminology for IAM that we need to le...

Introducing Azure app services

Creating an App Service Inside the Azure portal, I want to create a new App Service. So I'm going to come over into App Service. I can see that I currently have no App Services in this subscription, so I will click the add button create an app Service is to select a starting template that might include some pre-configured software. For example, if I scroll down through the list of available templates here, I can see that I can start with a WordPress site running on the Linux operating system and many other options available. So when working with platform as a service features, that we don't worry about the operating system. I can see there's Web App + SQL, which will create an App Service for me plus give me an Azure SQL instance, but I'm going to look for just the basic, most simple web application and I click that, I come to another blade that opens where I can read through a description of Web App and then click create.  First of all, I have to...

Injecting and Using Configuration in Asp.net core

Let's explore the relationship between this Razor Page and the Razor Page's Page Model because typically it is the Page Model that will perform data access and do all the hard work to put together the data that the Razor Page will display . Easy data source that I can access right now is my application configuration. One of the sources of configuration for this application is appsettings.json So, for example, if I add a Message property to this JSON file and I say that message is equal to Hello world from   appsettings!. let's say I want to display this message in my Razor Page, well the whole idea in the relationship between a Razor Page and its Page Model is that the Razor Page is strictly about display.   So something I can do in ASP.NET Core is give my PageModel a constructor, and my constructor can take a parameter of type IConfiguration. We need to bri...

Add / Edit the pages & add custom link in Asp.net core project

Default Asp.net core supports responsive design. when the view port becomes this narrow, the menu collapses into the hamburger icon here, which I can still click on to get to the menu. And this behaviour is provided by Bootstrap. So, in this project is Bootstrap version 3 I navigate to the different pages in this application, like the Contact page or the About page, these will go to URLs like /Contact and /About. And in our project, ASP.NET Core is mapping these requests to Razor Pages. I just want to point out that if you have the application running without the debugger attached, you should be able to make changes in the project, and just save files and come out and refresh the browser and see those changes reflected in the browser. After Refresh. We will get page updated. Now I want to make is to add a link into my menu to get to the products that we're going to be working with in this project. Let's add an anchor tag with the...

Creating the new Project in Asp.net Core

In this article, I'm going to be using Visual Studio to work on this project. Since .NET Core works across platforms, including Linux and Mac, you might be using a different environment, like Visual Studio Code or Visual Studio for the Mac.  I am using Visual Studio and our first order of business is going to be to create the AcmeCore application that we want to work on.   I want to create a New, Project. And from the .NET Core templates First of all Open visual studio , click on File Menu, select new project as below.   I'm going to be taken to a second screen where I can select the specific type of template that I want to use to create this application. I'm going to tell Visual Studio that I want to use the .NET Core Web framework Select the directory where you want to create the project and give project name After that you will be taken to the below screen where you can select ASP.NET Core 2.1 on top o...

How to get rid of blank pages in PDF exported from SSRS

Make sure of the following things in Visual Studio Designer that your report contents size + margins does not exceed the total size of the report. I usually follows a formula to avoid such issues. (Report Content Size + Margins) - 0.5 = Page size defined Also  I would suggest you make all margins set to 0, remove any white spaces in between the report elements, check the width and the length of the report and all the report elements(header, body, tablix, footer). Merge all the tablix, which are not in use, into one. Also, check the sizing options of the report elements. Try these and kindly let us know if it works.