Update moo.py
Browse files
moo.py
CHANGED
|
@@ -47,11 +47,11 @@ if 'Half-Life' in args.objectives:
|
|
| 47 |
halflife_model = HalfLifeModel(device=device)
|
| 48 |
score_models.append(halflife_model)
|
| 49 |
if 'Affinity' in args.objectives:
|
| 50 |
-
affinity_predictor = load_affinity_predictor('
|
| 51 |
affinity_model = AffinityModel(affinity_predictor, target_sequence)
|
| 52 |
score_models.append(affinity_model)
|
| 53 |
if 'Motif' in args.objectives or 'Specificity' in args.objectives:
|
| 54 |
-
bindevaluator = load_bindevaluator('/
|
| 55 |
motif_model = MotifModel(bindevaluator, target_sequence, motifs, penalty=args.motif_penalty)
|
| 56 |
score_models.append(motif_model)
|
| 57 |
|
|
|
|
| 47 |
halflife_model = HalfLifeModel(device=device)
|
| 48 |
score_models.append(halflife_model)
|
| 49 |
if 'Affinity' in args.objectives:
|
| 50 |
+
affinity_predictor = load_affinity_predictor('./classifier_ckpt/binding_affinity_unpooled.pt', device)
|
| 51 |
affinity_model = AffinityModel(affinity_predictor, target_sequence)
|
| 52 |
score_models.append(affinity_model)
|
| 53 |
if 'Motif' in args.objectives or 'Specificity' in args.objectives:
|
| 54 |
+
bindevaluator = load_bindevaluator('./classifier_ckpt/finetuned_BindEvaluator.ckpt', device)
|
| 55 |
motif_model = MotifModel(bindevaluator, target_sequence, motifs, penalty=args.motif_penalty)
|
| 56 |
score_models.append(motif_model)
|
| 57 |
|