Skip to content

Commit

Permalink
patch -f instead of -t
Browse files Browse the repository at this point in the history
  • Loading branch information
bertsky authored May 21, 2024
1 parent ae660a8 commit 1f56273
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ deps:
-r <(sed -n "/torch/p" requirements.txt) && \
$(PIP) install --no-build-isolation -f "https://dl.fbaipublicfiles.com/detectron2/wheels/$$CUDA/torch1.10/index.html" \
"git+https://github.com/facebookresearch/[email protected]#egg=detectron2"
-wget --quiet -O- https://github.com/facebookresearch/detectron2/commit/ed294fabf043eadbb33948d5c39f8f0361829a4f.patch | patch -t -d `$(PYTHON) -c "import detectron2; print(detectron2.__path__[0])"` -p2
-wget --quiet -O- https://github.com/facebookresearch/detectron2/commit/ed294fabf043eadbb33948d5c39f8f0361829a4f.patch | patch -f -d `$(PYTHON) -c "import detectron2; print(detectron2.__path__[0])"` -p2

# Install Python package via pip
install: deps
Expand Down

0 comments on commit 1f56273

Please sign in to comment.