MCPcopy Create free account

hub / github.com/SAmmarAbbas/birds-eye-view / functions

Functions202 in github.com/SAmmarAbbas/birds-eye-view

Method__str__
(self)
utils/weather.py:24
Method__str__
(self)
utils/weather.py:50
Method__str__
(self)
utils/weather.py:70
Function_custom_random_crop
Crops the given list of images. The function applies the same crop to each image in the list. This can be effectively applied when there are mult
preprocessing/vgg_preprocessing.py:214
Function_reduced_kernel_size_for_small_input
Define kernel size which is automatically reduced for small input. If the shape of the input images is unknown at graph construction time this fu
nets/mobilenet_v1.py:416
Functionangle_between_vectors
Return angle between vectors. If directed is False, the input vectors are interpreted as undirected axes, i.e. the maximum angle is pi/2.
utils/transformations.py:1807
Functionbottleneck
Bottleneck residual unit variant with BN after convolutions. This is the original residual unit proposed in [1]. See Fig. 1(a) of [2] for its def
nets/resnet_v1.py:79
Functioncenter_crop_vps
(vps, orig_dims, crop_dims)
utils/tf_geometry.py:42
Methodclear
(self)
utils/running_stats.py:16
Functionclip_matrix
Return matrix to obtain normalized device coordinates from frustum. The frustum bounds are axis-aligned along x (left, right), y (bottom, top
utils/transformations.py:596
Functioncnn_vggm
(inputs, num_classes, model, weight_decay=5e-4, reuse=None)
nets/vgg_m.py:6
Functioncompose_matrix
Return transformation matrix from sequence of transformations. This is the inverse of the decompose_matrix function. Sequence of transformat
utils/transformations.py:809
Functionconcatenate_matrices
Return concatenation of series of transformation matrices. >>> M = numpy.random.rand(16).reshape((4, 4)) - 0.5 >>> numpy.allclose(M, concaten
utils/transformations.py:1855
Functionconfigure_optimizer
Configures the optimizer used for training. Args: learning_rate: A scalar or `Tensor` learning rate. Returns: An instance of an
utils/tf_training.py:9
Methodconstrain
Return state of constrain to axis mode.
utils/transformations.py:1584
Functionconv2d_same
Strided 2-D convolution with 'SAME' padding. When stride > 1, then we do explicit zero-padding, followed by conv2d with 'VALID' padding. Note
nets/resnet_utils.py:77
Functioncrop_height
()
utils/tf_images.py:115
Functioncrop_width
()
utils/tf_images.py:110
Functiondecompose_matrix
Return sequence of transformations from transformation matrix. matrix : array_like Non-degenerative homogeneous transformation matrix
utils/transformations.py:724
Functiondistort_color
Distort the color of a Tensor image. Each color distortion is non-commutative and thus ordering of the color ops matters. Ideally we would ran
utils/tf_images.py:44
Methoddown
Set initial cursor window coordinates and pick constrain-axis.
utils/transformations.py:1593
Methoddrag
Update current cursor window coordinates.
utils/transformations.py:1603
Functioneuler_from_quaternion
Return Euler angles from quaternion for specified axis sequence. >>> angles = euler_from_quaternion([0.99810947, 0.06146124, 0, 0]) >>> numpy
utils/transformations.py:1170
Functionf1
()
utils/tf_projection.py:57
Functionf2
()
utils/tf_projection.py:60
Functionflip_gt
()
scripts/train_carla_van_horizon_vpz.py:250
Functiongeneral_read_and_decode
(filename_queue, num_classes, dtype)
utils/tf_io.py:8
Functionget_abcline_from_two_points
:param p1: [x1, y1] :param p2: [x2, y2] :return: line of form [a, b, c] from equation of form ax+by+c=0
utils/geometry.py:7
Functionget_all_projected_from_3vps
(vps, no_bins, img_dims, verbose=False)
utils/projection.py:116
Functionget_all_projected_from_3vps_modified_tf
(vps, no_bins, img_dims, verbose=False)
utils/tf_projection.py:75
Functionget_horizon_normal_from_points_tf
(p1, p2, sphere_centre)
utils/tf_projection.py:12
Functionget_init_fn
Returns a function run by the chief worker to warm-start the training. Note that the init_fn is only run when initializing the model during the v
utils/tf_training.py:61
Functionget_point_on_2pointline_normal_to_3rdpoint
Params: ------- p1, p2: belong to a line (3D) q: another point (3D) Returns: -------- a 'point' on the line containing p
utils/projection.py:8
Functionget_point_on_sphere_normal_to_plane
Params: ------- p1, p2: belong to a line (assume that is on image) (3D) sphere_centre, sphere_radius: params of a sphere located on t
utils/projection.py:28
Functionget_variables_to_train
Returns a list of variables to train. Returns: A list of variables to train by the optimizer.
utils/tf_training.py:107
Functiongreat0
()
utils/tf_projection.py:64
Functiongt
()
scripts/train_carla_van_horizon_vpz.py:255
Functionidentity_matrix
Return 4x4 identity/unit matrix. >>> I = identity_matrix() >>> numpy.allclose(I, numpy.dot(I, I)) True >>> numpy.sum(I), numpy.trace(
utils/transformations.py:207
Functioninception_arg_scope
Defines the default arg scope for inception models. Args: weight_decay: The weight decay to use for regularizing the model. use_batch_norm:
nets/inception_utils.py:32
Functioninception_v1
Defines the Inception V1 architecture. This architecture is defined in: Going deeper with convolutions Christian Szegedy, Wei Liu, Yangqin
nets/inception_v1.py:257
Functioninception_v4
Creates the Inception V4 model. Args: inputs: a 4-D tensor of size [batch_size, height, width, 3]. num_classes: number of predicted classes
nets/inception_v4.py:257
Functioninverse_matrix
Return inverse of square transformation matrix. >>> M0 = random_rotation_matrix() >>> M1 = inverse_matrix(M0.T) >>> numpy.allclose(M1, nu
utils/transformations.py:1839
Functionis_same_quaternion
Return True if two quaternions are equal.
utils/transformations.py:1887
Functionis_same_transform
Return True if two matrices perform same transformation. >>> is_same_transform(numpy.identity(4), numpy.identity(4)) True >>> is_same_tra
utils/transformations.py:1871
Functionlegacy_read_and_decode
(filename_queue, num_classes, img_width, img_height)
utils/tf_io.py:32
Functionless0
()
utils/tf_projection.py:61
Functionmain
(_)
scripts/train_carla_van_horizon_vpz.py:186
Functionmain
(_)
scripts/predict_horizon_vpz_homography.py:390
Methodmatrix
Return homogeneous rotation matrix.
utils/transformations.py:1621
Functionmobilenet_v1
Mobilenet v1 model for classification. Args: inputs: a tensor of shape [batch_size, height, width, channels]. num_classes: number of predic
nets/mobilenet_v1.py:306
Functionmobilenet_v1_arg_scope
Defines the default MobilenetV1 arg scope. Args: is_training: Whether or not we're training the model. If this is set to None, the parame
nets/mobilenet_v1.py:438
Functionmy_preprocess_image
Preprocesses the given image. Args: image: A `Tensor` representing an image of arbitrary size. output_height: The height of the image after
preprocessing/vgg_preprocessing.py:490
Methodnext
Continue rotation in direction of last drag.
utils/transformations.py:1616
Functionoffset_vps
(vps, offset_h, offset_w)
utils/tf_geometry.py:31
Functionorthogonalization_matrix
Return orthogonalization matrix for crystallographic cell coordinates. Angles are expected in degrees. The de-orthogonalization matrix is th
utils/transformations.py:862
Methodplace
Place Arcball, e.g. when window size changes. center : sequence[2] Window coordinates of trackball center. radius : float
utils/transformations.py:1563
Functionpreprocess_image
Preprocesses the given image. Args: image: A `Tensor` representing an image of arbitrary size. output_height: The height of the image after
preprocessing/vgg_preprocessing.py:461
Functionprojection_from_matrix
Return projection plane and perspective point from projection matrix. Return values are same as arguments for projection_matrix function: poi
utils/transformations.py:523
Functionprojection_matrix
Return matrix to project onto plane defined by point and normal. Using either perspective point, projection direction, or none of both. If p
utils/transformations.py:461
Functionquaternion_about_axis
Return quaternion for rotation about axis. >>> q = quaternion_about_axis(0.123, [1, 0, 0]) >>> numpy.allclose(q, [0.99810947, 0.06146124, 0,
utils/transformations.py:1238
Functionquaternion_conjugate
Return conjugate of quaternion. >>> q0 = random_quaternion() >>> q1 = quaternion_conjugate(q0) >>> q1[0] == q0[0] and all(q1[1:] == -q0[1
utils/transformations.py:1383
Functionquaternion_from_euler
Return quaternion from Euler angles and axis sequence. ai, aj, ak : Euler's roll, pitch and yaw angles axes : One of 24 axis sequences as str
utils/transformations.py:1181
Functionquaternion_imag
Return imaginary part of quaternion. >>> quaternion_imag([3, 0, 1, 2]) array([ 0., 1., 2.])
utils/transformations.py:1421
Functionquaternion_inverse
Return inverse of quaternion. >>> q0 = random_quaternion() >>> q1 = quaternion_inverse(q0) >>> numpy.allclose(quaternion_multiply(q0, q1)
utils/transformations.py:1397
Functionquaternion_real
Return real part of quaternion. >>> quaternion_real([3, 0, 1, 2]) 3.0
utils/transformations.py:1411
Functionrandom_flip_left_right
(image, seed=None)
utils/tf_images.py:91
Functionrandom_rotation_matrix
Return uniform random rotation matrix. rand: array like Three independent random variables that are uniformly distributed between
utils/transformations.py:1500
Functionrandom_vector
Return array of random doubles in the half-open interval [0.0, 1.0). >>> v = random_vector(10000) >>> numpy.all(v >= 0) and numpy.all(v < 1)
utils/transformations.py:1771
Functionread_and_decode_evaluation
(filename_queue, num_classes, height, width)
utils/tf_io.py:55
Functionreflection_from_matrix
Return mirror plane point and normal vector from reflection matrix. >>> v0 = numpy.random.random(3) - 0.5 >>> v1 = numpy.random.random(3) - 0
utils/transformations.py:273
Functionreflection_matrix
Return matrix to mirror at plane defined by point and normal vector. >>> v0 = numpy.random.random(4) - 0.5 >>> v0[3] = 1. >>> v1 = numpy.
utils/transformations.py:247
Functionresize_image_with_vps
(my_img, my_vps, resize_dims)
utils/images.py:8
Functionresize_vps
(my_vps, orig_dims, resize_dims)
utils/tf_geometry.py:57
Functionresnet_arg_scope
Defines the default ResNet arg scope. TODO(gpapan): The batch-normalization related default values above are appropriate for use in conjunction
nets/resnet_utils.py:222
Functionresnet_v1_101
ResNet-101 model of [1]. See resnet_v1() for arg and return description.
nets/resnet_v1.py:312
Functionresnet_v1_152
ResNet-152 model of [1]. See resnet_v1() for arg and return description.
nets/resnet_v1.py:336
Functionresnet_v1_200
ResNet-200 model of [2]. See resnet_v1() for arg and return description.
nets/resnet_v1.py:360
Functionresnet_v1_50
ResNet-50 model of [1]. See resnet_v1() for arg and return description.
nets/resnet_v1.py:288
Functionrotate_vps
Rotate a point counterclockwise by a given (+ve) angle around a given origin. The angle should be given in radians.
utils/tf_geometry.py:14
FunctionrotatedRectWithMaxArea_tf
Given a rectangle of size wxh that has been rotated by 'angle' (in radians), computes the width and height of the largest possible axis-a
utils/tf_geometry.py:70
Functionrotation_from_matrix
Return rotation angle and axis from rotation matrix. >>> angle = (random.random() - 0.5) * (2*math.pi) >>> direc = numpy.random.random(3) - 0
utils/transformations.py:346
Functionscale_abcline
:param input_line: line of form [a, b, c] from equation of form ax+by+c=0 :param orig_dims: tuple of (width, height) of original dimensions
utils/geometry.py:22
Functionscale_from_matrix
Return scaling factor, origin and direction from scaling matrix. >>> factor = random.random() * 10 - 5 >>> origin = numpy.random.random(3) -
utils/transformations.py:420
Functionscale_matrix
Return matrix to scale by factor around origin in direction. Use factor -1 for point symmetry. >>> v = (numpy.random.rand(4, 5) - 0.5) * 20
utils/transformations.py:386
Methodsetaxes
Set axes to constrain rotations.
utils/transformations.py:1576
Functionshear_from_matrix
Return shear angle, direction and plane from shear matrix. >>> angle = (random.random() - 0.5) * 4*math.pi >>> direct = numpy.random.random(3
utils/transformations.py:679
Functionshear_matrix
Return matrix to shear by angle along direction vector on shear plane. The shear plane is defined by a point and normal vector. The direction
utils/transformations.py:648
Functionsquare_center_crop
(image, max_width, max_height)
utils/tf_images.py:123
Functionsquare_offset_crop
(image, max_width, max_height, offset)
utils/tf_images.py:135
Functionsquare_random_crop
(image, max_width, max_height)
utils/tf_images.py:109
Functionstack_blocks_dense
Stacks ResNet `Blocks` and controls output feature density. First, this function creates scopes for the ResNet in the form of 'block_name/unit_1'
nets/resnet_utils.py:126
Methodstandard_deviation
(self)
utils/running_stats.py:38
Functionsuperimposition_matrix
Return matrix to transform given 3D point set into second point set. v0 and v1 are shape (3, \*) or (4, \*) arrays of at least 3 points. The
utils/transformations.py:998
Functiontf_deg2rad
(deg)
utils/tf_geometry.py:9
Methodtick
(self, delta_seconds)
utils/weather.py:37
Functiontranslation_from_matrix
Return translation vector from translation matrix. >>> v0 = numpy.random.random(3) - 0.5 >>> v1 = translation_from_matrix(translation_matrix(
utils/transformations.py:235
Functiontranslation_matrix
Return matrix to translate by direction vector. >>> v = numpy.random.random(3) - 0.5 >>> numpy.allclose(v, translation_matrix(v)[:3, 3])
utils/transformations.py:222
Functionvector_product
Return vector perpendicular to vectors. >>> v = vector_product([2, 0, 0], [0, 3, 0]) >>> numpy.allclose(v, [0, 0, 6]) True >>> v0 = [
utils/transformations.py:1786
Functionvgg_16
Oxford Net VGG 16-Layers version D Example. Note: All the fully_connected layers have been transformed to conv2d layers. To use in classifi
nets/vgg.py:145
Functionvgg_19
Oxford Net VGG 19-Layers version E Example. Note: All the fully_connected layers have been transformed to conv2d layers. To use in classifi
nets/vgg.py:226
← previousnext →101–200 of 202, ranked by callers