cheng000 commited on
Commit
5a35788
1 Parent(s): 442ba4e

Update modeling_prismatic.py

Browse files
Files changed (1) hide show
  1. modeling_prismatic.py +0 -4
modeling_prismatic.py CHANGED
@@ -506,10 +506,6 @@ class OpenVLAForActionPrediction(PrismaticForConditionalGeneration):
506
  def predict_action(
507
  self, input_ids: Optional[torch.LongTensor] = None, unnorm_key: Optional[str] = None, **kwargs
508
  ) -> np.ndarray:
509
-
510
- print("YESSSSSSSSS")
511
- aa=bb
512
- exit(1)
513
  """Thin wrapper around .generate() that decodes predicted actions and unnormalizes them."""
514
  # We need to add this special empty token ('') after the colon (':') token in "ASSISTANT:"
515
  # in order for the predictions to match the training configuration and be accurate.
 
506
  def predict_action(
507
  self, input_ids: Optional[torch.LongTensor] = None, unnorm_key: Optional[str] = None, **kwargs
508
  ) -> np.ndarray:
 
 
 
 
509
  """Thin wrapper around .generate() that decodes predicted actions and unnormalizes them."""
510
  # We need to add this special empty token ('') after the colon (':') token in "ASSISTANT:"
511
  # in order for the predictions to match the training configuration and be accurate.