Skip to content

cell_detection.py: error: the following arguments are required: --model #86

@ashwani-pradhan

Description

@ashwani-pradhan

By running this command -
python3 ./cell_segmentation/inference/cell_detection.py process_dataset --model ./models/pretrained/CellViT/CellViT-256-x40.pth --wsi_path /media/storage1/Prabhakaran_Images
/Prabhakaran/Prabhakaran_Images/R100.svs --patched_slide_path /media/storage1/Prabhakaran_Images/Prabhakaran/output/R
100/patches

Getting below error -

INFO: Pandarallel will run on 12 workers.
INFO: Pandarallel will use Memory file system to transfer data between the main process and workers.
usage: cell_detection.py [-h] --model MODEL [--gpu GPU] [--magnification MAGNIFICATION] [--enforce_amp]
[--batch_size BATCH_SIZE] [--outdir_subdir OUTDIR_SUBDIR] [--geojson]
{process_wsi,process_dataset} ...
cell_detection.py: error: the following arguments are required: --model

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions