0ff5261d95eef0e6675ea25a394225729623e62b,face_alignment/api.py,FaceAlignment,__init__,#FaceAlignment#Any#Any#Any#Any#Any#,46

Before Change


            network_name = "2DFAN-"+str(int(network_size))+".pth.tar"
        fan_path = os.path.join(base_path, network_name)
        
        if not os.path.isfile(path_to_detector):
            print("Downloading the Face Alignment Network(FAN). Please wait...")

            urllib.request.urlretrieve("https://www.adrianbulat.com/downloads/python-fan/"+network_name,

After Change


                    os.path.join(depth_model_path),
                    reporthook)

            depth_weights = torch.load(depth_model_path)
            self.depth_prediciton_net.load_state_dict(
                depth_weights["state_dict"])

Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: 1adrianb/face-alignment
Commit Name: 0ff5261d95eef0e6675ea25a394225729623e62b
Time: 2017-09-18
Author: bulat.adrian@gmail.com
File Name: face_alignment/api.py
Class Name: FaceAlignment
Method Name: __init__


Project Name: dPys/PyNets
Commit Name: 879a721f2107992cd16e2304eb038ee2bb3ddf0a
Time: 2019-11-19
Author: dpisner@utexas.edu
File Name: pynets/fmri/estimation.py
Class Name:
Method Name: extract_ts_coords


Project Name: dPys/PyNets
Commit Name: 879a721f2107992cd16e2304eb038ee2bb3ddf0a
Time: 2019-11-19
Author: dpisner@utexas.edu
File Name: pynets/fmri/estimation.py
Class Name:
Method Name: extract_ts_parc