profile

Machine Learning for Medical Imaging

๐Ÿค– Deep Learning Layers for Generative AI

Published about 1 year agoย โ€ขย 2 min read

Hello Reader,

Welcome to another edition of PYCAD newsletter where we cover interesting topics in Machine Learning and Computer Vision applied to Medical Imaging. The goal of this newsletter is to help you stay up-to-date and learn important concepts in this amazing field! I've got some cool insights for you below โ†“

Technique of the day

How do you generate images from low dimensional vectors?

How do you go from low dimensional data (like a vector of size 100) to higher dimensional data (like an image of size 200x200)?

In many Generative AI applications, youโ€™d need to do this. So how can you do it?

In 2D, you have 2 options:

  • Conv2DTranspose.
  • UpSampling2D + Conv2D.

Whatโ€™s the difference between the two options?

When you use Conv2DTranspose, youโ€™re doing upsampling by adding zeros vertically and horizontally.

When you use UpSampling2D + Conv2D, youโ€™re doing upsampling by duplicating rows and columns.

When to use which?

There is no one answer. It really depends on your experimentation.

One drawback though for Conv2DTranspose, is that sometimes the output generated image can have some checkerboard artifacts like the image below.

Tip of the day

A recurrent problem with conda and how to solve it!

Most of us in the field of machine learning are using conda. But most of us face this problem at some point.

How do you create virtual environments on your local disk in a directory other than the default "Anaconda3/envs"?

Since we usually end up installing Anaconda in the default path during the installation process, it ends up being installed in the C drive.

This can quickly fill up the C disk.

So if you decide to create virtual environments and save them in another drive, how can you do that?

Well, you can achieve this by using the argument --๐ฉ๐ซ๐ž๐Ÿ๐ข๐ฑ.

To install a new virtual environment in a directory inside D drive for example, you can do this:

๐œ๐จ๐ง๐๐š ๐œ๐ซ๐ž๐š๐ญ๐ž --๐ฉ๐ซ๐ž๐Ÿ๐ข๐ฑ=๐ƒ:\๐ฉ๐š๐ญ๐ก\...\๐ฒ๐จ๐ฎ๐ซ๐„๐ง๐ฏ๐๐š๐ฆ๐ž ๐ฉ๐ฒ๐ญ๐ก๐จ๐ง=๐ฑ.๐ฑ

One thing you should know is, conda only keeps track of the environments included in the folder envs inside the anaconda folder.

So, the next time you need to activate your new virtual environment, move to the folder where you created it and activate it with:

๐œ๐จ๐ง๐๐š ๐š๐œ๐ญ๐ข๐ฏ๐š๐ญ๐ž ๐ฒ๐จ๐ฎ๐ซ๐„๐ง๐ฏ๐๐š๐ฆ๐ž

Tweet of the day

ChatGPT is now available on Azure!

twitter profile avatar
Microsoft Azure
Twitter Logo
Twitter Logo
@Azure
March 9th 2023
76
Retweets
218
Likes

โ€‹

ChatGPT understanding what full captioning means!


HIT THE INBOX OF MORE THAN 1500 MACHINE LEARNING PRACTITIONERS

Advertise with AIFEE to get your brand in front of hundreds of readers who are eager to start or accelerate their machine learning careers by learning about the latest and greatest in machine learning from: books, courses or online communities.

Many of our readers are also looking for machine learning related jobs.

โ€‹Get in touch today.


What'd you think of today's edition?

Machine Learning for Medical Imaging

by Nour Islam Mokhtari from pycad.co

๐Ÿ‘‰ Learn how to build AI systems for medical imaging domain by leveraging tools and techniques that I share with you! | ๐Ÿ’ก The newsletter is read by people from: Nvidia, Baker Hughes, Harvard, NYU, Columbia University, University of Toronto and more!

Read more from Machine Learning for Medical Imaging

Hi Reader,, Welcome to the PYCAD newsletter, where every week you receive doses of machine learning and computer vision techniques and tools to help you learn how to build AI solutions to empower the most vulnerable members of our society, patients. TotalSegmentator : Whole Body Segmentation at your Fingertips This free tool available online can do full body segmentation, it's called TotalSegmentator. I have already mentioned this tool in a previous edition of the newsletter, but in this...

9 days agoย โ€ขย 3 min read

Hello Reader, Welcome to another edition of PYCAD newsletter where we cover interesting topics in Machine Learning and Computer Vision applied to Medical Imaging. The goal of this newsletter is to help you stay up-to-date and learn important concepts in this amazing field! I've got some cool insights for you below โ†“ A Medical Imaging Expert Told Me This Recently I saw a post on LinkedIn where a medical imaging expert showcased his work of segmenting the lungs and its bronchial trees. You can...

17 days agoย โ€ขย 2 min read

Hello Reader, Welcome to another edition of PYCAD newsletter where we cover interesting topics in Machine Learning and Computer Vision applied to Medical Imaging. The goal of this newsletter is to help you stay up-to-date and learn important concepts in this amazing field! I've got some cool insights for you below โ†“ How we helped accelerate inference time for a client's AI product Below is a screenshot of a benchmark we did for a client of ours. The goal was to accelerate inference time. This...

22 days agoย โ€ขย 3 min read
Share this post