MCPcopy Create free account

hub / github.com/darolt/mask_rcnn / functions

Functions216 in github.com/darolt/mask_rcnn

↓ 1 callersMethodset_trainable
Sets model layers as trainable if their names match the given regular expression.
mrcnn/models/model.py:127
↓ 1 callersMethodstages
(self)
mrcnn/models/components/resnet.py:81
↓ 1 callersFunctionsubmit
Run detection on images in the given directory.
mrcnn/actions/submit.py:22
↓ 1 callersFunctionsubtract_mean
Takes RGB images with 0-255 values and subtraces the mean pixel and converts it to float. Expects image colors in RGB order.
mrcnn/utils/utils.py:167
↓ 1 callersMethodto_numpy
Takes attributes of an image and puts them in one 1D array. Use parse_image_meta() to parse the values back. image_id: An int ID of t
mrcnn/utils/image_metas.py:27
↓ 1 callersFunctiontrain
Train the model.
mrcnn/actions/train.py:10
↓ 1 callersFunctionunmold_boxes
Reformats the detections of one image from the format of the neural network output to a format suitable for use in the rest of the application
mrcnn/utils/utils.py:245
↓ 1 callersFunctionunmold_detections_x
Reformats the detections of one image from the format of the neural network output to a format suitable for use in the rest of the application
mrcnn/utils/differentiable_map.py:36
↓ 1 callersFunctionunmold_mask
Converts a mask generated by the neural network into a format similar to its original shape. mask: [height, width] of type float. A small, typ
mrcnn/utils/utils.py:462
↓ 1 callersFunctionunmold_mask_x
Converts a mask generated by the neural network into a format similar to its original shape. mask: [height, width] of type float. A small, typ
mrcnn/utils/differentiable_map.py:65
↓ 1 callersFunctionunmold_masks
(masks, boxes, image_metas)
mrcnn/utils/utils.py:487
↓ 1 callersFunctionunmold_masks_x
(masks, boxes, image_shape)
mrcnn/utils/differentiable_map.py:84
↓ 1 callersMethodupdate_total_loss
(self)
mrcnn/functions/losses.py:27
↓ 1 callersFunctionvalidate_inputs
mrcnn/models/components/nms/nms_wrapper.cpp:18
FunctionPYBIND11_MODULE
mrcnn/models/components/roialign/crop_and_resize_gpu.cpp:77
FunctionPYBIND11_MODULE
mrcnn/models/components/nms/nms_wrapper.cpp:68
Method__add__
(self, other)
mrcnn/functions/losses.py:40
Method__getitem__
(self, image_index)
mrcnn/data/data_generator.py:249
Method__init__
(self, nb_clusters)
samples/microscope_model.py:7
Method__init__
(self, dataset_dir, subset, dataset_name)
samples/nucleus_dataset_handler.py:42
Method__init__
(self, dataset_handler)
mrcnn/actions/analyze.py:18
Method__init__
(self, description, root_dir)
mrcnn/utils/mrcnn_parser.py:11
Method__init__
Args: total: total number of steps.
mrcnn/utils/progress_bar.py:6
Method__init__
(self, kernel_size, stride)
mrcnn/utils/utils.py:572
Method__init__
(self)
mrcnn/utils/exceptions.py:4
Method__init__
(self, original_shape, window=None, scale=1, padding=((0, 0), (0, 0), (0, 0)),
mrcnn/utils/image_metas.py:14
Method__init__
A generator that returns images and corresponding target class ids, bounding box deltas, and masks. dataset_handler: The Data
mrcnn/data/data_generator.py:204
Method__init__
(self)
mrcnn/data/dataset_handler.py:25
Method__init__
(self, rpn_class=0.0, rpn_bbox=0.0, mrcnn_class=0.0, mrcnn_bbox=0.0, mrcnn_mask=0.0)
mrcnn/functions/losses.py:9
Method__init__
model_dir: Directory to save training logs and trained weights
mrcnn/models/model.py:56
Method__init__
(self, C1, C2, C3, C4, C5, out_channels)
mrcnn/models/components/fpn.py:10
Method__init__
(self, depth, pool_size, image_shape, num_classes)
mrcnn/models/components/mask_head.py:12
Method__init__
(self, depth, pool_size, image_shape, num_classes)
mrcnn/models/components/classifier_head.py:9
Method__init__
(self, anchors_per_location, anchor_stride, depth)
mrcnn/models/components/rpn.py:25
Method__init__
(self, inplanes, planes, stride=1, downsample=None)
mrcnn/models/components/resnet.py:9
Method__init__
(self, crop_height, crop_width, extrapolation_value=0)
mrcnn/models/components/roialign/crop_and_resize_function.py:10
Method__init__
(self, class_ids=torch.IntTensor(), boxes=torch.FloatTensor(),
mrcnn/structs/mrcnn_ground_truth.py:8
Method__init__
(self, match=torch.FloatTensor(), deltas=torch.FloatTensor())
mrcnn/structs/rpn_target.py:7
Method__init__
(self, class_logits=torch.FloatTensor(), classes=torch.IntTensor(),
mrcnn/structs/rpn_output.py:8
Method__init__
(self, class_logits=torch.FloatTensor(), deltas=torch.FloatTensor(),
mrcnn/structs/mrcnn_output.py:7
Method__init__
(self, mask_shape, class_ids=torch.IntTensor(), deltas=torc
mrcnn/structs/mrcnn_target.py:9
Method__init__
(self, rois, class_ids, scores, masks)
mrcnn/structs/detection_output.py:13
Method__len__
(self)
mrcnn/data/data_generator.py:303
Method__len__
(self)
mrcnn/data/dataset_handler.py:32
Method__len__
(self)
mrcnn/structs/tensor_container.py:43
Method__new__
This class should not be instantiated.
tools/config.py:44
Method__repr__
(self)
mrcnn/utils/utils.py:593
Method__setattr__
(cls, name, value)
tools/config.py:16
Method__str__
(self)
mrcnn/utils/image_metas.py:50
Method__str__
(self)
mrcnn/structs/tensor_container.py:37
Method__truediv__
(self, b)
mrcnn/functions/losses.py:31
Function_compute_factor
Returns a value inside the range [-1, 0]. The higher the value, closer are the boxes.
mrcnn/functions/map_loss.py:165
Function_extract
(mask, y1, x1, y2, x2)
mrcnn/functions/map_loss.py:141
Method_set_bn_eval
(model)
mrcnn/models/model.py:170
Function_trace_lines
(frame, event, arg)
tools/gpu_mem_profiling.py:52
Functionalt_compute_ious
Compute Intersection over Union of ground truth and predicted masks. Args: gt_masks (torch.IntTensor((img_height, img_width, nb_gt_masks)
mrcnn/functions/metrics.py:18
Functionanalyze
(dataset_handler)
mrcnn/actions/analyze.py:92
Methodappend_data
(self)
mrcnn/data/dataset_handler.py:113
Functionapply_box_deltas
Applies the given deltas to the given boxes. Args: boxes: [batch_size, N, 4] where each row is y1, x1, y2, x2 deltas: [batch_size
mrcnn/utils/utils.py:33
Functionbox_refinement
Compute refinement needed to transform box to gt_box. box and gt_box are [N, (y1, x1, y2, x2)]
mrcnn/utils/utils.py:145
Functionbuild_metas_from_numpy
Parses an image info Numpy array to its components. See to_numpy() for more details.
mrcnn/utils/image_metas.py:59
Methodclean_name
Returns a shorter version of object names for cleaner display.
mrcnn/data/dataset_handler.py:73
Functioncompute_map_loss
Compute loss for single image according to: https://www.kaggle.com/c/data-science-bowl-2018#evaluation
mrcnn/functions/map_loss.py:10
Functioncompute_overlaps
Computes IoU overlaps between two sets of boxes. boxes1, boxes2: [N, (y1, x1, y2, x2)]. For better performance, pass the largest set first an
mrcnn/utils/utils.py:126
Functioncrop_and_resize_gpu_backward
mrcnn/models/components/roialign/crop_and_resize_gpu.cpp:45
Functioncrop_and_resize_gpu_forward
mrcnn/models/components/roialign/crop_and_resize_gpu.cpp:13
Methoddisplay
Displays configurations.
tools/config.py:77
Functiondisplay_differences
Display ground truth and prediction instances on the same image.
mrcnn/utils/visualize.py:170
Functiondisplay_top_masks
Display the given image and the top few class masks.
mrcnn/utils/visualize.py:282
Functiondisplay_weight_stats
Scans all the weights in the model and returns a list of tuples that contain stats about each weight.
mrcnn/utils/visualize.py:476
Functiondraw_box
Draw 3-pixel width bounding boxes on the given image array. color: list of 3 int values for RGB.
mrcnn/utils/visualize.py:270
Functiondraw_boxes
Draw bounding boxes and segmentation masks with differnt customizations. boxes: [N, (y1, x1, y2, x2, class_id)] in image coordinates. ref
mrcnn/utils/visualize.py:359
Functiondraw_rois
anchors: [n, (y1, x1, y2, x2)] list of anchors in image coordinates. proposals: [n, 4] the same anchors but refined to fit objects better.
mrcnn/utils/visualize.py:208
Functionexpand_mask
Resizes mini masks back to image size. Reverses the change of minimize_mask(). See inspect_data.ipynb notebook for more details.
mrcnn/utils/utils.py:445
Functionextract_bboxes
Compute bounding boxes from masks. mask: [height, width, num_instances]. Mask pixels are either 1 or 0. Returns: bbox array [num_instances, (
mrcnn/utils/utils.py:79
Methodforward
(self, input)
mrcnn/utils/utils.py:577
Methodforward
(self, x)
mrcnn/models/components/fpn.py:48
Methodforward
(self, x, rois)
mrcnn/models/components/mask_head.py:33
Methodforward
(self, x, rois)
mrcnn/models/components/classifier_head.py:27
Methodforward
(self, x)
mrcnn/models/components/rpn.py:46
Methodforward
(self, x)
mrcnn/models/components/resnet.py:23
Methodforward
(self, x)
mrcnn/models/components/resnet.py:73
Methodforward
(self, image, boxes, box_ind)
mrcnn/models/components/roialign/crop_and_resize_function.py:15
Methodget_image_id
Returns the image_id given the idx.
mrcnn/data/dataset_handler.py:147
Methodget_source_class_id
Map an internal class ID to the corresponding class ID in the source dataset.
mrcnn/data/dataset_handler.py:107
Functionhook
Determines which augmenters to apply to masks.
mrcnn/data/data_generator.py:53
Methodimage_ids
(self)
mrcnn/data/dataset_handler.py:125
Methodimage_reference
Return the path of the image.
samples/nucleus_dataset_handler.py:114
Methodimage_reference
Return a link to the image in its source Website or details about the image that help looking it up or debugging it. Override for you
mrcnn/data/dataset_handler.py:58
Methodimages
(self)
mrcnn/data/dataset_handler.py:136
Functioninit_config
Loads configurations from YAML files, then create utilitaire configurations. Freeze config and display it.
mrcnn/config/mrcnn_config.py:12
Methodload_mask
Generate instance masks for an image. Returns: masks: A bool array of shape [height, width, instance count] with one mask p
samples/nucleus_dataset_handler.py:90
Methodmap_source_class_id
Takes a source class ID and returns the int class ID assigned to it. For example: dataset.map_source_class_id("coco.12") -> 23
mrcnn/data/dataset_handler.py:99
Methodmasks
(self)
mrcnn/data/dataset_handler.py:129
Functionminimize_masks
Resize masks to a smaller version to cut memory load. Mini-masks can then resized back to image scale using expand_masks() See inspect_data.i
mrcnn/utils/utils.py:423
Functionmold_inputs
Takes a list of images and modifies them to the format expected as an input to the neural network. images: List of image matricies [height,wid
mrcnn/utils/utils.py:192
Functionnms_wrapper
CUDA proxy
mrcnn/models/components/nms/nms_wrapper.cpp:56
Functionplot_losses
(losses, val_losses, save=True, log_dir=None)
mrcnn/utils/visualize.py:504
Functionplot_overlaps
Draw a grid showing how ground truth objects are classified. gt_class_ids: [N] int. Ground truth class IDs pred_class_id: [N] int. Predicted c
mrcnn/utils/visualize.py:320
Functionplot_precision_recall
Draw the precision-recall curve. AP: Average precision at IoU >= 0.5 precisions: list of precision values recalls: list of recall values
mrcnn/utils/visualize.py:305
← previousnext →101–200 of 216, ranked by callers