Skip to content
This repository was archived by the owner on Jan 20, 2026. It is now read-only.

Commit 256ca70

Browse files
committed
v0.3.4 & changelog
1 parent 40b6f78 commit 256ca70

File tree

4 files changed

+11
-19
lines changed

4 files changed

+11
-19
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,8 @@ repos:
2626
rev: 'v0.31.0'
2727
hooks:
2828
- id: yapf
29-
args: [ --in-place, --parallel ]
3029

31-
# - repo: https://github.com/pre-commit/mirrors-mypy
32-
# rev: 'v0.902'
33-
# hooks:
34-
# - id: mypy
30+
- repo: https://github.com/PyCQA/flake8
31+
rev: 3.9.2
32+
hooks:
33+
- id: flake8

CHANGELOG.md

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,28 +5,20 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

77

8-
## [unReleased] - 2021-MM-DD
9-
10-
### Added
11-
8+
## [0.3.4] - 2021-06-17
129

1310
### Changed
1411

1512
- Replaced `load_boston` with `load_diabetes` in the docs and tests ([#629](https://github.com/PyTorchLightning/lightning-bolts/pull/629))
16-
17-
1813
- Added base encoder and MLP dimension arguments to BYOL constructor ([#637](https://github.com/PyTorchLightning/lightning-bolts/pull/637))
1914

20-
21-
### Deprecated
22-
23-
24-
### Removed
25-
26-
2715
### Fixed
2816

2917
- Fixed the MNIST download giving HTTP 503 ([#633](https://github.com/PyTorchLightning/lightning-bolts/pull/633))
18+
- Fixed type annotation of `ExperienceSource.__iter__` ([#645](https://github.com/PyTorchLightning/lightning-bolts/pull/645))
19+
- Fixed `pretrained_urls` on Windows ([#652](https://github.com/PyTorchLightning/lightning-bolts/pull/652))
20+
- Fixed logistic regression ([#655](https://github.com/PyTorchLightning/lightning-bolts/pull/655), [#664](https://github.com/PyTorchLightning/lightning-bolts/pull/664))
21+
- Fixed double softmax in `SSLEvaluator` ([#663](https://github.com/PyTorchLightning/lightning-bolts/pull/663))
3022

3123

3224
## [0.3.3] - 2021-04-17

pl_bolts/__about__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = '0.4.0dev'
1+
__version__ = '0.3.4'
22
__author__ = 'PyTorchLightning et al.'
33
__author_email__ = 'name@pytorchlightning.ai'
44
__license__ = 'Apache-2.0'

pl_bolts/models/regression/logistic_regression.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ def validation_epoch_end(self, outputs: List[Dict[str, Tensor]]) -> Dict[str, Te
9090
return {'val_loss': val_loss, 'log': tensorboard_logs, 'progress_bar': progress_bar_metrics}
9191

9292
def test_step(self, batch: Tuple[Tensor, Tensor], batch_idx: int) -> Dict[str, Tensor]:
93+
x, y = batch
9394
x = x.view(x.size(0), -1)
9495
y_hat = self.linear(x)
9596
acc = accuracy(F.softmax(y_hat, -1), y)

0 commit comments

Comments
 (0)