Update modeling_prismatic.py
Browse files- modeling_prismatic.py +4 -1
modeling_prismatic.py
CHANGED
@@ -520,11 +520,14 @@ class OpenVLAForActionPrediction(PrismaticForConditionalGeneration):
|
|
520 |
print(model_outputs.keys())
|
521 |
|
522 |
a = model_outputs["sequences"]
|
523 |
-
|
524 |
|
525 |
b = model_outputs["past_key_values"]
|
526 |
for i in b:
|
527 |
print(len(i))
|
|
|
|
|
|
|
528 |
# print(len(b))
|
529 |
|
530 |
# Extract predicted action tokens and translate into (normalized) continuous actions
|
|
|
520 |
print(model_outputs.keys())
|
521 |
|
522 |
a = model_outputs["sequences"]
|
523 |
+
print(a.shape)
|
524 |
|
525 |
b = model_outputs["past_key_values"]
|
526 |
for i in b:
|
527 |
print(len(i))
|
528 |
+
j, k = i
|
529 |
+
print("j:", j.shape)
|
530 |
+
print("k:", k.shape)
|
531 |
# print(len(b))
|
532 |
|
533 |
# Extract predicted action tokens and translate into (normalized) continuous actions
|