mirror of
https://github.com/huggingface/transformers.git
synced 2025-08-03 03:31:05 +06:00
style
This commit is contained in:
parent
86d103da23
commit
4d12924c1d
@ -46,6 +46,7 @@ else:
|
||||
if is_vision_available():
|
||||
from PIL import Image
|
||||
|
||||
|
||||
class Florence2VisionText2TextModelTester:
|
||||
def __init__(
|
||||
self,
|
||||
@ -148,7 +149,7 @@ class Florence2VisionText2TextModelTester:
|
||||
decoder_input_ids = ids_tensor([self.batch_size, self.seq_length], self.vocab_size)
|
||||
config = self.get_config()
|
||||
|
||||
inputs_dict = {
|
||||
inputs_dict = {
|
||||
"input_ids": input_ids,
|
||||
"pixel_values": pixel_values,
|
||||
"decoder_input_ids": decoder_input_ids,
|
||||
|
Loading…
Reference in New Issue
Block a user