forked from IDEA-Research/Grounded-Segment-Anything
-
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.
- Loading branch information
Showing
4 changed files
with
41 additions
and
1 deletion.
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 |
---|---|---|
|
@@ -130,4 +130,6 @@ dmypy.json | |
|
||
# checkpoint | ||
*.pth | ||
outputs/ | ||
outputs/ | ||
|
||
.idea/ |
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,9 @@ | ||
FROM pytorch/pytorch:1.13.1-cuda11.6-cudnn8-devel | ||
|
||
COPY . /home/appuser | ||
WORKDIR /home/appuser | ||
RUN apt-get update | ||
RUN python -m pip install -e segment_anything | ||
RUN python -m pip install -e GroundingDINO | ||
RUN pip install --upgrade diffusers[torch] | ||
RUN pip install opencv-python pycocotools matplotlib onnxruntime onnx ipykernel |
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,10 @@ | ||
build-image: | ||
docker build -t=gsa:v0 . | ||
|
||
run: build-image | ||
nvidia-docker run --gpus all -it --rm --net=host --privileged \ | ||
-v /tmp/.X11-unix:/tmp/.X11-unix \ | ||
-e DISPLAY=$DISPLAY \ | ||
-v ${PWD}:/home/appuser \ | ||
--name=gsa \ | ||
--ipc=host -it gsa:v0 |
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