-
Notifications
You must be signed in to change notification settings - Fork 570
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pydantic error #232
Comments
Modify alb.ElasticTransform( p=1, alpha=50, sigma=120 * 0.1, alpha_affine=120 * 0.01, border_mode=0, value=(255, 255, 255), ), to alb.ElasticTransform in transforms.py (p=1, alpha=50, sigma=120 * 0.1, alpha_affine=None, border_mode=0, value=(255, 255, 255), ), |
|
same issue |
That seemed to take care of the issue for me. Thanks! |
Thanks |
It worked and the model started downloading. However, after downloading the model checkpoint, it immediately throws a connection error. (WSL2) |
Can't even make a PR to fix this lol. They locked it down to collaborator-only. |
I am having the same issues with nougat. I am new to OCR. Please assist me with where I should make the change for the ElasticTransform function or any other way. Thanks for any advice.
|
Getting some strange error after making that edit,
Windows 11 |
Same error, Macbook pro Python 3.11.2 |
same issue
|
Try my fork for now, I merged the corresponding PRs: python3 -m pip install git+https://github.com/SichangHe/facebookresearch--nougat.git
# Or, using Pipx:
pipx install git+https://github.com/SichangHe/facebookresearch--nougat.git
# Or, if you are using Rye:
rye add --git https://github.com/SichangHe/facebookresearch--nougat.git nougat-ocr |
|
@SichangHe , should the existing line in |
I doublechecked, I have 1.4.14 in my environment and it still works. Also, I am moving away to marker-pdf because it seems to give fewer spurious errors, although their header detection and math decoding really suck. |
Instead of calling the nougat thing via the CLI, I chose to install nougat_api and it worked for me. That was sufficient for my use case. |
Hi, When running
nougat
on a test pdf fileI get the following traceback:
I get the same traceback when running
nougat
with no arguments.I have tried running this same command under MacOS, Linux, and Windows.
On all platforms,
nougat
was installed into a freshconda
virtual environment usingpip
.Any advice on solving the problem?
Thanks.
The text was updated successfully, but these errors were encountered: