Skip to content

Commit

Permalink
Fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
lrzpellegrini committed Feb 5, 2024
1 parent 763fd1c commit 4d15acc
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions avalanche/training/templates/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,9 @@ def train(
self.model.to(self.device)

# Normalize training and eval data.
experiences_list: Iterable[TExperienceType] = (
_experiences_parameter_as_iterable(experiences)
)
experiences_list: Iterable[
TExperienceType
] = _experiences_parameter_as_iterable(experiences)

if eval_streams is None:
eval_streams = [experiences_list]
Expand Down Expand Up @@ -202,9 +202,9 @@ def eval(
self.is_training = False
self.model.eval()

experiences_list: Iterable[TExperienceType] = (
_experiences_parameter_as_iterable(experiences)
)
experiences_list: Iterable[
TExperienceType
] = _experiences_parameter_as_iterable(experiences)
self.current_eval_stream = experiences_list

self._before_eval(**kwargs)
Expand Down

0 comments on commit 4d15acc

Please sign in to comment.