Skip to content

Commit

Permalink
fix scheduler type definition
Browse files Browse the repository at this point in the history
  • Loading branch information
noxan committed Aug 16, 2023
1 parent 6d137ae commit 900eda1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion neuralprophet/configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ class Train:
optimizer: Union[str, Type[torch.optim.Optimizer]]
quantiles: List[float] = field(default_factory=list)
optimizer_args: dict = field(default_factory=dict)
scheduler: Optional[Type[torch.optim.lr_scheduler._LRScheduler]] = None
scheduler: Optional[Type[torch.optim.lr_scheduler.OneCycleLR]] = None
scheduler_args: dict = field(default_factory=dict)
newer_samples_weight: float = 1.0
newer_samples_start: float = 0.0
Expand Down

0 comments on commit 900eda1

Please sign in to comment.