Ruff Docstring formatting (#15793)
Signed-off-by: UltralyticsAssistant <web@ultralytics.com> Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
This commit is contained in:
parent
d27664216b
commit
776ca86369
60 changed files with 241 additions and 309 deletions
|
|
@ -203,7 +203,6 @@ class HuggingFaceVideoClassifier:
|
|||
Returns:
|
||||
torch.Tensor: The model's output.
|
||||
"""
|
||||
|
||||
input_ids = self.processor(text=self.labels, return_tensors="pt", padding=True)["input_ids"].to(self.device)
|
||||
|
||||
inputs = {"pixel_values": sequences, "input_ids": input_ids}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue