lalitr994

Results 6 comments of lalitr994

@NielsRogge sure. does it means its not supported yet for LayoutLMv2

batchd_cls = process_in_batches(data[start_pos: end_pos],image) File "form_test_new.py", line 129, in process_in_batches outputs = model(input_ids=batch_input_ids, bbox=bbox, attention_mask=batch_attention_mask,labels=None,images=image) File "/anaconda/envs/layoutlmv3/lib/python3.7/site-packages/torch/nn/modules/module.py", line 1102, in _call_impl return forward_call(*input, **kwargs) File "/anaconda/envs/layoutlmv3/lib/python3.7/site-packages/layoutlmft/models/layoutlmv3/modeling_layoutlmv3.py", line 1050, in forward...

Any way to get confidence score in it ?

> > Any way to get confidence score in it ? > > Hi, neural networks (like LayoutLMv2) typically return `logits`, which are the raw (unnormalized) scores for the classes....

@tuongtranegs can you please share the inference code? I am getting an error while initializing the tokenizer.