c08e45b9968501980c5e5daab2a46c3b7305c162,setup.py,,update_tf_dep,#Any#,441
Before Change
return
if custom_tf:
REQUIRED_PACKAGES.append(custom_tf)
return
tf_ver = "tensorflow-gpu=={}.0" .format(tf_ver)
REQUIRED_PACKAGES.append(tf_ver)
After Change
if not custom_tf:
return
custom_tf = os.path.realpath(os.path.expanduser(custom_tf))
if not os.path.isfile(custom_tf):
out_error("{} not found" .format(custom_tf))
elif os.path.splitext(custom_tf)[1 ] != ".whl" :
out_error("{} is not a valid pip wheel" .format(custom_tf))
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances Project Name: deepfakes/faceswap
Commit Name: c08e45b9968501980c5e5daab2a46c3b7305c162
Time: 2018-11-16
Author: 36920800+torzdf@users.noreply.github.com
File Name: setup.py
Class Name:
Method Name: update_tf_dep
Project Name: deepfakes/faceswap
Commit Name: c08e45b9968501980c5e5daab2a46c3b7305c162
Time: 2018-11-16
Author: 36920800+torzdf@users.noreply.github.com
File Name: setup.py
Class Name:
Method Name: update_tf_dep
Project Name: geometalab/OSMDeepOD
Commit Name: 3a5ed88d739d77c79a569b58710822b1a9832d59
Time: 2017-03-31
Author: samuel.kurath@gmail.com
File Name: tests/base/test_configuration.py
Class Name:
Method Name: configuration
Project Name: geometalab/OSMDeepOD
Commit Name: 3a5ed88d739d77c79a569b58710822b1a9832d59
Time: 2017-03-31
Author: samuel.kurath@gmail.com
File Name: tests/conftest.py
Class Name:
Method Name: configuration_no_compare