Transformer-ocr icon indicating copy to clipboard operation
Transformer-ocr copied to clipboard

Handwritten text recognition using transformers.

Results 7 Transformer-ocr issues
Sort by recently updated
recently updated
newest added

This happens here: import torchvision.transforms as T device = torch.device("cuda") transform = T.Compose([ T.ToTensor()]) tokenizer = Tokenizer(charset_base) train_loader = torch.utils.data.DataLoader(DataGenerator(source_path,charset_base,max_text_length,'train',transform), batch_size=batch_size, shuffle=False, num_workers=2) val_loader = torch.utils.data.DataLoader(DataGenerator(source_path,charset_base,max_text_length,'valid',transform), batch_size=batch_size, shuffle=False, num_workers=2) The...

Rimes and Bentham Dataset links can't be opened! Please share some alternate links.!

I had a few questions/clarifications regarding the hdf5 dataset that was linked on the notebook: 1. I ran the notebook for training from scratch using the existing hdf5 and obtained...

Bumps [tqdm](https://github.com/tqdm/tqdm) from 4.45.0 to 4.66.3. Release notes Sourced from tqdm's releases. tqdm v4.66.3 stable cli: eval safety (fixes CVE-2024-34062, GHSA-g7vv-2v7x-gj9p) tqdm v4.66.2 stable pandas: add DataFrame.progress_map (#1549) notebook: fix...

dependencies

Bumps [torch](https://github.com/pytorch/pytorch) from 1.5.0 to 2.2.0. Release notes Sourced from torch's releases. PyTorch 2.2: FlashAttention-v2, AOTInductor PyTorch 2.2 Release Notes Highlights Backwards Incompatible Changes Deprecations New Features Improvements Bug fixes...

dependencies

I got an error while I am trying to open the tutorial, can you please help