2733bef356c53286d475a67476d88d4840923830,code/deep/finetune_AlexNet_ResNet/finetune_office31.py,,,#,15

Before Change


args = parser.parse_args()

// Parameter setting
DEVICE = torch.device("cuda:" + str(args.cuda)
                      if torch.cuda.is_available() else "cpu")
N_CLASS = 31
LEARNING_RATE = 1e-4
BATCH_SIZE = {"src": int(args.batchsize), "tar": int(args.batchsize)}

After Change


parser.add_argument("--n_epoch", type=int, default=100)
parser.add_argument("--momentum", type=float, default=0.9)
parser.add_argument("--decay", type=float, default=5e-4)
parser.add_argument("--data", type=str, default="Your dataset folder")
parser.add_argument("--early_stop", type=int, default=20)
args = parser.parse_args()

// Parameter setting
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: jindongwang/transferlearning
Commit Name: 2733bef356c53286d475a67476d88d4840923830
Time: 2020-09-30
Author: jindongwang@outlook.com
File Name: code/deep/finetune_AlexNet_ResNet/finetune_office31.py
Class Name:
Method Name:


Project Name: cve-search/cve-search
Commit Name: 10f98f742e47df11d47aa746699a009b6c6cb85b
Time: 2013-04-01
Author: a@foo.be
File Name: search_fulltext.py
Class Name:
Method Name:


Project Name: broadinstitute/gtex-pipeline
Commit Name: 0e5edbf9de01eb2368fc5c27887a860f34d24afd
Time: 2019-02-04
Author: francois@broadinstitute.org
File Name: rnaseq/src/run_MarkDuplicates.py
Class Name:
Method Name: