Skip to content

Commit 50bafa5

Browse files
authored
Feature: Add Algorithm Components Hooks and Output Dict (#12)
1 parent 1cb8e63 commit 50bafa5

784 files changed

Lines changed: 6235 additions & 5709 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
name: Bug Report
3+
about: Report a bug you found in this project
4+
title: ''
5+
assignees: ''
6+
---
7+
## Bug
8+
9+
<!-- A clear and concise description of the bug found -->
10+
11+
### Reproduce the Bug
12+
13+
<!-- Please outline the environment and code need to produce and Bug -->
14+
15+
### Error Messages and Logs
16+
17+
<!-- A description or screenshot of the bug. -->
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
name: Feature request
3+
about: Propose a feature for this project
4+
title: ''
5+
assignees: ''
6+
---
7+
## 🚀 Feature
8+
9+
<!-- A clear and concise description of the feature proposal -->
10+
11+
### Motivation
12+
13+
<!-- Please outline the motivation for the proposal. Is your feature request related to a problem? e.g., I'm always frustrated when [...]. If this is related to another GitHub issue, please link it here -->
14+
15+
### Pitch
16+
17+
<!-- A clear and concise description of what you want to happen. -->
18+
19+
### Alternatives
20+
21+
<!-- A clear and concise description of any alternative solutions or features you've considered, if any. -->
22+
23+
### Additional context
24+
25+
<!-- Add any other context or screenshots about the feature request here. --

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
## What does this PR do?
2+
3+
<!--
4+
Please include a summary of the change and which issue is fixed.
5+
Please also include relevant motivation and context.
6+
List any dependencies that are required for this change.
7+
8+
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.
9+
10+
The following links the related issue to the PR (https://docs.github.com/en/free-pro-team@latest/github/managing-your-work-on-github/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword)
11+
-->
12+
13+
Fixes #\<issue_number>
14+
15+
### Does your PR introduce any breaking changes? If yes, please list them.
16+
17+
<!-- FILL IN or None -->
18+
19+
## Before submitting
20+
21+
- [ ] Was this **discussed/approved** via a GitHub issue? (not for typos and docs)
22+
- [ ] Did you read the [contributor guideline](https://github.com/Lightning-AI/lightning/blob/master/.github/CONTRIBUTING.md), **Pull Request** section?
23+
- [ ] Did you make sure your **PR does only one thing**, instead of bundling different changes together?
24+
- [ ] Did you make sure to **update the documentation** with your changes? (if necessary)
25+
- [ ] Did you list all the **breaking changes** introduced by this pull request?
26+
27+
<!-- In the CHANGELOG, separate each item in the unreleased section by a blank line to reduce collisions -->
28+
29+
## PR review
30+
31+
Anyone in the community is welcome to review the PR.
32+
Before you start reviewing, make sure you have read the [review guidelines](https://github.com/Lightning-AI/lightning/wiki/Review-guidelines). In short, see the following bullet-list:
33+
34+
- [ ] Is this pull request ready for review? (if not, please submit in draft mode)
35+
- [ ] Check that all items from **Before submitting** are resolved
36+
- [ ] Make sure the title is self-explanatory and the description concisely explains the PR
37+
- [ ] Add labels and milestones (and optionally projects) to the PR so it can be classified

config/classic_cv/adamatch/adamatch_cifar100_10000_0.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ batch_size: 64
1313
eval_batch_size: 256
1414
hard_label: True
1515
T: 0.5
16-
p_cutoff: 0.9
16+
p_cutoff: 0.95
1717
ulb_loss_ratio: 1.0
1818
ema_p: 0.999
1919
uratio: 7
@@ -24,8 +24,10 @@ optim: SGD
2424
lr: 0.03
2525
momentum: 0.9
2626
weight_decay: 0.001
27+
layer_decay: 1.0
2728
amp: False
2829
clip: 0.0
30+
use_cat: True
2931
net: wrn_28_8
3032
net_from_name: False
3133
data_dir: ./data
@@ -37,6 +39,6 @@ seed: 0
3739
world_size: 1
3840
rank: 0
3941
multiprocessing_distributed: True
40-
dist_url: tcp://127.0.0.1:10061
42+
dist_url: tcp://127.0.0.1:10057
4143
dist_backend: nccl
4244
gpu: None

config/classic_cv/adamatch/adamatch_cifar100_2500_0.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ batch_size: 64
1313
eval_batch_size: 256
1414
hard_label: True
1515
T: 0.5
16-
p_cutoff: 0.9
16+
p_cutoff: 0.95
1717
ulb_loss_ratio: 1.0
1818
ema_p: 0.999
1919
uratio: 7
@@ -24,8 +24,10 @@ optim: SGD
2424
lr: 0.03
2525
momentum: 0.9
2626
weight_decay: 0.001
27+
layer_decay: 1.0
2728
amp: False
2829
clip: 0.0
30+
use_cat: True
2931
net: wrn_28_8
3032
net_from_name: False
3133
data_dir: ./data
@@ -37,6 +39,6 @@ seed: 0
3739
world_size: 1
3840
rank: 0
3941
multiprocessing_distributed: True
40-
dist_url: tcp://127.0.0.1:10061
42+
dist_url: tcp://127.0.0.1:10057
4143
dist_backend: nccl
4244
gpu: None

config/classic_cv/adamatch/adamatch_cifar100_400_0.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ batch_size: 64
1313
eval_batch_size: 256
1414
hard_label: True
1515
T: 0.5
16-
p_cutoff: 0.9
16+
p_cutoff: 0.95
1717
ulb_loss_ratio: 1.0
1818
ema_p: 0.999
1919
uratio: 7
@@ -24,8 +24,10 @@ optim: SGD
2424
lr: 0.03
2525
momentum: 0.9
2626
weight_decay: 0.001
27+
layer_decay: 1.0
2728
amp: False
2829
clip: 0.0
30+
use_cat: True
2931
net: wrn_28_8
3032
net_from_name: False
3133
data_dir: ./data
@@ -37,6 +39,6 @@ seed: 0
3739
world_size: 1
3840
rank: 0
3941
multiprocessing_distributed: True
40-
dist_url: tcp://127.0.0.1:10061
42+
dist_url: tcp://127.0.0.1:10057
4143
dist_backend: nccl
4244
gpu: None

config/classic_cv/adamatch/adamatch_cifar10_250_0.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ batch_size: 64
1313
eval_batch_size: 256
1414
hard_label: True
1515
T: 0.5
16-
p_cutoff: 0.9
16+
p_cutoff: 0.95
1717
ulb_loss_ratio: 1.0
1818
ema_p: 0.999
1919
uratio: 7
@@ -24,8 +24,10 @@ optim: SGD
2424
lr: 0.03
2525
momentum: 0.9
2626
weight_decay: 0.0005
27+
layer_decay: 1.0
2728
amp: False
2829
clip: 0.0
30+
use_cat: True
2931
net: wrn_28_2
3032
net_from_name: False
3133
data_dir: ./data
@@ -37,6 +39,6 @@ seed: 0
3739
world_size: 1
3840
rank: 0
3941
multiprocessing_distributed: True
40-
dist_url: tcp://127.0.0.1:10064
42+
dist_url: tcp://127.0.0.1:10060
4143
dist_backend: nccl
4244
gpu: None

config/classic_cv/adamatch/adamatch_cifar10_4000_0.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ batch_size: 64
1313
eval_batch_size: 256
1414
hard_label: True
1515
T: 0.5
16-
p_cutoff: 0.9
16+
p_cutoff: 0.95
1717
ulb_loss_ratio: 1.0
1818
ema_p: 0.999
1919
uratio: 7
@@ -24,8 +24,10 @@ optim: SGD
2424
lr: 0.03
2525
momentum: 0.9
2626
weight_decay: 0.0005
27+
layer_decay: 1.0
2728
amp: False
2829
clip: 0.0
30+
use_cat: True
2931
net: wrn_28_2
3032
net_from_name: False
3133
data_dir: ./data
@@ -37,6 +39,6 @@ seed: 0
3739
world_size: 1
3840
rank: 0
3941
multiprocessing_distributed: True
40-
dist_url: tcp://127.0.0.1:10064
42+
dist_url: tcp://127.0.0.1:10060
4143
dist_backend: nccl
4244
gpu: None

config/classic_cv/adamatch/adamatch_cifar10_40_0.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ batch_size: 64
1313
eval_batch_size: 256
1414
hard_label: True
1515
T: 0.5
16-
p_cutoff: 0.9
16+
p_cutoff: 0.95
1717
ulb_loss_ratio: 1.0
1818
ema_p: 0.999
1919
uratio: 7
@@ -24,8 +24,10 @@ optim: SGD
2424
lr: 0.03
2525
momentum: 0.9
2626
weight_decay: 0.0005
27+
layer_decay: 1.0
2728
amp: False
2829
clip: 0.0
30+
use_cat: True
2931
net: wrn_28_2
3032
net_from_name: False
3133
data_dir: ./data
@@ -37,6 +39,6 @@ seed: 0
3739
world_size: 1
3840
rank: 0
3941
multiprocessing_distributed: True
40-
dist_url: tcp://127.0.0.1:10064
42+
dist_url: tcp://127.0.0.1:10060
4143
dist_backend: nccl
4244
gpu: None

config/classic_cv/adamatch/adamatch_stl10_1000_0.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ batch_size: 64
1313
eval_batch_size: 256
1414
hard_label: True
1515
T: 0.5
16-
p_cutoff: 0.9
16+
p_cutoff: 0.95
1717
ulb_loss_ratio: 1.0
1818
ema_p: 0.999
1919
uratio: 7
@@ -24,8 +24,10 @@ optim: SGD
2424
lr: 0.03
2525
momentum: 0.9
2626
weight_decay: 0.0005
27+
layer_decay: 1.0
2728
amp: False
2829
clip: 0.0
30+
use_cat: True
2931
net: wrn_var_37_2
3032
net_from_name: False
3133
data_dir: ./data
@@ -37,6 +39,6 @@ seed: 0
3739
world_size: 1
3840
rank: 0
3941
multiprocessing_distributed: True
40-
dist_url: tcp://127.0.0.1:10063
42+
dist_url: tcp://127.0.0.1:10059
4143
dist_backend: nccl
4244
gpu: None

0 commit comments

Comments
 (0)