Spaces:
Sleeping
Sleeping
Commit
·
31d38b7
1
Parent(s):
e526530
Fix device idx
Browse files- evaluate_demo.py +1 -1
evaluate_demo.py
CHANGED
@@ -22,7 +22,7 @@ WEIGHT_PATH = Path("./assets/")
|
|
22 |
pickle_path = WEIGHT_PATH / "distributions.pkl"
|
23 |
num_of_frame_in_sequence = 3
|
24 |
model = "InternVL2-8B"
|
25 |
-
device =
|
26 |
# Load the vision-language model
|
27 |
vision_language_model = InternVL(model_name=model, device=device)
|
28 |
# Load distributions
|
|
|
22 |
pickle_path = WEIGHT_PATH / "distributions.pkl"
|
23 |
num_of_frame_in_sequence = 3
|
24 |
model = "InternVL2-8B"
|
25 |
+
device = 0
|
26 |
# Load the vision-language model
|
27 |
vision_language_model = InternVL(model_name=model, device=device)
|
28 |
# Load distributions
|