text
stringlengths
0
1.16k
Registering VQA_lavis step
Registering EVAL step
Registering RESULT step
Registering VQA_lavis step
Registering VQA_lavis step
Registering EVAL step
Registering RESULT step
Registering EVAL step
Registering RESULT step
ANSWER0=VQA(image=RIGHT,question='Is there at least one person in a dark red graduation gown with black stripes on the sleeves?')
ANSWER1=EVAL(expr='{ANSWER0}')
FINAL_ANSWER=RESULT(var=ANSWER1)
ANSWER0=VQA(image=LEFT,question='How many religious statues are in the image?')
ANSWER1=EVAL(expr='{ANSWER0} == 3')
FINAL_ANSWER=RESULT(var=ANSWER1)
ANSWER0=VQA(image=LEFT,question='How many water bottles are in the image?')
ANSWER1=EVAL(expr='{ANSWER0} == 1')
FINAL_ANSWER=RESULT(var=ANSWER1)
torch.Size([7, 3, 448, 448])
torch.Size([7, 3, 448, 448])
torch.Size([13, 3, 448, 448])
torch.Size([7, 3, 448, 448])
question: ['How many religious statues are in the image?'], responses:['20']
question: ['How many water bottles are in the image?'], responses:['4']
question: ['Is there at least one person in a dark red graduation gown with black stripes on the sleeves?'], responses:['Yes']
[('20', 0.12771895156791702), ('21', 0.12586912554208884), ('22', 0.12503044546440548), ('26', 0.12459144863554222), ('30', 0.1243482131473721), ('48', 0.12418849501124658), ('27', 0.12415656019926104), ('28', 0.12409676043216668)]
[['20', '21', '22', '26', '30', '48', '27', '28']]
[('4', 0.12804651361935848), ('5', 0.12521071898947128), ('3', 0.12515925906184908), ('8', 0.12489091845155219), ('6', 0.1245383468146311), ('1', 0.12441141527606933), ('2', 0.12403713327181662), ('11', 0.12370569451525179)]
[['4', '5', '3', '8', '6', '1', '2', '11']]
[('yes', 0.1298617250866936), ('congratulations', 0.12464161604141298), ('no', 0.12445222599225532), ('honey', 0.12437056445881921), ('solid', 0.12422595371654564), ('right', 0.12419889376311324), ('candle', 0.12414264780165109), ('chocolate', 0.12410637313950891)]
[['yes', 'congratulations', 'no', 'honey', 'solid', 'right', 'candle', 'chocolate']]
torch.Size([7, 3, 448, 448]) knan debug pixel values shape
torch.Size([7, 3, 448, 448]) knan debug pixel values shape
torch.Size([7, 3, 448, 448]) knan debug pixel values shape
dynamic ViT batch size: 7, images per sample: 7.0, dynamic token length: 1872
dynamic ViT batch size: 7, images per sample: 7.0, dynamic token length: 1875
question: ['Does one dog have a red collar?'], responses:['yes']
dynamic ViT batch size: 7, images per sample: 7.0, dynamic token length: 1872
[('yes', 0.1298617250866936), ('congratulations', 0.12464161604141298), ('no', 0.12445222599225532), ('honey', 0.12437056445881921), ('solid', 0.12422595371654564), ('right', 0.12419889376311324), ('candle', 0.12414264780165109), ('chocolate', 0.12410637313950891)]
[['yes', 'congratulations', 'no', 'honey', 'solid', 'right', 'candle', 'chocolate']]
dynamic ViT batch size: 7, images per sample: 7.0, dynamic token length: 1873
torch.Size([13, 3, 448, 448]) knan debug pixel values shape
dynamic ViT batch size: 7, images per sample: 7.0, dynamic token length: 1872
dynamic ViT batch size: 7, images per sample: 7.0, dynamic token length: 1872
dynamic ViT batch size: 7, images per sample: 7.0, dynamic token length: 1873
dynamic ViT batch size: 7, images per sample: 7.0, dynamic token length: 1873
tensor([9.9260e-01, 7.3995e-03, 1.5335e-06, 5.3928e-10, 1.4246e-07, 7.0076e-08,
2.5232e-09, 1.1787e-08], device='cuda:1', grad_fn=<SoftmaxBackward0>)
4 *************
['4', '5', '3', '8', '6', '1', '2', '11'] tensor([9.9260e-01, 7.3995e-03, 1.5335e-06, 5.3928e-10, 1.4246e-07, 7.0076e-08,
2.5232e-09, 1.1787e-08], device='cuda:1', grad_fn=<SelectBackward0>)
tensor([0.4114, 0.0209, 0.0735, 0.0047, 0.4278, 0.0014, 0.0553, 0.0051],
device='cuda:2', grad_fn=<SoftmaxBackward0>)
30 *************
['20', '21', '22', '26', '30', '48', '27', '28'] tensor([0.4114, 0.0209, 0.0735, 0.0047, 0.4278, 0.0014, 0.0553, 0.0051],
device='cuda:2', grad_fn=<SelectBackward0>)
ๆœ€ๅŽ็š„ๆฆ‚็އๅˆ†ๅธƒไธบ: {True: tensor(7.0076e-08, device='cuda:1', grad_fn=<DivBackward0>), False: tensor(1.0000, device='cuda:1', grad_fn=<DivBackward0>), 'Execute Error': tensor(0., device='cuda:1', grad_fn=<DivBackward0>)}
ANSWER0=VQA(image=LEFT,question='How many dogs are in the image?')
ANSWER1=EVAL(expr='{ANSWER0} == 2')
FINAL_ANSWER=RESULT(var=ANSWER1)
tensor([9.9741e-01, 8.5909e-09, 2.5851e-03, 2.1413e-09, 2.3330e-10, 1.8518e-11,
4.3888e-11, 1.6091e-09], device='cuda:0', grad_fn=<SoftmaxBackward0>)
yes *************
['yes', 'congratulations', 'no', 'honey', 'solid', 'right', 'candle', 'chocolate'] tensor([9.9741e-01, 8.5909e-09, 2.5851e-03, 2.1413e-09, 2.3330e-10, 1.8518e-11,
4.3888e-11, 1.6091e-09], device='cuda:0', grad_fn=<SelectBackward0>)
ๆœ€ๅŽ็š„ๆฆ‚็އๅˆ†ๅธƒไธบ: {True: tensor(0., device='cuda:2', grad_fn=<MulBackward0>), False: tensor(1., device='cuda:2', grad_fn=<DivBackward0>), 'Execute Error': tensor(0., device='cuda:2', grad_fn=<DivBackward0>)}
ANSWER0=VQA(image=RIGHT,question='How many chairs are in the image?')
ANSWER1=EVAL(expr='{ANSWER0} == 4')
FINAL_ANSWER=RESULT(var=ANSWER1)
torch.Size([7, 3, 448, 448])
ๆœ€ๅŽ็š„ๆฆ‚็އๅˆ†ๅธƒไธบ: {True: tensor(0.9974, device='cuda:0', grad_fn=<DivBackward0>), False: tensor(0.0026, device='cuda:0', grad_fn=<DivBackward0>), 'Execute Error': tensor(-3.1199e-08, device='cuda:0', grad_fn=<DivBackward0>)}
ANSWER0=VQA(image=RIGHT,question='How many dogs are in the image?')
ANSWER1=EVAL(expr='{ANSWER0} == 2')
FINAL_ANSWER=RESULT(var=ANSWER1)
torch.Size([1, 3, 448, 448])
torch.Size([13, 3, 448, 448])
question: ['How many dogs are in the image?'], responses:['2']
[('2', 0.12961991198727602), ('3', 0.12561270547489775), ('4', 0.12556127085987287), ('1', 0.1254920833223361), ('5', 0.12407835939022728), ('8', 0.124024076973589), ('7', 0.12288810153923228), ('29', 0.12272349045256851)]
[['2', '3', '4', '1', '5', '8', '7', '29']]
torch.Size([1, 3, 448, 448]) knan debug pixel values shape
dynamic ViT batch size: 1, images per sample: 1.0, dynamic token length: 324
dynamic ViT batch size: 1, images per sample: 1.0, dynamic token length: 324
dynamic ViT batch size: 1, images per sample: 1.0, dynamic token length: 324
dynamic ViT batch size: 1, images per sample: 1.0, dynamic token length: 324
dynamic ViT batch size: 1, images per sample: 1.0, dynamic token length: 324
dynamic ViT batch size: 1, images per sample: 1.0, dynamic token length: 324
dynamic ViT batch size: 1, images per sample: 1.0, dynamic token length: 324
dynamic ViT batch size: 1, images per sample: 1.0, dynamic token length: 324
tensor([9.9999e-01, 1.4739e-05, 8.7641e-08, 5.3157e-08, 1.9822e-09, 1.5927e-09,
4.2957e-09, 8.2432e-11], device='cuda:0', grad_fn=<SoftmaxBackward0>)
2 *************
['2', '3', '4', '1', '5', '8', '7', '29'] tensor([9.9999e-01, 1.4739e-05, 8.7641e-08, 5.3157e-08, 1.9822e-09, 1.5927e-09,
4.2957e-09, 8.2432e-11], device='cuda:0', grad_fn=<SelectBackward0>)
ๆœ€ๅŽ็š„ๆฆ‚็އๅˆ†ๅธƒไธบ: {True: tensor(1.0000, device='cuda:0', grad_fn=<DivBackward0>), False: tensor(1.4888e-05, device='cuda:0', grad_fn=<DivBackward0>), 'Execute Error': tensor(5.9605e-08, device='cuda:0', grad_fn=<DivBackward0>)}
question: ['How many dogs are in the image?'], responses:['2']
[('2', 0.12961991198727602), ('3', 0.12561270547489775), ('4', 0.12556127085987287), ('1', 0.1254920833223361), ('5', 0.12407835939022728), ('8', 0.124024076973589), ('7', 0.12288810153923228), ('29', 0.12272349045256851)]
[['2', '3', '4', '1', '5', '8', '7', '29']]
torch.Size([7, 3, 448, 448]) knan debug pixel values shape
question: ['How many chairs are in the image?'], responses:['2']
[('2', 0.12961991198727602), ('3', 0.12561270547489775), ('4', 0.12556127085987287), ('1', 0.1254920833223361), ('5', 0.12407835939022728), ('8', 0.124024076973589), ('7', 0.12288810153923228), ('29', 0.12272349045256851)]