c65c6da8de768c9e896a51f1e79cfa1b537ad5fd,setup.py,,,#,8

Before Change



this_dir = os.path.dirname(__file__)

cffi_modules = []

try:
    import torch
    if torch.cuda.is_available():

After Change


        exit()
except ImportError:
    print("Cannot import torch")
    exit()

setup(
    name="s2cnn",
    version="1.0.0",
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: jonas-koehler/s2cnn
Commit Name: c65c6da8de768c9e896a51f1e79cfa1b537ad5fd
Time: 2018-03-23
Author: geiger.mario@gmail.com
File Name: setup.py
Class Name:
Method Name:


Project Name: gooofy/zamia-speech
Commit Name: 79aebeb14bf19333e61ee305b99f91dd191942d7
Time: 2018-12-10
Author: guenter@zamia.org
File Name: speech_editor.py
Class Name:
Method Name:


Project Name: codelucas/newspaper
Commit Name: 18836f4a7316e799f619d5ad35f8e238bff0b0ff
Time: 2014-12-17
Author: lucasyangpersonal@gmail.com
File Name: setup.py
Class Name:
Method Name: