4200f33d2cf69993ca84f1ba16ad0776b6a2368b,tensorboardX/writer.py,SummaryWriter,add_embedding,#SummaryWriter#Any#Any#Any#Any#Any#,402

Before Change


        if global_step is None:
            global_step = 0
            // clear pbtxt?
        save_path = os.path.join(self.file_writer.get_logdir(), str(global_step).zfill(5))
        try:
            os.makedirs(save_path)
        except OSError:

After Change


            // clear pbtxt?
        // Maybe we should encode the tag so slashes don"t trip us up?
        // I don"t think this will mess us up, but better safe than sorry.
        subdir = "%s-%s" % (self._encode(tag), str(global_step).zfill(5))
        save_path = os.path.join(self.file_writer.get_logdir(), subdir)
        try:
            os.makedirs(save_path)
        except OSError:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: lanpa/tensorboardX
Commit Name: 4200f33d2cf69993ca84f1ba16ad0776b6a2368b
Time: 2018-03-03
Author: binesh_binesh@hotmail.com
File Name: tensorboardX/writer.py
Class Name: SummaryWriter
Method Name: add_embedding


Project Name: EpistasisLab/tpot
Commit Name: 2ab8c1444facbd46df8767a5badda5b9f1a50c29
Time: 2016-08-01
Author: supacoofoo@gmail.com
File Name: tpot/tpot.py
Class Name: TPOT
Method Name: predict


Project Name: EpistasisLab/tpot
Commit Name: 2ab8c1444facbd46df8767a5badda5b9f1a50c29
Time: 2016-08-01
Author: supacoofoo@gmail.com
File Name: tests.py
Class Name:
Method Name: