MCPcopy Create free account

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

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

↓ 16 callersFunctionresnet_v1_block
Helper function for creating a resnet_v1 bottleneck block. Args: scope: The scope of the block. base_depth: The depth of the bottleneck lay
nets/resnet_v1.py:264
↓ 14 callersFunctionvector_norm
Return length, i.e. Euclidean norm, of ndarray along axis. >>> v = numpy.random.random(3) >>> n = vector_norm(v) >>> numpy.allclose(n, nu
utils/transformations.py:1688
↓ 11 callersFunctionadd_and_check_final
(name, net)
nets/inception_v4.py:169
↓ 10 callersFunction_bytes_feature
(value)
scripts/convert_raw_carla_van_to_tfrecords.py:16
↓ 10 callersFunctionunit_vector
Return ndarray normalized by length, i.e. Euclidean norm, along axis. >>> v0 = numpy.random.random(3) >>> v1 = unit_vector(v0) >>> numpy.
utils/transformations.py:1727
↓ 6 callersMethodmean
(self)
utils/running_stats.py:32
↓ 6 callersFunctionrotation_matrix
Return matrix to rotate about axis defined by point and direction. >>> R = rotation_matrix(math.pi/2, [0, 0, 1], [1, 0, 0]) >>> numpy.allclos
utils/transformations.py:302
↓ 6 callersFunctionwrapper_my_crop
(image, offset_width, offset_height, crop_width, crop_height)
utils/tf_images.py:105
↓ 5 callersFunctionclamp
(value, minimum=0.0, maximum=100.0)
utils/weather.py:7
↓ 4 callersFunctionget_random_int
Notes: ------ - [min_val, max_val) - if exclude is a scalar value, then that value is not chosen during randomization
scripts/generate_raw_carla_van_dataset.py:74
↓ 4 callersFunctionquaternion_matrix
Return homogeneous rotation matrix from quaternion. >>> M = quaternion_matrix([0.99810947, 0.06146124, 0, 0]) >>> numpy.allclose(M, rotation_
utils/transformations.py:1254
↓ 4 callersFunctionresnet_v1
Generator for v1 ResNet models. This function generates a family of ResNet v1 models. See the resnet_v1_*() methods for specific model instantiat
nets/resnet_v1.py:142
↓ 3 callersFunction_mean_image_subtraction
Subtracts the given means from each image channel. For example: means = [123.68, 116.779, 103.939] image = _mean_image_subtraction(image, m
preprocessing/vgg_preprocessing.py:321
↓ 3 callersFunctionarcball_constrain_to_axis
Return sphere point perpendicular to axis.
utils/transformations.py:1639
↓ 3 callersFunctionget_projection_on_sphere
Params: ------- image_coord: a point on image (3D) sphere_centre, sphere_radius: params of a sphere located on the image. sphere_cent
utils/projection.py:54
↓ 3 callersFunctionwrapped_partial
(func, *args, **kwargs)
nets/mobilenet_v1.py:405
↓ 2 callersFunction_aspect_preserving_resize
Resize images preserving the original aspect ratio. Args: image: A 3-D image `Tensor`. smallest_side: A python integer or scalar `Tensor` i
preprocessing/vgg_preprocessing.py:384
↓ 2 callersFunction_crop
Crops the given image using the provided offsets and sizes. Note that the method doesn't assume we know the input image size but it does assume w
preprocessing/vgg_preprocessing.py:47
↓ 2 callersFunction_fixed_padding
Pads the input along the spatial dimensions independently of input size. Pads the input such that if it was used in a convolution with 'VALID' padd
nets/mobilenet_v1.py:142
↓ 2 callersFunctionarcball_map_to_sphere
Return unit sphere coordinates from window coordinates.
utils/transformations.py:1626
↓ 2 callersFunctionget_f_from_fov_imwidth
(fov, imwidth)
scripts/test_carla_van_horizon_vpz.py:96
↓ 2 callersFunctionget_horvpz_from_projected_4indices_modified
(output_label, all_bins, all_sphere_centres, all_sphere_radii)
scripts/test_carla_van_horizon_vpz.py:72
↓ 2 callersFunctionget_pointonsphere_given_sphere_2points
Parameters ---------- sphere_centre sphere_radius p1 p2 Returns ------- returns points with respect to sphere c
utils/projection.py:86
↓ 2 callersFunctionget_pointonsphere_given_sphere_2points_tf
(sphere_centre, sphere_radius, p1, p2)
utils/tf_projection.py:46
↓ 2 callersFunctionget_projection_on_sphere_tf
(image_coord, sphere_centre, sphere_radius)
utils/tf_projection.py:34
↓ 2 callersMethodpush
(self, x)
utils/running_stats.py:19
↓ 2 callersMethodtick
(self, delta_seconds)
utils/weather.py:17
↓ 2 callersFunctiontry_spawn_random_vehicle_at
(local_transform)
scripts/generate_raw_carla_van_dataset.py:276
↓ 1 callersFunction_central_crop
Performs central crops of the given image list. Args: image_list: a list of image tensors of the same dimension but possibly varying chan
preprocessing/vgg_preprocessing.py:296
↓ 1 callersFunction_import_module
Try import all public attributes from module into global namespace. Existing attributes with name clashes are renamed with prefix. Attributes
utils/transformations.py:1894
↓ 1 callersFunction_my_crop
Crops the given image using the provided offsets and sizes. Note that the method doesn't assume we know the input image size but it does assume w
preprocessing/vgg_preprocessing.py:90
↓ 1 callersFunction_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:132
↓ 1 callersFunction_smallest_size_at_least
Computes new shape with the smallest side equal to `smallest_side`. Computes new shape with the smallest side equal to `smallest_side` while pres
preprocessing/vgg_preprocessing.py:354
↓ 1 callersFunctionabline
Plot a line from slope and intercept
scripts/predict_horizon_vpz_homography.py:56
↓ 1 callersFunctionaffine_matrix_from_points
Return affine transform matrix to register two point sets. v0 and v1 are shape (ndims, \*) arrays of at least ndims non-homogeneous coordinat
utils/transformations.py:889
↓ 1 callersFunctionarcball_nearest_axis
Return axis, which arc is nearest to point.
utils/transformations.py:1655
↓ 1 callersFunctionblock_inception_a
Builds Inception-A block for Inception v4 network.
nets/inception_v4.py:34
↓ 1 callersFunctionblock_inception_b
Builds Inception-B block for Inception v4 network.
nets/inception_v4.py:75
↓ 1 callersFunctionblock_inception_c
Builds Inception-C block for Inception v4 network.
nets/inception_v4.py:121
↓ 1 callersFunctionblock_reduction_a
Builds Reduction-A block for Inception v4 network.
nets/inception_v4.py:55
↓ 1 callersFunctionblock_reduction_b
Builds Reduction-B block for Inception v4 network.
nets/inception_v4.py:99
↓ 1 callersFunctioneuler_from_matrix
Return Euler angles from rotation matrix for specified axis sequence. axes : One of 24 axis sequences as string or encoded tuple Note that m
utils/transformations.py:1112
↓ 1 callersFunctioneuler_matrix
Return homogeneous rotation matrix from Euler angles and axis sequence. ai, aj, ak : Euler's roll, pitch and yaw angles axes : One of 24 axis
utils/transformations.py:1049
↓ 1 callersFunctionfactors
(n)
scripts/train_carla_van_horizon_vpz.py:170
↓ 1 callersFunctionfactors
(n)
scripts/test_carla_van_horizon_vpz.py:34
↓ 1 callersFunctionfix_image_flip_shape
Set the shape to 3 dimensional if we don't know anything else. Args: image: original image size result: flipped or transformed image
utils/tf_images.py:72
↓ 1 callersFunctionfn0
(image)
utils/tf_images.py:16
↓ 1 callersFunctionfn1
(image)
utils/tf_images.py:23
↓ 1 callersFunctionfn2
(image)
utils/tf_images.py:30
↓ 1 callersFunctionfn3
(image)
utils/tf_images.py:37
↓ 1 callersFunctionget_filenames_for_town
(filenames, no: int)
scripts/convert_raw_carla_van_to_tfrecords.py:20
↓ 1 callersFunctionget_horvpz_from_projected_4indices_modified
(output_label, all_bins, all_sphere_centres, all_sphere_radii)
scripts/predict_horizon_vpz_homography.py:99
↓ 1 callersFunctionget_intrinisic_extrinsic_params_from_horfov
(img_dims, horizonvector, fov, net_dims, verbose=False)
scripts/test_carla_van_horizon_vpz.py:102
↓ 1 callersFunctionget_intrinisic_extrinsic_params_from_horizonvector_vpz
(img_dims, horizonvector_vpz, net_dims, verbose=False)
scripts/predict_horizon_vpz_homography.py:150
↓ 1 callersFunctionget_intrinisic_extrinsic_params_from_horizonvector_vpz
(img_dims, horizonvector_vpz, net_dims, verbose=False)
scripts/test_carla_van_horizon_vpz.py:157
↓ 1 callersFunctionget_line_given_sphere_pointonspherenormaltoplane
(sphere_centre, point)
scripts/predict_horizon_vpz_homography.py:85
↓ 1 callersFunctionget_line_given_sphere_pointonspherenormaltoplane
(sphere_centre, point)
scripts/test_carla_van_horizon_vpz.py:39
↓ 1 callersFunctionget_overhead_hmatrix_from_4cameraparams
(fx, fy, my_tilt, my_roll, img_dims, verbose=False)
scripts/predict_horizon_vpz_homography.py:232
↓ 1 callersFunctionget_projection_on_sphere
(image_coord, sphere_centre, sphere_radius)
utils/tf_projection.py:22
↓ 1 callersFunctionget_scaled_homography
(H, target_height, estimated_xrange, estimated_yrange)
scripts/predict_horizon_vpz_homography.py:275
↓ 1 callersFunctionget_slope_intercept_from_abc_line
:param horizon_vectorform: line of form [a, b, c] from equation of form ax+by+c=0 :return: slope and intercept of input line
utils/geometry.py:43
↓ 1 callersFunctionget_sphere_params
(width, height)
utils/projection.py:77
↓ 1 callersFunctionget_truncated_normal
(mean, sd, low, upp)
scripts/generate_raw_carla_van_dataset.py:89
↓ 1 callersFunctionget_uniform_random_ellipse
(range_1, range_2, pos_corr=True)
scripts/generate_raw_carla_van_dataset.py:55
↓ 1 callersFunctionget_vp_from_sphere_coordinate_xY
(sphere_point, sphere_centre, sphere_radius)
scripts/predict_horizon_vpz_homography.py:66
↓ 1 callersFunctionget_vp_from_sphere_coordinate_xY
(sphere_point, sphere_centre, sphere_radius)
scripts/test_carla_van_horizon_vpz.py:53
↓ 1 callersFunctionget_vp_from_sphere_coordinate_xZ
(sphere_point, sphere_centre, sphere_radius)
scripts/predict_horizon_vpz_homography.py:75
↓ 1 callersFunctionget_vp_from_sphere_coordinate_xZ
(sphere_point, sphere_centre, sphere_radius)
scripts/test_carla_van_horizon_vpz.py:62
↓ 1 callersFunctionget_vps_from_transform
fov: field of view (degrees) pitch: positive means looking up (degrees) yaw: positive means looking right (degrees) roll: positive me
scripts/generate_raw_carla_van_dataset.py:93
↓ 1 callersFunctioninception_v1_base
Defines the Inception V1 base architecture. This architecture is defined in: Going deeper with convolutions Christian Szegedy, Wei Liu, Yan
nets/inception_v1.py:29
↓ 1 callersFunctioninception_v4_base
Creates the Inception V4 network up to the given final endpoint. Args: inputs: a 4-D tensor of size [batch_size, height, width, 3]. final_e
nets/inception_v4.py:147
↓ 1 callersFunctionmain
()
scripts/convert_raw_carla_van_to_tfrecords.py:24
↓ 1 callersFunctionmain
()
scripts/generate_raw_carla_van_dataset.py:169
↓ 1 callersFunctionmain
()
scripts/test_carla_van_horizon_vpz.py:234
↓ 1 callersFunctionmobilenet_v1_base
Mobilenet v1. Constructs a Mobilenet v1 network from inputs to the given final endpoint. Args: inputs: a tensor of shape [batch_size, height
nets/mobilenet_v1.py:168
↓ 1 callersFunctionmodified_matrices_calculate_range_output_without_translation
(height, width, overhead_hmatrix, verbose=Fal
scripts/predict_horizon_vpz_homography.py:292
↓ 1 callersFunctionmy_softmax
Input must be 2 dimensional. Softmax is applied separately on each row
scripts/train_carla_van_horizon_vpz.py:175
↓ 1 callersFunctionmy_softmax
Input must be 2 dimensional. Softmax is applied separately on each row
scripts/predict_horizon_vpz_homography.py:46
↓ 1 callersFunctionmy_softmax
Input must be 2 dimensional. Softmax is applied separately on each row
scripts/test_carla_van_horizon_vpz.py:24
↓ 1 callersFunctionplot_scaled_horizonvector_vpz_picture
(image, horizonvector_vpz, net_dims, color='go', show_vz=False, verbose=False)
scripts/predict_horizon_vpz_homography.py:123
↓ 1 callersFunctionpreprocess_for_eval
Preprocesses the given image for evaluation. Args: image: A `Tensor` representing an image of arbitrary size. output_height: The height of
preprocessing/vgg_preprocessing.py:442
↓ 1 callersFunctionpreprocess_for_train
Preprocesses the given image for training. Note that the actual resizing scale is sampled from [`resize_size_min`, `resize_size_max`]. Args:
preprocessing/vgg_preprocessing.py:409
↓ 1 callersFunctionquaternion_from_matrix
Return quaternion from rotation matrix. If isprecise is True, the input matrix is assumed to be a precise rotation matrix and a faster algori
utils/transformations.py:1281
↓ 1 callersFunctionquaternion_multiply
Return multiplication of two quaternions. >>> q = quaternion_multiply([4, 1, -2, 3], [8, -5, 6, 7]) >>> numpy.allclose(q, [28, -44, -14, 48])
utils/transformations.py:1366
↓ 1 callersFunctionquaternion_slerp
Return spherical linear interpolation between two quaternions. >>> q0 = random_quaternion() >>> q1 = random_quaternion() >>> q = quaterni
utils/transformations.py:1431
↓ 1 callersFunctionrandom_quaternion
Return uniform random unit quaternion. rand: array like or None Three independent random variables that are uniformly distributed
utils/transformations.py:1472
↓ 1 callersFunctionsave_annotated_image
(image, image_path, town_no, start_frame)
scripts/generate_raw_carla_van_dataset.py:130
↓ 1 callersFunctionset_camera_attributes
(blueprint, window_width, window_height, fov, post_process, capture_pause)
scripts/generate_raw_carla_van_dataset.py:157
↓ 1 callersFunctionsubsample
Subsamples the input along the spatial dimensions. Args: inputs: A `Tensor` of size [batch, height_in, width_in, channels]. factor: The sub
nets/resnet_utils.py:59
↓ 1 callersMethodtick
(self, delta_seconds)
utils/weather.py:60
↓ 1 callersFunctionto_bgra_array
Convert a CARLA raw image to a BGRA numpy array.
scripts/generate_raw_carla_van_dataset.py:37
↓ 1 callersFunctionto_rgb_array
Convert a CARLA raw image to a RGB numpy array.
scripts/generate_raw_carla_van_dataset.py:46
↓ 1 callersMethodvariance
(self)
utils/running_stats.py:35
Method__enter__
(self)
nets/resnet_v1.py:71
Method__exit__
(self, exc_type, exc_value, traceback)
nets/resnet_v1.py:74
Method__init__
(self, azimuth, altitude)
utils/weather.py:12
Method__init__
(self, precipitation)
utils/weather.py:29
Method__init__
(self, weather)
utils/weather.py:55
Method__init__
Initialize virtual trackball control. initial : quaternion or rotation matrix
utils/transformations.py:1538
Method__init__
(self)
utils/running_stats.py:9
next →1–100 of 202, ranked by callers