Skip to content

Commit 4e9e179

Browse files
committed
chore: added minimal requirements.txt & pyproject.toml
closes #2
1 parent 28046e0 commit 4e9e179

File tree

4 files changed

+25
-7
lines changed

4 files changed

+25
-7
lines changed

hparams.yaml

+9-7
Original file line numberDiff line numberDiff line change
@@ -12,28 +12,28 @@ trainer:
1212
max_epochs: 10
1313
min_epochs: null
1414
max_steps: -1
15-
min_steps: null
15+
min_steps: 1000
1616
max_time: null
17-
limit_train_batches: 0.01
18-
limit_val_batches: 0.01
19-
limit_test_batches: 0.01
17+
limit_train_batches: null
18+
limit_val_batches: null
19+
limit_test_batches: null
2020
limit_predict_batches: null
2121
overfit_batches: 0.0
2222
val_check_interval: null
2323
check_val_every_n_epoch: 1
2424
num_sanity_val_steps: null
25-
log_every_n_steps: 100
25+
log_every_n_steps: 500
2626
enable_checkpointing: null
2727
enable_progress_bar: null
2828
enable_model_summary: null
2929
accumulate_grad_batches: 1
30-
gradient_clip_val: null
30+
gradient_clip_val: 1
3131
gradient_clip_algorithm: null
3232
deterministic: null
3333
benchmark: null
3434
inference_mode: true
3535
use_distributed_sampler: true
36-
profiler: null
36+
profiler: lightning.pytorch.profilers.SimpleProfiler
3737
detect_anomaly: false
3838
barebones: false
3939
plugins: null
@@ -44,6 +44,8 @@ model:
4444
lr: 0.001
4545
data:
4646
batch_size: 32
47+
datadir: data
48+
num_workers: 4
4749
optimizer: null
4850
lr_scheduler: null
4951
ckpt_path: null

pyproject.toml

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[project]
2+
name = "msi2slstr-lightning-training-dependencies"
3+
authors = [{name="Joseph Doundoulakis", email="[email protected]"}]
4+
dynamic = ["dependencies", "version"]
5+
6+
[tool.setuptools]
7+
packages = []
8+
9+
[tool.setuptools.dynamic]
10+
dependencies = {file = ["requirements.txt"]}
11+
version = {file = "version"}

requirements.txt

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
lightning==2.4.0
2+
lightning-utilities==0.11.8
3+
pytorch-lightning==2.4.0
4+
PyYAML==6.0

version

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
0.1.0-beta

0 commit comments

Comments
 (0)