text
stringlengths
0
1.16k
torch.Size([13, 3, 448, 448]) knan debug pixel values shape
dynamic ViT batch size: 13, images per sample: 13.0, dynamic token length: 3400
dynamic ViT batch size: 13, images per sample: 13.0, dynamic token length: 3400
dynamic ViT batch size: 13, images per sample: 13.0, dynamic token length: 3400
dynamic ViT batch size: 13, images per sample: 13.0, dynamic token length: 3400
dynamic ViT batch size: 13, images per sample: 13.0, dynamic token length: 3400
tensor([9.9999e-01, 8.9396e-06, 2.3090e-07, 5.4222e-06, 4.8677e-09, 3.3982e-09,
1.6727e-08, 7.4202e-11], device='cuda:1', grad_fn=<SoftmaxBackward0>)
2 *************
['2', '3', '4', '1', '5', '8', '7', '29'] tensor([9.9999e-01, 8.9396e-06, 2.3090e-07, 5.4222e-06, 4.8677e-09, 3.3982e-09,
1.6727e-08, 7.4202e-11], device='cuda:1', grad_fn=<SelectBackward0>)
最后的概率分布为: {True: tensor(1.0000, device='cuda:1', grad_fn=<DivBackward0>), False: tensor(1.4618e-05, device='cuda:1', grad_fn=<DivBackward0>), 'Execute Error': tensor(5.9605e-08, device='cuda:1', grad_fn=<DivBackward0>)}
ANSWER0=VQA(image=LEFT,question='How many birds are in the image?')
ANSWER1=EVAL(expr='{ANSWER0} >= 2')
FINAL_ANSWER=RESULT(var=ANSWER1)
torch.Size([1, 3, 448, 448])
question: ['How many birds are in the image?'], responses:['1']
[('1', 0.12829009354978346), ('3', 0.12529928082343206), ('4', 0.12464806219229535), ('8', 0.12460015878893425), ('6', 0.12451220062887247), ('12', 0.124338487048427), ('2', 0.12420459433498025), ('47', 0.12410712263327517)]
[['1', '3', '4', '8', '6', '12', '2', '47']]
torch.Size([1, 3, 448, 448]) knan debug pixel values shape
dynamic ViT batch size: 13, images per sample: 13.0, dynamic token length: 3400
tensor([1.0000e+00, 3.5923e-10, 2.6770e-11, 6.3219e-11, 7.6258e-11, 1.4508e-08,
4.2713e-08, 1.8694e-10], device='cuda:1', grad_fn=<SoftmaxBackward0>)
1 *************
['1', '3', '4', '8', '6', '12', '2', '47'] tensor([1.0000e+00, 3.5923e-10, 2.6770e-11, 6.3219e-11, 7.6258e-11, 1.4508e-08,
4.2713e-08, 1.8694e-10], device='cuda:1', grad_fn=<SelectBackward0>)
最后的概率分布为: {True: tensor(5.7934e-08, device='cuda:1', grad_fn=<DivBackward0>), False: tensor(1., device='cuda:1', grad_fn=<DivBackward0>), 'Execute Error': tensor(0., device='cuda:1', grad_fn=<DivBackward0>)}
tensor([1.0000e+00, 2.8737e-07, 9.8332e-09, 3.5411e-08, 4.6715e-10, 1.9772e-10,
5.2099e-10, 4.7857e-11], device='cuda:0', grad_fn=<SoftmaxBackward0>)
2 *************
['2', '3', '4', '1', '5', '8', '7', '29'] tensor([1.0000e+00, 2.8737e-07, 9.8332e-09, 3.5411e-08, 4.6715e-10, 1.9772e-10,
5.2099e-10, 4.7857e-11], device='cuda:0', grad_fn=<SelectBackward0>)
最后的概率分布为: {True: tensor(2.8737e-07, device='cuda:0', grad_fn=<DivBackward0>), False: tensor(1.0000, device='cuda:0', grad_fn=<DivBackward0>), 'Execute Error': tensor(0., device='cuda:0', grad_fn=<DivBackward0>)}
ANSWER0=VQA(image=RIGHT,question='How many bottles are in the image?')
ANSWER1=EVAL(expr='{ANSWER0} == 2')
FINAL_ANSWER=RESULT(var=ANSWER1)
torch.Size([1, 3, 448, 448])
question: ['How many bottles are in the image?'], responses:['4']
[('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']]
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.7992e-01, 2.0080e-02, 9.3910e-07, 5.8363e-10, 1.2613e-07, 1.7082e-07,
1.0333e-08, 1.1177e-08], device='cuda:0', grad_fn=<SoftmaxBackward0>)
4 *************
['4', '5', '3', '8', '6', '1', '2', '11'] tensor([9.7992e-01, 2.0080e-02, 9.3910e-07, 5.8363e-10, 1.2613e-07, 1.7082e-07,
1.0333e-08, 1.1177e-08], device='cuda:0', grad_fn=<SelectBackward0>)
最后的概率分布为: {True: tensor(1.0333e-08, device='cuda:0', grad_fn=<DivBackward0>), False: tensor(1., device='cuda:0', grad_fn=<DivBackward0>), 'Execute Error': tensor(0., device='cuda:0', grad_fn=<DivBackward0>)}
tensor([0.5364, 0.0170, 0.2854, 0.0088, 0.0083, 0.0069, 0.1035, 0.0336],
device='cuda:3', grad_fn=<SoftmaxBackward0>)
35 *************
['35', '36', '37', '55', '34', '42', '39', '41'] tensor([0.5364, 0.0170, 0.2854, 0.0088, 0.0083, 0.0069, 0.1035, 0.0336],
device='cuda:3', grad_fn=<SelectBackward0>)
最后的概率分布为: {True: tensor(0., device='cuda:3', grad_fn=<MulBackward0>), False: tensor(1., device='cuda:3', grad_fn=<DivBackward0>), 'Execute Error': tensor(0., device='cuda:3', grad_fn=<DivBackward0>)}
[2024-10-24 10:25:41,293] [INFO] [logging.py:96:log_dist] [Rank 0] rank=0 time (ms) | optimizer_allgather: 1.36 | optimizer_gradients: 0.25 | optimizer_step: 0.31
[2024-10-24 10:25:41,294] [INFO] [logging.py:96:log_dist] [Rank 0] rank=0 time (ms) | forward_microstep: 5087.91 | backward_microstep: 5164.05 | backward_inner_microstep: 4967.47 | backward_allreduce_microstep: 196.48 | step_microstep: 7.39
[2024-10-24 10:25:41,294] [INFO] [logging.py:96:log_dist] [Rank 0] rank=0 time (ms) | forward: 5087.92 | backward: 5164.04 | backward_inner: 4967.50 | backward_allreduce: 196.46 | step: 7.40
98%|█████████▊| 4746/4844 [19:44:25<21:41, 13.28s/it]Registering VQA_lavis step
Registering EVAL step
Registering RESULT step
Registering VQA_lavis step
Registering EVAL step
Registering RESULT step
ANSWER0=VQA(image=RIGHT,question='Is the animal looking toward the camera?')
FINAL_ANSWER=RESULT(var=ANSWER0)
Registering VQA_lavis step
Registering EVAL step
Registering RESULT step
Registering VQA_lavis step
Registering EVAL step
Registering RESULT step
ANSWER0=VQA(image=LEFT,question='Can greenery be seen past the sink?')
ANSWER1=EVAL(expr='{ANSWER0}')
FINAL_ANSWER=RESULT(var=ANSWER1)
torch.Size([1, 3, 448, 448])
ANSWER0=VQA(image=LEFT,question='How many vending machines are in the image?')
ANSWER1=EVAL(expr='{ANSWER0} == 1')
FINAL_ANSWER=RESULT(var=ANSWER1)
ANSWER0=VQA(image=LEFT,question='Is the dog in the image on the left lying down?')
ANSWER1=EVAL(expr='{ANSWER0}')
FINAL_ANSWER=RESULT(var=ANSWER1)
torch.Size([3, 3, 448, 448])
torch.Size([13, 3, 448, 448])
torch.Size([13, 3, 448, 448])
question: ['Can greenery be seen past the sink?'], responses:['yes']
[('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([1, 3, 448, 448]) knan debug pixel values shape
question: ['Is the dog in the image on the left lying down?'], responses:['yes']
[('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([3, 3, 448, 448]) knan debug pixel values shape