Skip to content

Commit abc9da2

Browse files
authored
Merge pull request #233 from ctlearn-project/fixBugHelpDescriptionCallbacks
Update help description of callbacks
2 parents e2dc6f5 + 153ce42 commit abc9da2

5 files changed

Lines changed: 17 additions & 17 deletions

File tree

.zenodo.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
],
5959
"language": "eng",
6060
"license": "BSD-3-Clause",
61-
"publication_date": "2025-03-13",
61+
"publication_date": "2025-03-21",
6262
"related_identifiers": [
6363
{
6464
"identifier": "https://github.com/ctlearn-project/ctlearn",
@@ -69,5 +69,5 @@
6969
],
7070
"title": "CTLearn: Deep learning for imaging atmospheric Cherenkov telescopes event reconstruction",
7171
"upload_type": "software",
72-
"version": "0.10.0"
72+
"version": "0.10.2"
7373
}

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ necessary package channels, and install CTLearn specified version and its depend
3535

3636
.. code-block:: bash
3737
38-
CTLEARN_VER=0.10.1
38+
CTLEARN_VER=0.10.2
3939
wget https://raw.githubusercontent.com/ctlearn-project/ctlearn/v$CTLEARN_VER/environment.yml
4040
conda env create -n [ENVIRONMENT_NAME] -f environment.yml
4141
conda activate [ENVIRONMENT_NAME]

codemeta.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
"codeRepository": "https://github.com/ctlearn-project/ctlearn",
66
"contIntegration": "https://github.com/ctlearn-project/ctlearn/actions",
77
"datePublished": "2023-05-08",
8-
"dateModified": "2025-03-13",
9-
"downloadUrl": "https://zenodo.org/record/5947837/files/ctlearn-project/ctlearn-v0.10.0.zip",
8+
"dateModified": "2025-03-21",
9+
"downloadUrl": "https://zenodo.org/record/5947837/files/ctlearn-project/ctlearn-v0.10.2.zip",
1010
"issueTracker": "https://github.com/ctlearn-project/ctlearn/issues",
1111
"name": "CTLearn: Deep learning for imaging atmospheric Cherenkov telescopes event reconstruction",
1212
"readme": "https://ctlearn.readthedocs.io",
13-
"version": "0.10.0",
14-
"softwareVersion": "0.10.0",
13+
"version": "0.10.2",
14+
"softwareVersion": "0.10.2",
1515
"identifier": "10.5281/zenodo.3342952",
1616
"description": "CTLearn is a high-level Python package providing a backend for training deep learning models for the reconstruction of imaging atmospheric Cherenkov telescope events using TensorFlow.",
1717
"applicationCategory": "Astronomy",

ctlearn/tools/train_model.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -189,18 +189,18 @@ class TrainCTLearnModel(Tool):
189189
optimizer = Dict(
190190
default_value={"name": "Adam", "base_learning_rate": 0.0001, "adam_epsilon": 1.0e-8},
191191
help=(
192-
"Optimizer to use for training.",
193-
"E.g. ``{'name': 'Adam', 'base_learning_rate': 0.0001, 'adam_epsilon': 1.0e-8}``."
192+
"Optimizer to use for training. "
193+
"E.g. {'name': 'Adam', 'base_learning_rate': 0.0001, 'adam_epsilon': 1.0e-8}. "
194194
)
195195
).tag(config=True)
196196

197197
lr_reducing = Dict(
198198
default_value={"factor": 0.5, "patience": 5, "min_delta": 0.01, "min_lr": 0.000001},
199199
allow_none=True,
200200
help=(
201-
"Learning rate reducing parameters for the Keras callback.",
202-
"E.g. ``{'factor': 0.5, 'patience': 5, 'min_delta': 0.01, 'min_lr': 0.000001}``."
203-
)
201+
"Learning rate reducing parameters for the Keras callback. "
202+
"E.g. {'factor': 0.5, 'patience': 5, 'min_delta': 0.01, 'min_lr': 0.000001}. "
203+
)
204204
).tag(config=True)
205205

206206
random_seed = Int(
@@ -222,9 +222,9 @@ class TrainCTLearnModel(Tool):
222222
default_value=None,
223223
allow_none=True,
224224
help=(
225-
"Set the early stopping callback conditions. ",
226-
"E.g. ``{'monitor': 'val_loss', 'patience': 4, 'verbose': 1, 'restore_best_weights': True}``."
227-
)
225+
"Early stopping parameters for the Keras callback. "
226+
"E.g. {'monitor': 'val_loss', 'patience': 4, 'verbose': 1, 'restore_best_weights': True}. "
227+
)
228228
).tag(config=True)
229229

230230

docs/source/installation.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ necessary package channels, and install CTLearn specified version and its depend
1212

1313
.. code-block:: bash
1414
15-
CTLEARN_VER=0.10.1
15+
CTLEARN_VER=0.10.2
1616
wget https://raw.githubusercontent.com/ctlearn-project/ctlearn/v$CTLEARN_VER/environment.yml
1717
conda env create -n [ENVIRONMENT_NAME] -f environment.yml
1818
conda activate [ENVIRONMENT_NAME]
@@ -47,7 +47,7 @@ Finally, install CTLearn into the new conda environment via pypi:
4747
.. code-block:: bash
4848
4949
conda activate ctlearn
50-
pip install ctlearn==0.10.1
50+
pip install ctlearn==0.10.2
5151
5252
or with pip from source:
5353

0 commit comments

Comments
 (0)