tt1225 commited on
Commit
25f54e9
·
verified ·
1 Parent(s): a5691b4

Update modeling_prismatic.py

Browse files
Files changed (1) hide show
  1. 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
- # print(a.key
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