a47c536ab7cb5c8f1a9e0136394876c68d75d1fd,dlpy/network.py,Network,load_weights,#Network#Any#Any#,632

Before Change



        """

        dir_name, file_name = os.path.split(path)
        if file_name.lower().endswith(".sashdat"):
            self.load_weights_from_table(path)
        elif file_name.lower().endswith("caffemodel.h5"):
            self.load_weights_from_caffe(path, labels=labels)

After Change



        server_sep = get_server_path_sep(self.conn)

        dir_name, file_name = path.rsplit(server_sep, 1)
        if file_name.lower().endswith(".sashdat"):
            self.load_weights_from_table(path)
        elif file_name.lower().endswith("caffemodel.h5"):
            self.load_weights_from_caffe(path, labels=labels)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 2

Instances


Project Name: sassoftware/python-dlpy
Commit Name: a47c536ab7cb5c8f1a9e0136394876c68d75d1fd
Time: 2019-01-09
Author: 34170572+wenyushi@users.noreply.github.com
File Name: dlpy/network.py
Class Name: Network
Method Name: load_weights


Project Name: jazzband/django-debug-toolbar
Commit Name: 7fa83ed02ee038802d41f955966c892148385bae
Time: 2012-05-13
Author: jannis@leidel.info
File Name: debug_toolbar/panels/signals.py
Class Name: SignalDebugPanel
Method Name: signals


Project Name: sassoftware/python-dlpy
Commit Name: a47c536ab7cb5c8f1a9e0136394876c68d75d1fd
Time: 2019-01-09
Author: 34170572+wenyushi@users.noreply.github.com
File Name: dlpy/network.py
Class Name: Network
Method Name: load_weights_attr


Project Name: etal/cnvkit
Commit Name: dc7910bfcc1317c1b5bcbd83338510e92608f305
Time: 2016-12-06
Author: eric.talevich@gmail.com
File Name: cnvlib/core.py
Class Name:
Method Name: fbase