Commit dc76799a authored by 103yiran's avatar 103yiran Committed by Facebook Github Bot

Correct hyperlinks. (#527)

Summary:
Correct the `test_batch_permutation_op.py` and `test_spatial_narrow_as_op.py` link.
Closes https://github.com/facebookresearch/Detectron/pull/527

Reviewed By: rbgirshick

Differential Revision: D8677148

Pulled By: ir413

fbshipit-source-id: ce8898f48590b57ed964db113035fb4da8418668
parent 8170b25b
...@@ -69,7 +69,7 @@ Set up Python modules: ...@@ -69,7 +69,7 @@ Set up Python modules:
cd $DETECTRON && make cd $DETECTRON && make
``` ```
Check that Detectron tests pass (e.g. for [`SpatialNarrowAsOp test`](tests/test_spatial_narrow_as_op.py)): Check that Detectron tests pass (e.g. for [`SpatialNarrowAsOp test`](detectron/tests/test_spatial_narrow_as_op.py)):
``` ```
python2 $DETECTRON/detectron/tests/test_spatial_narrow_as_op.py python2 $DETECTRON/detectron/tests/test_spatial_narrow_as_op.py
...@@ -115,7 +115,7 @@ cd $DETECTRON/docker ...@@ -115,7 +115,7 @@ cd $DETECTRON/docker
docker build -t detectron:c2-cuda9-cudnn7 . docker build -t detectron:c2-cuda9-cudnn7 .
``` ```
Run the image (e.g. for [`BatchPermutationOp test`](tests/test_batch_permutation_op.py)): Run the image (e.g. for [`BatchPermutationOp test`](detectron/tests/test_batch_permutation_op.py)):
``` ```
nvidia-docker run --rm -it detectron:c2-cuda9-cudnn7 python2 detectron/tests/test_batch_permutation_op.py nvidia-docker run --rm -it detectron:c2-cuda9-cudnn7 python2 detectron/tests/test_batch_permutation_op.py
...@@ -129,7 +129,7 @@ In case of Caffe2 installation problems, please read the troubleshooting section ...@@ -129,7 +129,7 @@ In case of Caffe2 installation problems, please read the troubleshooting section
Caffe2 comes with performance [`profiling`](https://github.com/caffe2/caffe2/tree/master/caffe2/contrib/prof) Caffe2 comes with performance [`profiling`](https://github.com/caffe2/caffe2/tree/master/caffe2/contrib/prof)
support which you may find useful for benchmarking or debugging your operators support which you may find useful for benchmarking or debugging your operators
(see [`BatchPermutationOp test`](tests/test_batch_permutation_op.py) for example usage). (see [`BatchPermutationOp test`](detectron/tests/test_batch_permutation_op.py) for example usage).
Profiling support is not built by default and you can enable it by setting Profiling support is not built by default and you can enable it by setting
the `-DUSE_PROF=ON` flag when running Caffe2 CMake. the `-DUSE_PROF=ON` flag when running Caffe2 CMake.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment