Skip to content

Commit

Permalink
add instruction for code mofication
Browse files Browse the repository at this point in the history
  • Loading branch information
OceanPang committed Mar 30, 2019
1 parent edb0393 commit 3e56397
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,15 @@ mmdetection
### Scripts
Just for reference, [Here](https://gist.github.com/hellock/bf23cd7348c727d69d48682cb6909047) is
a script for setting up mmdetection with conda.

### Notice
You need to rerun `python(3) setup.py install` once you made any modifications to mmdetection.
As alternative approaches, you can also insert following code to the main file
```python
import os, sys
sys.path.insert(0, os.path.join(os.getcwd(), '../'))
```
or run following command in the terminal of corresponding folder.
```shell
export PYTHONPATH=`pwd`:$PYTHONPATH
```

0 comments on commit 3e56397

Please sign in to comment.