Skip to content

Commit

Permalink
Fix Views (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
kozlov721 authored Jul 17, 2024
1 parent 57258ee commit ef606b7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions luxonis_train/core/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,11 +128,11 @@ def __init__(
if view == "train"
else self.val_augmentations
),
view=(
self.cfg.loader.train_view
if view == "train"
else self.cfg.loader.val_view
),
view={
"train": self.cfg.loader.train_view,
"val": self.cfg.loader.val_view,
"test": self.cfg.loader.test_view,
}[view],
image_source=self.cfg.loader.image_source,
**self.cfg.loader.params,
)
Expand Down

0 comments on commit ef606b7

Please sign in to comment.