Skip to content

Frequently Asked Questions

Rexmiao edited this page Jan 2, 2021 · 33 revisions

We collect feedbacks and sorted them into a FAQ section here:

How to Install PyTorch?


The general guides for installing Pytorch can be summarized as follows:

  1. Check your NVIDIA GPU Compute Capability @ https://developer.nvidia.com/cuda-gpus
  2. Download CUDA Toolkit @ https://developer.nvidia.com/cuda-downloads
  3. Install PyTorch command can be found @ https://pytorch.org/get-started/locally/

How to keep track of model ID? What do they mean?


  • For a given project, the database contains the latest model id under the "iteration" column.
  • A model_id of -1 means no AI model has been trained at all.
  • A model_id of 0 represents the initial autoencoder.
  • A model_id of >=1 represents the deep learning iteration.
  • The get_latest_model_id function will pull this information from the database.

How to install OpenSlide?


Since Quick Annotator currently does not support WSIs, the users need to divide WSI into smaller image tiles. QA provides a script cli\extract_tiles_from_wsi_openslide.py, which imports OpenSlide.

However, we received feedbacks that many Windows users had difficulty in OpenSlide. Therefore, we provide a detailed tutorial for installing and importing OpenSlide in Windows.

  1. Find and install OpenSlide Python with proper python version @ https://pypi.org/project/openslide-python/
  2. Find and install OpenSlide Window Binaries @ https://openslide.org/download/
  3. Add openslide\bin to system environment path. (Many of our testers forget to add OpenSlide to path, so they could not import OpenSlide properly.)
    Control Panel -> System Properties -> Advanced -> Environment Variables 
    -> System variables -> *Path* 

What kind of efficiency growth should a user expect when using the quick annotator?


The efficiency improvements of QA differs from the histologic structures that use employs. In a recent paper, we presented an efficiency plot for pancreatic cell nuclei, colon tubules, breast cancer epithelium, which corresponds to small, medium, and large scales tissues.


Efficiency metric over time demonstrating the improvement in speed afforded by QA in annotating (A) nuclei, (B) tubules, and (C) epithelium. The x-axis is the human annotation time in minutes, and the y-axis is the annotation speed in terms of annotated histologic structures per minute. The trend of performance improvements varies per use case, with (a) the nuclei showing a consistent improvement in time, (b) the tubule performance plateauing after annotating a few structures, and (c) the epithelium requiring several additional iterations before reaching its plateau. These plateaus indicate the DL model is sufficiently trained to produce suggestions agreeable to the user.

When should the user retrain the autoencoder?


The autoencoder(model 0) considers as the starting point of the training process, which affects the overall trained performance. In the Image List Page, QA has a function (Re)train Model 0. The user would like to update the autoencoder when needed. For example, the user employs QA to finish annotations to 30 image slides and upload another 30 image tiles. The user could update the autoencoder if he/she believes the newly uploaded images are dissimilar enough.

It could be used for troubleshooting by retraining the autoencoder. The autoencoder is designed to be the optimized starting point for deep learning training, but it is still possible (even unlikely) that the autoencoder is not well generated. For example, when working on a verified dataset, the user uploads many well-delineated annotations, but the prediction suggestion is worse than the expectation. This is probably because autoencoder is not well generated, affecting the training process.

How to do import existed annotations?


QA currently does not support importing existed annotations from the user interface. However, users have access to all components of the systems and the users could manually put the existed annotation mask to the corresponding folders. The masks need to be binary to be viewed in QA and the file name should be saved as {imageName}_mask.png.

   projects\{projectName}\mask\{imageName}_mask.png

Quick Annotator Wiki

QA's Wiki is complete documentation that explains to user how to use this tool and the reasons behind. Here is the catalogue for QA's wiki page:

Home:

  1. Quick Annotator Pages
  1. User Guide
  1. Frequently Asked Questions

Clone this wiki locally