Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
SOLOv2-pytorch
Commits
058e27d6
Unverified
Commit
058e27d6
authored
Mar 30, 2019
by
Jiangmiao Pang
Committed by
GitHub
Mar 30, 2019
Browse files
Merge pull request #454 from OceanPang/master
Instruction for code mofication
parents
3e563974
327b4a80
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
INSTALL.md
INSTALL.md
+8
-5
No files found.
INSTALL.md
View file @
058e27d6
...
...
@@ -62,13 +62,16 @@ Just for reference, [Here](https://gist.github.com/hellock/bf23cd7348c727d69d486
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
You can run
`python(3) setup.py develop`
or
`pip install -e .`
to install mmdetection if you want to make modifications to it frequently.
If there are more than one mmdetection on your machine, and you want to use them alternatively.
Please insert the following code to the main file
```
python
import
os
,
sys
sys
.
path
.
insert
(
0
,
os
.
path
.
join
(
os
.
getcwd
(),
'../'
))
import
os.path
as
osp
import
sys
sys
.
path
.
insert
(
0
,
osp
.
join
(
osp
.
dirname
(
osp
.
abspath
(
__file__
)),
'../'
))
```
or run following command in the terminal of corresponding folder.
or run
the
following command in the terminal of corresponding folder.
```
shell
export
PYTHONPATH
=
`
pwd
`
:
$PYTHONPATH
```
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment