You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for sharing your new model. I am interested in using CellViT with ndpi files. I am able to run the inference script with the example svs file but not for my dataset which is in ndpi format:
ValueError: Cannot find a plugin to handle 'my_filename.ndpi'!
I'm just trying to run this with one slide at present. I can see there's an option for setting slide extension in process_dataset:
--wsi_extension WSI_EXTENSION
The extension types used for the WSI files, see configs.python.config (WSI_EXT)
I've tried setting this to ndpi and pointing the inference script to a directory containing a single ndpi slide but I'm getting the same message. It is able to load the model and detects the slide resolution:
2025-01-19 12:02:48,764 [INFO] - Loading model: checkpoints/CellViT-SAM-H-x40-AMP.pth
2025-01-19 12:03:10,256 [INFO] - <All keys matched successfully>
2025-01-19 12:03:11,151 [INFO] - Based on the hardware we limit the batch size to a maximum of:
2025-01-19 12:03:11,151 [INFO] - 4
2025-01-19 12:03:11,151 [INFO] - Apply limits - Batch size: 4
2025-01-19 12:03:11,151 [INFO] - Loading inference transformations
2025-01-19 12:03:15,395 INFO worker.py:1724 -- Started a local Ray instance.
2025-01-19 12:03:41,227 [INFO] - Using 4 ray-workers
2025-01-19 12:03:41,228 [INFO] - Processing whole dataset
2025-01-19 12:03:41,228 [INFO] - Loading all files from folder /input/. No filelist provided.
2025-01-19 12:03:41,230 [INFO] - Progress: 1/1
2025-01-19 12:03:41,230 [INFO] - Processing WSI: my_filename.ndpi
2025-01-19 12:03:41,230 [INFO] - Preparing WSI - Loading tissue region and prepare patches
2025-01-19 12:03:41,235 [INFO] - Using target_mpp: 0.22815423226100845 instead of 0.25
Is it possible to run the detect_cells.py script with non-svs slides?
FYI I also noticed that I wasn't able to run the example training/inference scripts you've provided with torch==2.2.1 torchaudio==2.2.1 torchvision==0.17.1. It did run when I used torch==2.2.2 torchvision==0.17.2 torchaudio==2.2.2 which you referred to after saying the versions you'd been using.
Any help very much appreciated! :)
The text was updated successfully, but these errors were encountered:
If I run the following then it runs but just seems to ignore the single wsi in the 'input' folder. No error is thrown but it finishes running and there's no output.
Hi,
Thanks for sharing your new model. I am interested in using CellViT with ndpi files. I am able to run the inference script with the example svs file but not for my dataset which is in ndpi format:
ValueError: Cannot find a plugin to handle 'my_filename.ndpi'!
I'm just trying to run this with one slide at present. I can see there's an option for setting slide extension in process_dataset:
I've tried setting this to ndpi and pointing the inference script to a directory containing a single ndpi slide but I'm getting the same message. It is able to load the model and detects the slide resolution:
Is it possible to run the detect_cells.py script with non-svs slides?
FYI I also noticed that I wasn't able to run the example training/inference scripts you've provided with torch==2.2.1 torchaudio==2.2.1 torchvision==0.17.1. It did run when I used torch==2.2.2 torchvision==0.17.2 torchaudio==2.2.2 which you referred to after saying the versions you'd been using.
Any help very much appreciated! :)
The text was updated successfully, but these errors were encountered: