Skip to content

merlab/LungHistoNet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LungHistoNet

LungHistoNet is a deep learning project that utilizes Vision Transformers to analyze lung histology images. The goal is to enhance the detection and classification of pulmonary diseases through advanced AI techniques.

TODO

  • Fix/optimize the real-time plot request in the application.

MAC

Step 1: Create Docker Account

  1. Create an account at Docker Hub and set up a password.

Step 2: Download and Install Docker

  1. Download Docker from Docker.
    • If using an M1/M2 Mac, select the Apple Core version.
    • If using an Intel Mac, select the Intel Core version.
  2. Install the application.

Step 3: Login and Pull the Application

  1. Open Terminal.
  2. Login to Docker using your Docker Hub credentials:
    docker login
    Follow the instructions to log in (ensure you verify your email to log in successfully).
  3. Pull the application by running the following command:
    docker pull amirhosseinebrahimi/lung-injury:latset_v1.6

Step 4: Install Brew

  1. Check if Brew is installed. If not, open Terminal and run:
    /bin/bash -c "$(curl –fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
  2. Set up Brew by running the following commands (replace XXX with your laptop username):
    echo >> /Users/XXX/.zprofile
    echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> /Users/XXX/.zprofile
    eval "$(/opt/homebrew/bin/brew shellenv)"

Step 5: Install socat

  1. Install socat using Brew:
    brew install socat

Step 6: Set Up Display for the Application

  1. Open Terminal and set up the display (leave the Terminal open after pressing Enter):
  • MacOS
    socat TCP-LISTEN:6000,reuseaddr,fork UNIX-CLIENT:"$DISPLAY"
  • Linux (debian)
    sudo xhost +local:docker
  1. Open another Terminal and run the following command (replace XXX with your laptop username):
  • MacOS

    docker run -it --rm -e DISPLAY=host.docker.internal:0 \
    amirhosseinebrahimi/lung-injury:latest_v1.6
  • Linux (debian)

    sudo docker run -it --rm   -e DISPLAY=$DISPLAY  \
    -v /tmp/.X11-unix:/tmp/.X11-unix   \
    amirhosseinebrahimi/lung-injury:latest_v1.6
    

About

LungHistoNet is a deep learning project that utilizes Vision Transformers to analyze lung histology images. The goal is to enhance the detection and classification of pulmonary diseases through advanced AI techniques.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages