Open JadeKim042386 opened 2 years ago
isn't text_index type is tensor here? https://github.com/clovaai/deep-text-recognition-benchmark/blob/68a80fe97943a111ff1efaf52a63ad8f0f1c0e5d/utils.py#L48
When I print the 'preds_index.data' here, it's a tensor. So, above Shouldn't it be an t[i].item()? https://github.com/clovaai/deep-text-recognition-benchmark/blob/68a80fe97943a111ff1efaf52a63ad8f0f1c0e5d/test.py#L118
isn't text_index type is tensor here? https://github.com/clovaai/deep-text-recognition-benchmark/blob/68a80fe97943a111ff1efaf52a63ad8f0f1c0e5d/utils.py#L48
When I print the 'preds_index.data' here, it's a tensor. So, above Shouldn't it be an t[i].item()? https://github.com/clovaai/deep-text-recognition-benchmark/blob/68a80fe97943a111ff1efaf52a63ad8f0f1c0e5d/test.py#L118