How to use MMSegmentation Docker image and mount local drive?MMSegmentation is an extremely useful open source tool for semantic segmentation based on PyTorch. In case of the compatibility issue of…Sep 1, 2023Sep 1, 2023
mmclassification/mmdetection How to modify the class weights in loss functionFor my example, I used mask-rcnn as the base model. In mask-rcnn_r50_fpn.py, I made modification as below for loss_cls, so that the weight…Jul 28, 20231Jul 28, 20231
How to pull docker image and run it— useful commands and some tipsPulling a docker image from docker hub is simple. It is very recommended to push your docker image to docker hub as other people can reuse…Mar 29, 2023Mar 29, 2023
How to convert mask image to colour map for MMSegmentationIn my previous post introducing how to implement MMSegmentation for semantic segmentation, imaging dataset including original jpeg image…Feb 22, 2023Feb 22, 2023
How to set up SSH to connect to host machine in WindowsThe SSH config file allows you to define specific settings for each SSH host that makes connecting to that host far easier and eliminates…Feb 16, 2023Feb 16, 2023
Understanding Autoencoder (AE) and Variant Autoencoder (VAE) with code in PyTorchAE is an unsupervised method to learn the latent features of the input data by Convolution Neural Network (CNN) and the dimension of the…Dec 14, 2022Dec 14, 2022
Train semantic segmentation model with custom dataset using mmsegmentationMMsegmentation is part of the OpenMMLab family, which aims to builds the most influential open-source computer vision algorithm system. The…Dec 1, 20222Dec 1, 20222