Download configs/evaluate.json from KalbeDigitalLab/pathology_nuclei_segmentation_classification: direct link, hf CLI and curl.
- Browser
- Download file 1.03 kB
-
https://huggingface.co/spaces/KalbeDigitalLab/pathology_nuclei_segmentation_classification/resolve/refs%2Fpr%2F2/configs/evaluate.json
- Command line
-
hf download hf://spaces/KalbeDigitalLab/pathology_nuclei_segmentation_classification@refs/pr/2/configs/evaluate.json
-
curl -L -o evaluate.json https://huggingface.co/spaces/KalbeDigitalLab/pathology_nuclei_segmentation_classification/resolve/refs%2Fpr%2F2/configs/evaluate.json
1.03 kB
| { | |
| "network_def": { | |
| "_target_": "HoVerNet", | |
| "mode": "@hovernet_mode", | |
| "adapt_standard_resnet": true, | |
| "in_channels": 3, | |
| "out_classes": 5 | |
| }, | |
| "validate#handlers": [ | |
| { | |
| "_target_": "CheckpointLoader", | |
| "load_path": "$os.path.join(@bundle_root, 'models', 'model.pt')", | |
| "load_dict": { | |
| "model": "@network" | |
| } | |
| }, | |
| { | |
| "_target_": "StatsHandler", | |
| "iteration_log": false | |
| }, | |
| { | |
| "_target_": "MetricsSaver", | |
| "save_dir": "@output_dir", | |
| "metrics": [ | |
| "val_mean_dice" | |
| ], | |
| "metric_details": [ | |
| "val_mean_dice" | |
| ], | |
| "batch_transform": "$monai.handlers.from_engine(['image_meta_dict'])", | |
| "summary_ops": "*" | |
| } | |
| ], | |
| "evaluating": [ | |
| "$setattr(torch.backends.cudnn, 'benchmark', True)", | |
| "$@validate#evaluator.run()" | |
| ] | |
| } | |