Skip to main content

Off-line Prediction

PhenoNetLess than 1 minute

Prediction

  1. Activate the environment.
conda activate phenonet
cd PhenoNet
  1. Run predict.py with specified parameters.
python predict.py -i {test_data_directory}

Please click here to download test data.

  1. The following options are available for predict.py:
Usage: python predict.py -i infile -o outfile [options]...

  -h                   show this help
  -i test data path        input image directory, defaule=./data
  -m prediction mode       can be 1(single image) or 5 (time series), defaule=1
  -l lstm-weight-path  path to LSTM weight file
  -p phenovit-weight-path         path to Phenovit weight file
  1. Inference result

    image-20230611201250706

Contributors: PhenoNet