Reproducing deepclean-prod in deepcleanv2
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- python, pytorch, yaml
- Domain
- data, machine-learning
Research direction
Start by comparing /projects/train/config.yaml with the deepclean-prod configuration, then inspect train/data.py, train/architectures/autoencoder.py, train/metrics.py, train/cli.py, and infer/cli.py. Verify the listed preprocessing, model, metric, optimizer, scheduler, and configuration differences, then confirm that the new OfflinePsdRatio path produces the same clean process as deepclean-prod.
Written by the indexing model from the issue text.
Description
- /projects/train/train/data.py
- DeepCleanDataset.setup(stage=stage)
- line 200~202: Do bandpass first then y_scaler
- DeepCleanDataset.setup(stage=stage)
- Make sure the following args in /projects/train/config.yaml are the same with the deepclean-prod config:
- train_duration
- train_stride
- valid_frac
- batch_size
- kernel_length
- filt_order
- There are differences between the nn models loaded in deepcleanv2 and deepclean-prod:
- /projects/train/train/architectures/autoencoder.py
a. The activation function used by Autoencoder is nn.ReLU(), but in deepclean-prod, the activation function used is nn.Tanh().
b. In line 86, out_layers should be hidden_channels[-2:None:-1] + [num_witnesses] in order to be the same as deepclean-prod. hidden_channels is [8,16,32,64] which can be found in /projects/train/config.yaml.
- /projects/train/train/architectures/autoencoder.py
- /projects/train/train/metrics.py
- PsdRatio.spectral_density: set average="mean" and fast=False should give the same way of calculating loss during training steps.
- The optimizer and lr_scheduler
- Make sure lr and weight_decay of the optimizer in /projects/train/config.yaml are set to be the same in deepclean-prod.
- In /projects/train/train/cli.py is OneCycleLR, but StepLR(optimizer, 10, 0.1) is used in deepclean-prod.
- To implement the clean process of deepclean-prod, we need to build a new torchmetrics.Metric class (OfflinePsdRatio, for example) so the data aggregation and postprocess are the same with deepclean-prod. Need to change the metric argument of train.model.DeepClean to OfflinePsdRatio then use /projects/infer/infer/cli.py to do the cleaning.
- Dominant language
- Jupyter Notebook
- Stars
- 3
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ML4GW/deepcleanv2
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
ML4GW/deepcleanv2#42 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
ML4GW/deepcleanv2#36 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
ML4GW/deepcleanv2#27 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
ML4GW/deepcleanv2#26 · 2 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
ML4GW/deepcleanv2#25 ·
All issues in ML4GW/deepcleanv2
Similar issues
-
rowbinary: typeStringToReader keeps Variant members in text order, so Variant(Int64, Float64) reads 7 as 3.5e-323Possibly taken @rwits08 claimed this today. Openbug data-types
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
ClickHouse/clickhouse-js#1293 · 1 comment ·
Maintainers usually reply within 1 day
-
data-pipeline
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Yukaii/garbage#54 · 1 comment ·
Maintainers usually reply within 1 day
-
A Nonexistent HouseOpenbug external
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
OvertureMaps/data#611 ·
-
[CSrankings form submission] Update George Christodoulou 0001Possibly taken @github-actions claimed this today. OpenCSrankings form submission pr-created
Difficulty 1/5 Under an hour Newbie friendliness 95/100
emeryberger/CSrankings#15792 · 1 comment ·
Maintainers usually reply within 11 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
SciML/RecursiveArrayTools.jl#701 ·