Skip to content

Commit

Permalink
Update license block.
Browse files Browse the repository at this point in the history
  • Loading branch information
SamvitJ committed Jun 10, 2019
1 parent c772481 commit 4424d1f
Show file tree
Hide file tree
Showing 31 changed files with 120 additions and 113 deletions.
9 changes: 4 additions & 5 deletions dff_deeplab/config/config.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
# --------------------------------------------------------
# Deep Feature Flow
# Copyright (c) 2016 by Contributors
# Copyright (c) 2017 Microsoft
# Licensed under The Apache-2.0 License [see LICENSE for details]
# Modified by Xizhou Zhu, Yuwen Xiong, Bin Xiao
# Accel
# Copyright (c) 2019
# Licensed under the MIT License [see LICENSE for details]
# Modified by Samvit Jain
# --------------------------------------------------------

import yaml
Expand Down
9 changes: 4 additions & 5 deletions dff_deeplab/core/DataParallelExecutorGroup.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
# --------------------------------------------------------
# Deep Feature Flow
# Copyright (c) 2016 by Contributors
# Copyright (c) 2017 Microsoft
# Licensed under The Apache-2.0 License [see LICENSE for details]
# Modified by Yuwen Xiong
# Accel
# Copyright (c) 2019
# Licensed under the MIT License [see LICENSE for details]
# Modified by Samvit Jain
# --------------------------------------------------------

import logging
Expand Down
9 changes: 4 additions & 5 deletions dff_deeplab/core/callback.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
# --------------------------------------------------------
# Deep Feature Flow
# Copyright (c) 2016 by Contributors
# Copyright (c) 2017 Microsoft
# Licensed under The Apache-2.0 License [see LICENSE for details]
# Modified by Yuwen Xiong
# Accel
# Copyright (c) 2019
# Licensed under the MIT License [see LICENSE for details]
# Modified by Samvit Jain
# --------------------------------------------------------

import time
Expand Down
9 changes: 4 additions & 5 deletions dff_deeplab/core/loader.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
# --------------------------------------------------------
# Deep Feature Flow
# Copyright (c) 2016 by Contributors
# Copyright (c) 2017 Microsoft
# Licensed under The Apache-2.0 License [see LICENSE for details]
# Modified by Xizhou Zhu, Yuwen Xiong
# Accel
# Copyright (c) 2019
# Licensed under the MIT License [see LICENSE for details]
# Modified by Samvit Jain
# --------------------------------------------------------

import numpy as np
Expand Down
9 changes: 4 additions & 5 deletions dff_deeplab/core/metric.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
# --------------------------------------------------------
# Deep Feature Flow
# Copyright (c) 2016 by Contributors
# Copyright (c) 2017 Microsoft
# Licensed under The Apache-2.0 License [see LICENSE for details]
# Modified by Yuwen Xiong
# Accel
# Copyright (c) 2019
# Licensed under the MIT License [see LICENSE for details]
# Modified by Samvit Jain
# --------------------------------------------------------

import mxnet as mx
Expand Down
9 changes: 4 additions & 5 deletions dff_deeplab/core/module.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
# --------------------------------------------------------
# Deep Feature Flow
# Copyright (c) 2016 by Contributors
# Copyright (c) 2017 Microsoft
# Licensed under The Apache-2.0 License [see LICENSE for details]
# Modified by Yuwen Xiong
# Accel
# Copyright (c) 2019
# Licensed under the MIT License [see LICENSE for details]
# Modified by Samvit Jain
# --------------------------------------------------------

"""A `MutableModule` implement the `BaseModule` API, and allows input shape
Expand Down
9 changes: 4 additions & 5 deletions dff_deeplab/core/rcnn.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
# --------------------------------------------------------
# Deep Feature Flow
# Copyright (c) 2016 by Contributors
# Copyright (c) 2017 Microsoft
# Licensed under The Apache-2.0 License [see LICENSE for details]
# Modified by Yuwen Xiong
# Accel
# Copyright (c) 2019
# Licensed under the MIT License [see LICENSE for details]
# Modified by Samvit Jain
# --------------------------------------------------------
"""
Fast R-CNN:
Expand Down
9 changes: 4 additions & 5 deletions dff_deeplab/core/tester.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
# --------------------------------------------------------
# Deep Feature Flow
# Copyright (c) 2016 by Contributors
# Copyright (c) 2017 Microsoft
# Licensed under The Apache-2.0 License [see LICENSE for details]
# Modified by Xizhou Zhu, Yuwen Xiong
# Accel
# Copyright (c) 2019
# Licensed under the MIT License [see LICENSE for details]
# Modified by Samvit Jain
# --------------------------------------------------------

from multiprocessing.pool import ThreadPool as Pool
Expand Down
8 changes: 4 additions & 4 deletions dff_deeplab/demo.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# --------------------------------------------------------
# Deep Feature Flow
# Copyright (c) 2017 Microsoft
# Licensed under The Apache-2.0 License [see LICENSE for details]
# Written by Xizhou Zhu, Yi Li, Haochen Zhang
# Accel
# Copyright (c) 2019
# Licensed under the MIT License [see LICENSE for details]
# Modified by Samvit Jain
# --------------------------------------------------------

