forked from mli/autocut
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add dockerfile and usage documentation (mli#29)
* Add dockerfile and usage documentation * add dockerfile.cuda * Change dockerfile to use cpu version pytorch * update readme.md Co-authored-by: pgh <pgh@PGH-HOME>
- Loading branch information
1 parent
e77c585
commit 1eccfc2
Showing
3 changed files
with
61 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
FROM python:3.9-slim as base | ||
|
||
RUN mkdir /autocut | ||
COPY ./ /autocut | ||
WORKDIR /autocut | ||
|
||
RUN apt update && \ | ||
apt install -y git && \ | ||
apt install -y ffmpeg | ||
|
||
RUN pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cpu && \ | ||
pip install . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
FROM pytorch/pytorch:1.13.0-cuda11.6-cudnn8-runtime | ||
|
||
RUN mkdir /autocut | ||
COPY ./ /autocut | ||
WORKDIR /autocut | ||
|
||
RUN apt update && \ | ||
apt install -y git && \ | ||
apt install -y ffmpeg | ||
|
||
RUN pip install . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters