94e56839e1db5b90e303335ef26bce9daec71c3e,code/HardNetMultipleDatasets.py,,train,#,488

Before Change


        if args.cuda:
            data_a, data_p = data_a.cuda(), data_p.cuda()
            data_a, data_p = Variable(data_a), Variable(data_p)
            out_a, out_p = model(data_a), model(data_p)

        if load_triplets:
            data_n = data_n.cuda()
            data_n = Variable(data_n)

After Change


        if args.cuda:
            data_a, data_p = data_a.cuda(), data_p.cuda()
            data_a, data_p = Variable(data_a), Variable(data_p)
            out_a = model(data_a)
            out_p = model(data_p)
        if load_triplets:
            data_n = data_n.cuda()
            data_n = Variable(data_n)
            out_n = model(data_n)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 6

Non-data size: 5

Instances


Project Name: DagnyT/hardnet
Commit Name: 94e56839e1db5b90e303335ef26bce9daec71c3e
Time: 2018-05-09
Author: ducha.aiki@gmail.com
File Name: code/HardNetMultipleDatasets.py
Class Name:
Method Name: train


Project Name: DagnyT/hardnet
Commit Name: 94e56839e1db5b90e303335ef26bce9daec71c3e
Time: 2018-05-09
Author: ducha.aiki@gmail.com
File Name: code/HardNetMultipleDatasets.py
Class Name:
Method Name: test


Project Name: DagnyT/hardnet
Commit Name: 94e56839e1db5b90e303335ef26bce9daec71c3e
Time: 2018-05-09
Author: ducha.aiki@gmail.com
File Name: code/HardNet.py
Class Name:
Method Name: train


Project Name: DagnyT/hardnet
Commit Name: 94e56839e1db5b90e303335ef26bce9daec71c3e
Time: 2018-05-09
Author: ducha.aiki@gmail.com
File Name: code/HardNetHPatchesSplits.py
Class Name:
Method Name: test


Project Name: DagnyT/hardnet
Commit Name: 94e56839e1db5b90e303335ef26bce9daec71c3e
Time: 2018-05-09
Author: ducha.aiki@gmail.com
File Name: code/HardNetHPatchesSplits.py
Class Name:
Method Name: train


Project Name: DagnyT/hardnet
Commit Name: 94e56839e1db5b90e303335ef26bce9daec71c3e
Time: 2018-05-09
Author: ducha.aiki@gmail.com
File Name: code/HardNet.py
Class Name:
Method Name: test