Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

#601 save code renamed to _save_code_lines() in wandb logger

Merged
Ghost merged 1 commits into Deci-AI:master from deci-ai:hotfix/SG-000_rename_svae_code
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      src/super_gradients/common/sg_loggers/wandb_sg_logger.py
@@ -93,7 +93,7 @@ class WandBSGLogger(BaseSGLogger):
 
 
         run = wandb.init(project=project_name, name=experiment_name, entity=entity, resume=resumed, id=wandb_id, **kwargs)
         run = wandb.init(project=project_name, name=experiment_name, entity=entity, resume=resumed, id=wandb_id, **kwargs)
         if save_code:
         if save_code:
-            self._save_code()
+            self._save_code_lines()
 
 
         self._set_wandb_id(run.id)
         self._set_wandb_id(run.id)
         self.save_checkpoints_wandb = save_checkpoints_remote
         self.save_checkpoints_wandb = save_checkpoints_remote
@@ -101,7 +101,7 @@ class WandBSGLogger(BaseSGLogger):
         self.save_logs_wandb = save_logs_remote
         self.save_logs_wandb = save_logs_remote
 
 
     @multi_process_safe
     @multi_process_safe
-    def _save_code(self):
+    def _save_code_lines(self):
         """
         """
         Save the current code to wandb.
         Save the current code to wandb.
         If a file named .wandbinclude is avilable in the root dir of the project the settings will be taken from the file.
         If a file named .wandbinclude is avilable in the root dir of the project the settings will be taken from the file.
Discard