Skip to content

Commit

Permalink
update warning msg
Browse files Browse the repository at this point in the history
  • Loading branch information
kshitij12345 committed Jul 27, 2023
1 parent 8a140f4 commit 3bdda49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/neptune_fastai/impl/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def _batch_size(self) -> int:
@property
def _optimizer_name(self) -> Optional[str]:
optim_name = getattr(self.opt_func, "__name__", "NA")
warnings.warn("NeptuneCallback: Couldn't retrieve the optimizer name, so it will not be logged.")
warnings.warn("NeptuneCallback: Couldn't retrieve the optimizer name, so it will logged as 'NA'.")
return optim_name

@property
Expand Down

0 comments on commit 3bdda49

Please sign in to comment.