Skip to content

Commit 3286310

Browse files
committed
Updated imports and version.
1 parent 197f47d commit 3286310

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

mm_poe/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.1.4
1+
0.1.5

mm_poe/cli.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,22 +10,22 @@
1010
import torch
1111
from torch.utils.data import DataLoader
1212

13-
from .methods.utils.data import (
13+
from methods.utils.data import (
1414
create_multiple_choice_prompt,
1515
preprocess_function_seq2seq_vqa,
1616
preprocess_function_seq2seq_vqa_channel,
1717
preprocess_function_causal_vqa,
1818
preprocess_function_causal_vqa_channel,
1919
)
20-
from .methods.utils.methods import (
20+
from methods.utils.methods import (
2121
compute_conditional_score_seq2seq_vqa,
2222
compute_conditional_score_causal_vqa,
2323
compute_mask_process_of_elimination,
2424
inference_process_of_elimination,
2525
inference_language_modeling,
2626
inference_calibration,
2727
)
28-
from .methods.utils.utils import load_data, load_model, set_seed
28+
from methods.utils.utils import load_data, load_model, set_seed
2929

3030
all_checkpoints = {
3131
"BLIP2-OPT": ["Salesforce/blip2-opt-2.7b"],

0 commit comments

Comments
 (0)