Skip to content
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

Google Colab notebook? #104

Open
yachty66 opened this issue Apr 29, 2024 · 2 comments
Open

Google Colab notebook? #104

yachty66 opened this issue Apr 29, 2024 · 2 comments

Comments

@yachty66
Copy link

Did anyone make a Google Colab for this? It would be quite useful because someone wouldn't need to go through all the installations of dependencies.

@PhunkyBob
Copy link

PhunkyBob commented May 31, 2024

Here is my Google Colab for using it with GPU support:

!pip3 install torch torchvision torchaudio
!pip install marker-pdf
!marker_single /path/to/file.pdf /path/to/output/folder --batch_multiplier 2

And with CPU only:

!pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
!pip install marker-pdf
!marker_single /path/to/file.pdf /path/to/output/folder --batch_multiplier 2

Don't bother with the "PIL" error message.

@Chrissi2802
Copy link

The question has been answered, I propose to close this issue. @VikParuchuri
Maybe you can add the suggestion in the README.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants