Skip to content

Commit

Permalink
added a logging tool
Browse files Browse the repository at this point in the history
  • Loading branch information
MLRichter committed Jan 26, 2023
1 parent 5d9206c commit bea67c7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions train.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@
import models.densenet

has_native_amp = False

try:
if getattr(torch.cuda.amp, 'autocast') is not None:
has_native_amp = True
Expand Down

0 comments on commit bea67c7

Please sign in to comment.