Skip to content

Commit

Permalink
Fix ignite init process
Browse files Browse the repository at this point in the history
  • Loading branch information
polyaxon-ci committed Nov 29, 2023
1 parent 1d1419b commit 05ef428
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion traceml/traceml/integrations/ignite.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,6 @@

class Logger(PolyaxonLogger):
def __init__(self, *args, **kwargs):
self.experiment = kwargs.get("run", Run(*args, **kwargs))
self.experiment = kwargs.get("run")
if not self.experiment:
self.experiment = Run(*args, **kwargs)

0 comments on commit 05ef428

Please sign in to comment.