Dataset Viewer
Auto-converted to Parquet Duplicate
repo
stringlengths
3
91
file
stringlengths
16
152
code
stringlengths
0
3.77M
file_length
int64
0
3.77M
avg_line_length
float64
0
16k
max_line_length
int64
0
273k
extension_type
stringclasses
1 value
RGB-N
RGB-N-master/lib/compact_bilinear_pooling/compact_bilinear_pooling_test.py
from __future__ import absolute_import, division, print_function import numpy as np import tensorflow as tf from compact_bilinear_pooling import compact_bilinear_pooling_layer def bp(bottom1, bottom2, sum_pool=True): assert(np.all(bottom1.shape[:3] == bottom2.shape[:3])) batch_size, height, width = bottom1.sh...
3,295
34.44086
84
py
RGB-N
RGB-N-master/lib/compact_bilinear_pooling/__init__.py
# -------------------------------------------------------- # Fast R-CNN # Copyright (c) 2015 Microsoft # Licensed under The MIT License [see LICENSE for details] # Written by Ross Girshick # --------------------------------------------------------
248
34.571429
58
py
RGB-N
RGB-N-master/lib/compact_bilinear_pooling/sequential_fft/sequential_batch_fft_test.py
from __future__ import absolute_import, division, print_function import tensorflow as tf import numpy as np from sequential_batch_fft_ops import sequential_batch_fft, sequential_batch_ifft compute_size = 128 x = tf.placeholder(tf.complex64, [None, None]) x_128 = tf.placeholder(tf.complex128, [None, None]) # FFT x_f...
5,280
38.706767
99
py
RGB-N
RGB-N-master/lib/compact_bilinear_pooling/sequential_fft/sequential_batch_fft_ops.py
from __future__ import absolute_import, division, print_function import os.path as osp import tensorflow as tf from tensorflow.python.framework import ops # load module module = tf.load_op_library(osp.join(osp.dirname(__file__), 'build/sequential_batch_fft.so')) sequential_batch...
1,700
36.8
77
py
RGB-N
RGB-N-master/lib/compact_bilinear_pooling/sequential_fft/__init__.py
from .sequential_batch_fft_ops import sequential_batch_fft, sequential_batch_ifft
82
40.5
81
py
RGB-N
RGB-N-master/lib/datasets/voc_eval.py
# -------------------------------------------------------- # Fast/er R-CNN # Licensed under The MIT License [see LICENSE for details] # Written by Peng Zhou # -------------------------------------------------------- from __future__ import absolute_import from __future__ import division from __future__ import print_func...
13,267
34.100529
173
py
RGB-N
RGB-N-master/lib/datasets/dist_fake.py
# -------------------------------------------------------- # Fast R-CNN # Copyright (c) 2015 Microsoft # Licensed under The MIT License [see LICENSE for details] # Written by Peng Zhou # -------------------------------------------------------- from __future__ import absolute_import from __future__ import division from ...
13,392
34.619681
104
py
RGB-N
RGB-N-master/lib/datasets/pascal_voc.py
# -------------------------------------------------------- # Fast R-CNN # Copyright (c) 2015 Microsoft # Licensed under The MIT License [see LICENSE for details] # Written by Ross Girshick and Peng Zhou # -------------------------------------------------------- from __future__ import absolute_import from __future__ imp...
11,180
35.301948
85
py
RGB-N
RGB-N-master/lib/datasets/imdb.py
# -------------------------------------------------------- # Fast R-CNN # Copyright (c) 2015 Microsoft # Licensed under The MIT License [see LICENSE for details] # Written by Peng Zhou # -------------------------------------------------------- from __future__ import absolute_import from __future__ import division from ...
10,309
33.481605
74
py
RGB-N
RGB-N-master/lib/datasets/factory.py
# -------------------------------------------------------- # Tensorflow RGB-N # Licensed under The MIT License [see LICENSE for details] # Written by Peng Zhou # -------------------------------------------------------- """Factory method for easily getting imdbs by name.""" from __future__ import absolute_import from _...
2,928
34.719512
83
py
RGB-N
RGB-N-master/lib/datasets/casia.py
# -------------------------------------------------------- # Fast R-CNN # Copyright (c) 2015 Microsoft # Licensed under The MIT License [see LICENSE for details] # Written by Peng Zhou # -------------------------------------------------------- from __future__ import absolute_import from __future__ import division from ...
13,348
34.597333
105
py
RGB-N
RGB-N-master/lib/datasets/swapme.py
# -------------------------------------------------------- # Tensorflow RGB-N # Licensed under The MIT License [see LICENSE for details] # Written by Peng Zhou # -------------------------------------------------------- from __future__ import absolute_import from __future__ import division from __future__ import print_f...
13,342
35.062162
104
py
RGB-N
RGB-N-master/lib/datasets/ds_utils.py
# -------------------------------------------------------- # Fast/er R-CNN # Licensed under The MIT License [see LICENSE for details] # Written by Ross Girshick # -------------------------------------------------------- from __future__ import absolute_import from __future__ import division from __future__ import print_...
1,402
27.06
70
py
RGB-N
RGB-N-master/lib/datasets/__init__.py
# -------------------------------------------------------- # Fast R-CNN # Copyright (c) 2015 Microsoft # Licensed under The MIT License [see LICENSE for details] # Written by Ross Girshick # --------------------------------------------------------
248
34.571429
58
py
RGB-N
RGB-N-master/lib/datasets/coco.py
# -------------------------------------------------------- # Tensorflow RGB-N # Licensed under The MIT License [see LICENSE for details] # Written by Peng Zhou, based on the code of Xinlei Chen # -------------------------------------------------------- from __future__ import absolute_import from __future__ import divis...
13,334
34.65508
104
py
RGB-N
RGB-N-master/lib/datasets/nist.py
# -------------------------------------------------------- # Tensorflow RGB-N # Licensed under The MIT License [see LICENSE for details] # Written by Peng Zhou # -------------------------------------------------------- from __future__ import absolute_import from __future__ import division from __future__ import print_f...
13,431
34.818667
104
py
RGB-N
RGB-N-master/lib/datasets/dvmm.py
# -------------------------------------------------------- # Fast R-CNN # Copyright (c) 2015 Microsoft # Licensed under The MIT License [see LICENSE for details] # Written by Peng Zhou # -------------------------------------------------------- from __future__ import absolute_import from __future__ import division from ...
13,318
34.612299
104
py
RGB-N
RGB-N-master/lib/datasets/tools/mcg_munge.py
import os import sys """Hacky tool to convert file system layout of MCG boxes downloaded from http://www.eecs.berkeley.edu/Research/Projects/CS/vision/grouping/mcg/ so that it's consistent with those computed by Jan Hosang (see: http://www.mpi-inf.mpg.de/departments/computer-vision-and-multimodal- computing/research...
1,451
36.230769
94
py
RGB-N
RGB-N-master/lib/layer_utils/proposal_layer.py
# -------------------------------------------------------- # Faster R-CNN # Licensed under The MIT License [see LICENSE for details] # Written by Ross Girshick and Xinlei Chen # -------------------------------------------------------- from __future__ import absolute_import from __future__ import division from __future_...
1,850
32.654545
102
py
RGB-N
RGB-N-master/lib/layer_utils/proposal_top_layer.py
# -------------------------------------------------------- # Faster R-CNN # Licensed under The MIT License [see LICENSE for details] # Written by Xinlei Chen # -------------------------------------------------------- from __future__ import absolute_import from __future__ import division from __future__ import print_fun...
1,868
32.981818
97
py
RGB-N
RGB-N-master/lib/layer_utils/generate_anchors.py
# -------------------------------------------------------- # Faster R-CNN # Copyright (c) 2015 Microsoft # Licensed under The MIT License [see LICENSE for details] # Written by Ross Girshick and Sean Bell # -------------------------------------------------------- from __future__ import absolute_import from __future__ i...
3,129
25.525424
78
py
RGB-N
RGB-N-master/lib/layer_utils/proposal_target_layer.py
# -------------------------------------------------------- # Faster R-CNN # Copyright (c) 2015 Microsoft # Licensed under The MIT License [see LICENSE for details] # Written by Ross Girshick, Sean Bell and Xinlei Chen # -------------------------------------------------------- from __future__ import absolute_import from...
6,081
37.987179
100
py
RGB-N
RGB-N-master/lib/layer_utils/snippets.py
# -------------------------------------------------------- # Tensorflow Faster R-CNN # Licensed under The MIT License [see LICENSE for details] # Written by Xinlei Chen # -------------------------------------------------------- from __future__ import absolute_import from __future__ import division from __future__ impor...
1,473
42.352941
103
py
RGB-N
RGB-N-master/lib/layer_utils/anchor_target_layer.py
# -------------------------------------------------------- # Faster R-CNN # Copyright (c) 2015 Microsoft # Licensed under The MIT License [see LICENSE for details] # Written by Ross Girshick and Xinlei Chen # -------------------------------------------------------- from __future__ import absolute_import from __future__...
6,031
35.780488
98
py
RGB-N
RGB-N-master/lib/layer_utils/__init__.py
0
0
0
py
RGB-N
RGB-N-master/lib/utils/nms.py
# -------------------------------------------------------- # Fast R-CNN # Copyright (c) 2015 Microsoft # Licensed under The MIT License [see LICENSE for details] # Written by Ross Girshick # -------------------------------------------------------- import numpy as np def nms(dets, thresh): x1 = dets[:, 0] y1 =...
1,008
25.552632
59
py
RGB-N
RGB-N-master/lib/utils/timer.py
# -------------------------------------------------------- # Fast R-CNN # Copyright (c) 2015 Microsoft # Licensed under The MIT License [see LICENSE for details] # Written by Ross Girshick # -------------------------------------------------------- import time class Timer(object): """A simple timer.""" def __i...
948
27.757576
71
py
RGB-N
RGB-N-master/lib/utils/boxes_grid.py
# -------------------------------------------------------- # Subcategory CNN # Copyright (c) 2015 CVGL Stanford # Licensed under The MIT License [see LICENSE for details] # Written by Yu Xiang # -------------------------------------------------------- from __future__ import absolute_import from __future__ import divisi...
2,599
34.135135
84
py
RGB-N
RGB-N-master/lib/utils/blob.py
# -------------------------------------------------------- # Fast R-CNN # Copyright (c) 2015 Microsoft # Licensed under The MIT License [see LICENSE for details] # Written by Ross Girshick # -------------------------------------------------------- """Blob helper functions.""" from __future__ import absolute_import fro...
2,135
32.904762
73
py
RGB-N
RGB-N-master/lib/utils/__init__.py
# -------------------------------------------------------- # Fast R-CNN # Copyright (c) 2015 Microsoft # Licensed under The MIT License [see LICENSE for details] # Written by Ross Girshick # --------------------------------------------------------
248
34.571429
58
py
RGB-N
RGB-N-master/lib/model/test.py
# -------------------------------------------------------- # Tensorflow Faster R-CNN # Licensed under The MIT License [see LICENSE for details] # Written by Peng Zhou # -------------------------------------------------------- from __future__ import absolute_import from __future__ import division from __future__ import ...
7,355
32.589041
114
py
RGB-N
RGB-N-master/lib/model/bbox_transform.py
# -------------------------------------------------------- # Fast R-CNN # Copyright (c) 2015 Microsoft # Licensed under The MIT License [see LICENSE for details] # Written by Ross Girshick # -------------------------------------------------------- from __future__ import absolute_import from __future__ import division f...
2,622
30.22619
77
py
RGB-N
RGB-N-master/lib/model/nms_wrapper.py
# -------------------------------------------------------- # Fast R-CNN # Copyright (c) 2015 Microsoft # Licensed under The MIT License [see LICENSE for details] # Written by Ross Girshick # -------------------------------------------------------- from __future__ import absolute_import from __future__ import division f...
764
30.875
58
py
RGB-N
RGB-N-master/lib/model/config.py
from __future__ import absolute_import from __future__ import division from __future__ import print_function import os import os.path as osp import numpy as np # `pip install easydict` if you don't have it from easydict import EasyDict as edict __C = edict() # Consumers can get config by: # from fast_rcnn_config im...
11,267
29.209115
91
py
RGB-N
RGB-N-master/lib/model/__init__.py
from . import config
21
10
20
py
End of preview. Expand in Data Studio

No dataset card yet

Downloads last month
3