Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
food-round2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Joel Joseph
food-round2
Commits
327b4a80
Commit
327b4a80
authored
6 years ago
by
pangjm
Browse files
Options
Downloads
Patches
Plain Diff
instruction for code mofication
parent
3e563974
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
INSTALL.md
+8
-5
8 additions, 5 deletions
INSTALL.md
with
8 additions
and
5 deletions
INSTALL.md
+
8
−
5
View file @
327b4a80
...
...
@@ -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
```
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment