mirror of
https://github.com/allenai/olmocr.git
synced 2025-10-18 19:49:19 +00:00
Point to latest docker image which gets built automaticaly now
This commit is contained in:
parent
e10a53c89a
commit
1ec7f8f300
1
.github/workflows/main.yml
vendored
1
.github/workflows/main.yml
vendored
@ -256,7 +256,6 @@ jobs:
|
|||||||
type=ref,event=tag
|
type=ref,event=tag
|
||||||
type=semver,pattern={{version}}
|
type=semver,pattern={{version}}
|
||||||
type=semver,pattern={{major}}.{{minor}}
|
type=semver,pattern={{major}}.{{minor}}
|
||||||
type=semver,pattern={{major}}
|
|
||||||
flavor: |
|
flavor: |
|
||||||
latest=true
|
latest=true
|
||||||
|
|
||||||
|
@ -207,12 +207,12 @@ python -m olmocr.pipeline s3://my_s3_bucket/pdfworkspaces/exampleworkspace --pdf
|
|||||||
|
|
||||||
Pull the Docker image.
|
Pull the Docker image.
|
||||||
```bash
|
```bash
|
||||||
docker pull alleninstituteforai/olmocr:0.1.68
|
docker pull alleninstituteforai/olmocr:latest
|
||||||
```
|
```
|
||||||
|
|
||||||
To run the container interactively:
|
To run the container interactively:
|
||||||
```bash
|
```bash
|
||||||
docker run -it --gpus all --name olmocr_container alleninstituteforai/olmocr:0.1.68 /bin/bash
|
docker run -it --gpus all --name olmocr_container alleninstituteforai/olmocr:latest /bin/bash
|
||||||
```
|
```
|
||||||
|
|
||||||
If you want to access your local files inside the container, use volume mounting:
|
If you want to access your local files inside the container, use volume mounting:
|
||||||
@ -220,7 +220,7 @@ If you want to access your local files inside the container, use volume mounting
|
|||||||
docker run -it --gpus all \
|
docker run -it --gpus all \
|
||||||
-v /path/to/your/local/files:/local_files \
|
-v /path/to/your/local/files:/local_files \
|
||||||
--name olmocr_container \
|
--name olmocr_container \
|
||||||
alleninstituteforai/olmocr:0.1.68 /bin/bash
|
alleninstituteforai/olmocr:latest /bin/bash
|
||||||
```
|
```
|
||||||
|
|
||||||
All dependencies are already installed. Once you’re inside the container, you can run olmOCR commands. For example:
|
All dependencies are already installed. Once you’re inside the container, you can run olmOCR commands. For example:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user