Skip to content

Commit 45ece6f

Browse files
committed
updating readme and metadata
1 parent 0afd65d commit 45ece6f

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ In this repository, you can find the source code for the [Grand Challenge OCELOT
66
# Input and output
77

88
We already implemented for you the input/output interface for loading the input images stored in the platform and writing the cell predictions. Here the relevant code:
9-
* The input: the container loads and iterates over the validation images, test images and metadata from the already uploaded data in Grand Challenge (not visible to partipants). The implemented data loader `DataLoader` at `util.gcio.py` will iterate over the samples for you!.
9+
* Input: the data loader `DataLoader` located at `util.gcio.py` is implemented to iterate over all samples (not visible to partipants). You can find a test example with the corresponding tree under `test/input/`.
1010

11-
* The output: your algorithm needs to predict cells with the [Multiple Points](https://comic.github.io/grand-challenge.org/components.html#grandchallenge.components.models.InterfaceKind.interface_type_json) format. To make things easier, we developed a simple writer class `DetectionWriter` to output the corresponding output file `cell_predictions.json`. An example of the output can be found in `test/output/example_output.json`.
11+
* Output: your algorithm needs to predict cells with the [Multiple Points](https://comic.github.io/grand-challenge.org/components.html#grandchallenge.components.models.InterfaceKind.interface_type_json) format. To make things easier, we developed a simple writer class `DetectionWriter` to generate the corresponding output file `cell_predictions.json`. An example of the output can be found at `test/output/example_output.json`.
1212

1313
```json
1414
{
@@ -36,12 +36,12 @@ We already implemented for you the input/output interface for loading the input
3636
Where each cell prediction requires the following information:
3737

3838
* `name`: cell patch identifier, which is composed of the keyword `image` followed by the sequential image ID of the cell patch. The ID is the same as the one provided by the `DataLoader`.
39-
* `point`: list of three intiger, i.e. x, y and class ID.
39+
* `point`: list of three integer, i.e. x, y and class ID.
4040
* `probability`: confidence score of the predicted cell.
4141

4242
# Develop you algorithm
4343

44-
At `user/inference.py` you will find a dummy cell detection algorithm. Your task is to propose a new algorithm by modifying the function `process_patch_pair` while keeping the returned format used below. Feel free to install any framework, such as PyTorch or Tensorflow by adding your dependencies in `requirements.txt`.
44+
At `user/inference.py` you will find a dummy cell detection algorithm. Your task is to propose a new algorithm by modifying the function `process_patch_pair` while keeping the output format. Also, feel free to install any framework, such as PyTorch or Tensorflow by adding your dependencies in `requirements.txt`.
4545

4646
```python
4747
def process_patch_pair(cell_patch, tissue_patch, pair_id, meta_dataset):

test/input/metadata.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
"mpp_x": 0.24619999527931213,
2323
"mpp_y": 0.24619999527931213,
2424
"organ": "kidney",
25-
"subset": "train",
26-
"pair_id": "004"
25+
"subset": "train"
2726
}
2827
]

0 commit comments

Comments
 (0)