Spaces:
Runtime error
Runtime error
update
Browse files
app.py
CHANGED
@@ -32,7 +32,7 @@ from tagging_model import TaggingModule
|
|
32 |
|
33 |
def parse_args():
|
34 |
parser = argparse.ArgumentParser(description="Qualitative")
|
35 |
-
parser.add_argument("--cfg-path", help="path to configuration file.",
|
36 |
parser.add_argument("--dummy", action="store_true", help="Debug Mode")
|
37 |
parser.add_argument("--gpu-id", type=int, default=0, help="specify the gpu to load the model.")
|
38 |
parser.add_argument(
|
@@ -89,7 +89,7 @@ else:
|
|
89 |
model = None
|
90 |
chat = DummyChat()
|
91 |
|
92 |
-
match = MatchModule(model='gpt-
|
93 |
tagging_module = TaggingModule(device=device)
|
94 |
grounding_dino = GroundingModule(device=device)
|
95 |
print('Initialization Finished')
|
|
|
32 |
|
33 |
def parse_args():
|
34 |
parser = argparse.ArgumentParser(description="Qualitative")
|
35 |
+
parser.add_argument("--cfg-path", help="path to configuration file.", default='./eval_configs/mmgpt4_eval.yaml')
|
36 |
parser.add_argument("--dummy", action="store_true", help="Debug Mode")
|
37 |
parser.add_argument("--gpu-id", type=int, default=0, help="specify the gpu to load the model.")
|
38 |
parser.add_argument(
|
|
|
89 |
model = None
|
90 |
chat = DummyChat()
|
91 |
|
92 |
+
match = MatchModule(model='gpt-3.5-turbo')
|
93 |
tagging_module = TaggingModule(device=device)
|
94 |
grounding_dino = GroundingModule(device=device)
|
95 |
print('Initialization Finished')
|