Skip to content

Commit

Permalink
Merge pull request #318 from Nota-NetsPresso/dev
Browse files Browse the repository at this point in the history
Hotfix update from dev branch: `v0.1.2` release
  • Loading branch information
illian01 authored Jan 17, 2024
2 parents edc9d6c + d206a4a commit 4bb5685
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 5 deletions.
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,24 @@ No changes to highlight.

No changes to highlight.

# v0.1.2

## New Features:

No changes to highlight.

## Bug Fixes:

- Remove union of int and list by `@illian01` in [PR 317](https://github.com/Nota-NetsPresso/netspresso-trainer/pull/317)

## Breaking Changes:

No changes to highlight.

## Other Changes:

No changes to highlight.

# v0.1.1

## New Features:
Expand Down
2 changes: 1 addition & 1 deletion src/netspresso_trainer/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1.1
0.1.2
8 changes: 4 additions & 4 deletions src/netspresso_trainer/cfg/augmentation.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ class ColorJitter(Transform):
@dataclass
class Pad(Transform):
name: str = 'pad'
padding: Union[int, List] = 0
fill: Union[int, List] = 0
padding: int = 0
fill: int = 0
padding_mode: str = 'constant'


Expand Down Expand Up @@ -78,7 +78,7 @@ class RandomVerticalFlip(Transform):
@dataclass
class Resize(Transform):
name: str = 'resize'
size: Union[int, List] = field(default_factory=lambda: [DEFAULT_IMG_SIZE, DEFAULT_IMG_SIZE])
size: List = field(default_factory=lambda: [DEFAULT_IMG_SIZE, DEFAULT_IMG_SIZE])
interpolation: Optional[str] = 'bilinear'
max_size: Optional[int] = None

Expand All @@ -87,7 +87,7 @@ class TrivialAugmentWide(Transform):
name: str = 'trivialaugmentwide'
num_magnitude_bins: int = 31
interpolation: str = 'bilinear'
fill: Optional[Union[int, List]] = None
fill: Optional[int] = None


@dataclass
Expand Down

0 comments on commit 4bb5685

Please sign in to comment.