This repository has been archived by the owner on Oct 31, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix cv2 compatibility between versions 3 and 4; ignore vscode; minor …
…flake8 fix (#846)
- Loading branch information
Showing
12 changed files
with
160 additions
and
162 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,6 +25,9 @@ dist/ | |
# Pycharm editor settings | ||
.idea | ||
|
||
# vscode editor settings | ||
.vscode | ||
|
||
# MacOS | ||
.DS_Store | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
import os | ||
from IPython.lib import passwd | ||
|
||
#c = c # pylint:disable=undefined-variable | ||
# c = c # pylint:disable=undefined-variable | ||
c = get_config() | ||
c.NotebookApp.ip = '0.0.0.0' | ||
c.NotebookApp.port = int(os.getenv('PORT', 8888)) | ||
c.NotebookApp.open_browser = False | ||
|
||
# sets a password if PASSWORD is set in the environment | ||
if 'PASSWORD' in os.environ: | ||
password = os.environ['PASSWORD'] | ||
if password: | ||
c.NotebookApp.password = passwd(password) | ||
else: | ||
c.NotebookApp.password = '' | ||
c.NotebookApp.token = '' | ||
del os.environ['PASSWORD'] | ||
password = os.environ['PASSWORD'] | ||
if password: | ||
c.NotebookApp.password = passwd(password) | ||
else: | ||
c.NotebookApp.password = '' | ||
c.NotebookApp.token = '' | ||
del os.environ['PASSWORD'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# | ||
# | ||
# Copied From [mmdetection](https://github.com/open-mmlab/mmdetection/tree/master/mmdet/ops/dcn) | ||
# | ||
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.