41a1d4a6f6422f5bc403981189c3001e2e391c70,dlpy/applications.py,,VGG16,#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,613

Before Change


                             layer=dict(type="fullconnect", n=4096,
                                        act="relu", dropout=0.5),
                             srcLayers=["pool5"])
            model._retrieve_("addlayer", model=model_name, name="fc7",
                             layer=dict(type="fullconnect", n=4096,
                                        act="relu", dropout=0.5),
                             srcLayers=["fc6"])
            model._retrieve_("addlayer", model=model_name, name="fc8",
                             layer=dict(type="output", n=n_classes, act="softmax"),
                             srcLayers=["fc7"])
            model = Model.from_table(conn.CASTable(model_name))

After Change


            weight_table_options.update(dict(where="_LayerID_<19"))
            model._retrieve_("table.partition", table=weight_table_options,
                             casout=dict(replace=True, **model.model_weights.to_table_params()))
            model._retrieve_("removelayer", model=model_name, name="fc8")
            model._retrieve_("addlayer", model=model_name, name="fc8",
                             layer=dict(type="output", n=n_classes, act="softmax"),
                             srcLayers=["fc7"])
            model = Model.from_table(conn.CASTable(model_name))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: sassoftware/python-dlpy
Commit Name: 41a1d4a6f6422f5bc403981189c3001e2e391c70
Time: 2018-03-08
Author: leo.liu@sas.com
File Name: dlpy/applications.py
Class Name:
Method Name: VGG16


Project Name: sassoftware/python-dlpy
Commit Name: 5d508d9dbf743e5ba0105d99e611bfdc7d7966b8
Time: 2018-03-15
Author: leo.liu@sas.com
File Name: dlpy/applications.py
Class Name:
Method Name: LeNet5_bn


Project Name: sassoftware/python-dlpy
Commit Name: 41a1d4a6f6422f5bc403981189c3001e2e391c70
Time: 2018-03-08
Author: leo.liu@sas.com
File Name: dlpy/applications.py
Class Name:
Method Name: VGG19