Skip to content

Commit

Permalink
raise runtime to 10 mins
Browse files Browse the repository at this point in the history
  • Loading branch information
casperdcl committed Jul 24, 2024
1 parent d9fbdc0 commit 27f9e2a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,12 @@ python petric.py
<!-- br -->
> [!WARNING]
> To avoid timing out (5 min runtime), please disable any debugging/plotting code before submitting!
> To avoid timing out (currently 10 min runtime, will likely be increased a bit for the final evaluation after submissions close), please disable any debugging/plotting code before submitting!
> This includes removing any progress/logging from `submission_callbacks`.
- `data` to test/train your `Algorithm`s is available at https://petric.tomography.stfc.ac.uk/data/ and is likely to grow (more info to follow soon)
+ fewer datasets will be used by the organisers to provide a temporary [leaderboard](https://petric.tomography.stfc.ac.uk/leaderboard)
+ please contact us if you'd like to contribute your own public datasets!
- `metrics` are calculated by `class QualityMetrics` within `petric.py`
Any modifications to `petric.py` are ignored.
2 changes: 1 addition & 1 deletion petric.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def keys(self):

class MetricsWithTimeout(cil_callbacks.Callback):
"""Stops the algorithm after `seconds`"""
def __init__(self, seconds=300, outdir=OUTDIR, transverse_slice=None, coronal_slice=None, **kwargs):
def __init__(self, seconds=600, outdir=OUTDIR, transverse_slice=None, coronal_slice=None, **kwargs):
super().__init__(**kwargs)
self._seconds = seconds
self.callbacks = [
Expand Down

0 comments on commit 27f9e2a

Please # to comment.