import _init_paths
Expand Down
8 changes: 4 additions & 4 deletions dff_deeplab/operator_py/box_annotator_ohem.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# --------------------------------------------------------
# Deep Feature Flow
# Copyright (c) 2017 Microsoft
# Licensed under The Apache-2.0 License [see LICENSE for details]
# Written by Yuwen Xiong
# Accel
# Copyright (c) 2019
# Licensed under the MIT License [see LICENSE for details]
# Modified by Samvit Jain
# --------------------------------------------------------

"""
Expand Down
9 changes: 4 additions & 5 deletions dff_deeplab/operator_py/proposal_target.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
# --------------------------------------------------------
# Deep Feature Flow
# Copyright (c) 2016 by Contributors
# Copyright (c) 2017 Microsoft
# Licensed under The Apache-2.0 License [see LICENSE for details]
# Modified by Yuwen Xiong
# Accel
# Copyright (c) 2019
# Licensed under the MIT License [see LICENSE for details]
# Modified by Samvit Jain
# --------------------------------------------------------

"""
Expand Down
8 changes: 4 additions & 4 deletions dff_deeplab/operator_py/rpn_inv_normalize.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# --------------------------------------------------------
# Deep Feature Flow
# Copyright (c) 2017 Microsoft
# Licensed under The Apache-2.0 License [see LICENSE for details]
# Written by Xizhou Zhu
# Accel
# Copyright (c) 2019
# Licensed under the MIT License [see LICENSE for details]
# Modified by Samvit Jain
# --------------------------------------------------------

import mxnet as mx
Expand Down
8 changes: 4 additions & 4 deletions dff_deeplab/operator_py/tile_as.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# --------------------------------------------------------
# Deep Feature Flow
# Copyright (c) 2017 Microsoft
# Licensed under The Apache-2.0 License [see LICENSE for details]
# Written by Xizhou Zhu
# Accel
# Copyright (c) 2019
# Licensed under the MIT License [see LICENSE for details]
# Modified by Samvit Jain
# --------------------------------------------------------

import mxnet as mx
Expand Down
2 changes: 1 addition & 1 deletion dff_deeplab/symbols/accel_101.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Accel
# Copyright (c) 2019
# Licensed under the MIT License [see LICENSE for details]
# Written by Samvit Jain
# Modified by Samvit Jain
# --------------------------------------------------------

import cPickle
Expand Down
2 changes: 1 addition & 1 deletion dff_deeplab/symbols/accel_18.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Accel
# Copyright (c) 2019
# Licensed under the MIT License [see LICENSE for details]
# Written by Samvit Jain
# Modified by Samvit Jain
# --------------------------------------------------------

import cPickle
Expand Down
2 changes: 1 addition & 1 deletion dff_deeplab/symbols/accel_34.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Accel
# Copyright (c) 2019
# Licensed under the MIT License [see LICENSE for details]
# Written by Samvit Jain
# Modified by Samvit Jain
# --------------------------------------------------------

import cPickle
Expand Down
2 changes: 1 addition & 1 deletion dff_deeplab/symbols/accel_50.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Accel
# Copyright (c) 2019
# Licensed under the MIT License [see LICENSE for details]
# Written by Samvit Jain
# Modified by Samvit Jain
# --------------------------------------------------------

import cPickle
Expand Down
8 changes: 4 additions & 4 deletions dff_deeplab/symbols/resnet_v1_101_flownet_deeplab.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# --------------------------------------------------------
# Deep Feature Flow
# Copyright (c) 2017 Microsoft
# Licensed under The Apache-2.0 License [see LICENSE for details]
# Written by Yuwen Xiong, Xizhou Zhu
# Accel
# Copyright (c) 2019
# Licensed under the MIT License [see LICENSE for details]
# Modified by Samvit Jain
# --------------------------------------------------------

import cPickle
Expand Down
9 changes: 4 additions & 5 deletions dff_deeplab/test.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
# --------------------------------------------------------
# Deep Feature Flow
# Copyright (c) 2016 by Contributors
# Copyright (c) 2017 Microsoft
# Licensed under The Apache-2.0 License [see LICENSE for details]
# Modified by Yuwen Xiong
# Accel
# Copyright (c) 2019
# Licensed under the MIT License [see LICENSE for details]
# Modified by Samvit Jain
# --------------------------------------------------------

import _init_paths
Expand Down
9 changes: 4 additions & 5 deletions dff_deeplab/train_end2end.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
# --------------------------------------------------------
# Deep Feature Flow
# Copyright (c) 2016 by Contributors
# Copyright (c) 2017 Microsoft
# Licensed under The Apache-2.0 License [see LICENSE for details]
# Modified by Yuwen Xiong
# Accel
# Copyright (c) 2019
# Licensed under the MIT License [see LICENSE for details]
# Modified by Samvit Jain
# --------------------------------------------------------

import _init_paths
Expand Down
8 changes: 4 additions & 4 deletions experiments/dff_deeplab/dff_deeplab_end2end_train_test.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# --------------------------------------------------------
# Deformable Convolutional Networks
# Copyright (c) 2017 Microsoft
# Licensed under The Apache-2.0 License [see LICENSE for details]
# Written by Yuwen Xiong
# Accel
# Copyright (c) 2019
# Licensed under the MIT License [see LICENSE for details]
# Modified by Samvit Jain
# --------------------------------------------------------
import os
import sys
Expand Down
8 changes: 4 additions & 4 deletions experiments/dff_deeplab/dff_deeplab_test.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# --------------------------------------------------------
# Deformable Convolutional Networks
# Copyright (c) 2017 Microsoft
# Licensed under The Apache-2.0 License [see LICENSE for details]
# Written by Yuwen Xiong
# Accel
# Copyright (c) 2019
# Licensed under the MIT License [see LICENSE for details]
# Modified by Samvit Jain
# --------------------------------------------------------

import os
Expand Down
9 changes: 4 additions & 5 deletions lib/dataset/cityscape.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
# --------------------------------------------------------
# Deformable Convolutional Networks
# Copyright (c) 2016 by Contributors
# Copyright (c) 2017 Microsoft
# Licensed under The Apache-2.0 License [see LICENSE for details]
# Written by Zheng Zhang
# Accel
# Copyright (c) 2019
# Licensed under the MIT License [see LICENSE for details]
# Modified by Samvit Jain
# --------------------------------------------------------

import cPickle
Expand Down
6 changes: 6 additions & 0 deletions lib/segmentation/segmentation.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# --------------------------------------------------------
# Accel
# Copyright (c) 2019
# Licensed under the MIT License [see LICENSE for details]
# Modified by Samvit Jain
# --------------------------------------------------------
"""
Segmentation:
data =
Expand Down
9 changes: 4 additions & 5 deletions lib/utils/PrefetchingIter.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
# --------------------------------------------------------
# Deep Feature Flow
# Copyright (c) 2016 by Contributors
# Copyright (c) 2017 Microsoft
# Licensed under The Apache-2.0 License [see LICENSE for details]
# Modified by Yuwen Xiong
# Accel
# Copyright (c) 2019
# Licensed under the MIT License [see LICENSE for details]
# Modified by Samvit Jain
# --------------------------------------------------------


Expand Down
8 changes: 4 additions & 4 deletions lib/utils/create_logger.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# --------------------------------------------------------
# Deep Feature Flow
# Copyright (c) 2017 Microsoft
# Licensed under The Apache-2.0 License [see LICENSE for details]
# Written by Bin Xiao
# Accel
# Copyright (c) 2019
# Licensed under the MIT License [see LICENSE for details]
# Modified by Samvit Jain
# --------------------------------------------------------

import os
Expand Down
7 changes: 7 additions & 0 deletions lib/utils/image.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# --------------------------------------------------------
# Accel
# Copyright (c) 2019
# Licensed under the MIT License [see LICENSE for details]
# Modified by Samvit Jain
# --------------------------------------------------------

import numpy as np
import os
import cv2
Expand Down
7 changes: 7 additions & 0 deletions lib/utils/image_processing.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# --------------------------------------------------------
# Accel
# Copyright (c) 2019
# Licensed under the MIT License [see LICENSE for details]
# Modified by Samvit Jain
# --------------------------------------------------------

import numpy as np
import cv2

Expand Down
8 changes: 4 additions & 4 deletions lib/utils/lr_scheduler.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# --------------------------------------------------------
# Deep Feature Flow
# Copyright (c) 2017 Microsoft
# Licensed under The Apache-2.0 License [see LICENSE for details]
# Written by Yuwen Xiong
# Accel
# Copyright (c) 2019
# Licensed under the MIT License [see LICENSE for details]
# Modified by Samvit Jain
# --------------------------------------------------------


Expand Down
8 changes: 4 additions & 4 deletions lib/utils/show_boxes.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# --------------------------------------------------------
# Deep Feature Flow
# Copyright (c) 2017 Microsoft
# Licensed under The Apache-2.0 License [see LICENSE for details]
# Written by Yi Li, Haocheng Zhang, Xizhou Zhu
# Accel
# Copyright (c) 2019
# Licensed under the MIT License [see LICENSE for details]
# Modified by Samvit Jain
# --------------------------------------------------------

import matplotlib.pyplot as plt
Expand Down
8 changes: 4 additions & 4 deletions lib/utils/symbol.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# --------------------------------------------------------
# Deep Feature Flow
# Copyright (c) 2017 Microsoft
# Licensed under The Apache-2.0 License [see LICENSE for details]
# Written by Yuwen Xiong
# Accel
# Copyright (c) 2019
# Licensed under the MIT License [see LICENSE for details]
# Modified by Samvit Jain
# --------------------------------------------------------

import numpy as np
Expand Down

0 comments on commit 4424d1f

Please sign in to comment.