MIC-DKFZ / medicaldetectiontoolkit

The Medical Detection Toolkit contains 2D + 3D implementations of prevalent object detectors such as Mask R-CNN, Retina Net, Retina U-Net, as well as a training and inference framework focused on dealing with medical images.
Apache License 2.0
1.31k stars 297 forks source link

Project dependencies may have API risk issues #138

Open PyDeps opened 2 years ago

PyDeps commented 2 years ago

Hi, In medicaldetectiontoolkit, inappropriate dependency versioning constraints can cause risks.

Below are the dependencies and version constraints that the project is using

batchgenerators==0.19.3
cffi==1.11.5
cycler==0.10.0
decorator==4.4.1
future==0.18.2
imageio==2.6.1
kiwisolver==1.1.0
linecache2==1.0.0
matplotlib==3.1.2
networkx==2.4
numpy==1.15.3
pandas==0.23.4
Pillow==8.1.1
pycparser==2.19
pyparsing==2.4.5
python-dateutil==2.8.1
pytz==2019.3
PyWavelets==1.1.1
scikit-image==0.16.2
scikit-learn==0.20.0
scipy==1.3.3
six==1.13.0
sklearn==0.0
threadpoolctl==1.1.0
torch==0.4.1
traceback2==1.4.0
unittest2==1.1.0

The version constraint == will introduce the risk of dependency conflicts because the scope of dependencies is too strict. The version constraint No Upper Bound and * will introduce the risk of the missing API Error because the latest version of the dependencies may remove some APIs.

After further analysis, in this project, The version constraint of dependency matplotlib can be changed to >=1.3.0,<=3.0.3. The version constraint of dependency networkx can be changed to >=2.0,<=2.8.4. The version constraint of dependency numpy can be changed to >=1.8.0,<=1.23.0rc3. The version constraint of dependency pandas can be changed to >=0.13.0,<=0.23.4. The version constraint of dependency scikit-learn can be changed to >=0.14,<=0.21.3. The version constraint of dependency scipy can be changed to >=0.12.0,<=1.7.3.

The above modification suggestions can reduce the dependency conflicts as much as possible, and introduce the latest version as much as possible without calling Error in the projects.

The invocation of the current project includes all the following methods.

The calling methods from the matplotlib
matplotlib.gridspec.GridSpec
matplotlib.gridspec.GridSpec.update
matplotlib.use
The calling methods from the networkx
max
The calling methods from the numpy
distutils.core.setup
numpy.testing.assert_almost_equal
The calling methods from the pandas
pandas.DataFrame.to_csv
pandas.read_pickle
pandas.read_csv
pandas.concat
The calling methods from the scikit-learn
sklearn.metrics.roc_curve
sklearn.metrics.precision_recall_curve
sklearn.metrics.roc_auc_score
sklearn.metrics.average_precision_score
The calling methods from the scipy
scipy.ndimage.zoom
scipy.ndimage.measurements.label
scipy.ndimage.measurements.center_of_mass
The calling methods from the all methods
numpy.std
all_pids_list.len.cf.n_cv_splits.cf.seed.dutils.fold_generator.get_fold_names
self.C0
rpn_bbox.view.contiguous
handle2.write
self.FPN.super.__init__
numpy.newaxis.seg_logits.F.softmax.cpu.data.numpy.np.argmax.astype
distutils.core.setup
boxes2.repeat.size
self.cf.dim.scale.np.array.torch.from_numpy.float.cuda
cl_df.groupby
fold_df.pred_score.tolist
C2_layers.append
os.path.split
msg_colors.get
boxes.detach.contiguous
torch.utils.ffi._wrap_function
rpn_bbox.view.view
pyramid_roi_align
dets.cpu.cpu
batch_anchors.clone.size
self.model.self.add_mrcnn_configs.self.add_mrcnn_configs.self.add_mrcnn_configs.self.add_mrcnn_configs.self.add_det_unet_configs
numpy.linspace
predictor.Predictor.predict_patient
cf.bbox_std_dev.torch.from_numpy.float
cf.mask_shape.negative_count.torch.zeros.cuda
img_arr.np.std.astype.astype
torch.LongTensor.cuda
compute_roi_ap
self.rpn_rois_batch_info.split
data.seg_preds.segs.data.np.concatenate.astype
numpy.median
fg_probs.shape.keep_ix.unsqueeze
BatchGenerator
C6_layers.append
nrrd.read
self.P2_conv2
self.Classifier
subprocess.call
negative_count.rand_idx.cuda
configs.configs
batch_targets.append
boxix.ix.chunk_dict.copy
numpy.argsort
self.conv2
fold_df.class_label.tolist
utils.dataloader_utils.pad_nd_image
img.np.flip.copy
torch.nn.Conv2d
aucs.append
torch.cuda.is_available
self.figure_list.ax1.set_ylim
matplotlib.pyplot.plot
numpy.clip
matplotlib.pyplot.subplot
b_keep.class_scores.sort
numpy.savez_compressed
keep.class_ids.unsqueeze
self.C6
numpy.max
PatientBatchIterator
self._data.items
self.new_fold
torch.nn.Sequential
torch.nn.Linear
utils.exp_utils.load_checkpoint
numpy.testing.assert_almost_equal
torch.nn.init.kaiming_uniform_
seg.torch.FloatTensor.cuda
mask.unsqueeze.repeat.unsqueeze
net.load_state_dict
torch.nn.init.xavier_normal_
batch_coords.append
numpy.minimum
SimpleITK.GetImageFromArray.SetSpacing
self.conv_3
torch.nn.init.xavier_uniform_
locals
matplotlib.pyplot.savefig
numpy.sqrt
utils.model_utils.bbox_overlaps_2D
numpy.delete
cf.bbox_std_dev.torch.from_numpy.float.cuda
torch.from_numpy
type
utils.exp_utils.ModelSelector.run_model_selection
roi_masks.unsqueeze
Classifier
_AnsiColorizer
utils.dataloader_utils.get_patch_crop_coords
self.figure_list.ax1.set_xlim
copy.deepcopy
weighted_box_clustering
plotting.plot_stat_curves
RPN
numpy.sum
logging.getLogger.addHandler
epoch.monitor_metrics.append
rpn_scores.shape.n_pad_boxes.torch.zeros.cuda
rpn_match.torch.nonzero.size
numpy.stack
__all__.append
full_masks.append
default_configs.DefaultConfigs.__init__
boxes.detach.contiguous.detach
box_depths.box_widths.box_heights.np.stack.reshape
numpy.unique
argparse.ArgumentParser.parse_args
self.conv_shared
utils.model_utils.initialize_weights
self.sigmoid.size
numpy.split
torch.mean
generate_experiment
plotting.plot_prediction_hist
pool_size.pool_size.ra2D
self.preprocess_patient
Mask
rpn_pred_deltas.size
class_ids.size.torch.arange.long
torch.nn.ReLU
sample_proposals.self.cf.window.mutils.clip_to_window.cpu
torch.ByteTensor
self.conv_4.size
torch.utils.ffi.create_extension.build
chunk_dicts.keys
CropAndResizeFunction
fg_probs.view.sort
scales.flatten.flatten
batch_segs.append
torch.nn.functional.cross_entropy
converter.update
torch.nn.ConvTranspose3d
line.strip
torch.nn.functional.interpolate
self.stream.write
torch.IntTensor.cuda.cpu
positive_ix.target_masks.detach
batch_rpn_rois.shape.batch_rpn_rois.shape.np.arange.np.repeat.torch.from_numpy.float.cuda
pandas.DataFrame.to_pickle
val_results_list.append
numpy.save
matplotlib.pyplot.figure.savefig
zip
numpy.sum.append
pre_nms_scores.size.torch.arange.long
numpy.random.randint
utils.exp_utils.prepare_monitoring
matplotlib.pyplot.ylabel
numpy.prod
anchor_matches.torch.nonzero.size
df.fold.unique
self.build
numpy.delete.squeeze
self.P2_conv1
get_case_identifiers
numpy.std.GetSpacing
refine_detections.cpu
anchor_target_deltas.torch.from_numpy.float
self.P6_conv2
resample_array
new_seg_batch.append
sample_masks.append
roi_rater_list.append
get_results
neg_ix.shape.torch.LongTensor.cuda
collectPaths.append
os.path.isfile
_ext.nms.cpu_nms
Exception
self.deconv
seg_logits.F.softmax.argmax
self.conv_1
torch.cat.permute
generate_anchors_3D
os.listdir
positive_roi_ix.mrcnn_target_deltas.detach
self.conv3
preprocessing.get_z_crops
batch_data.append
self.linear_class
self.P0_conv1
numpy.transpose.items
importlib.util.spec_from_file_location
matplotlib.pyplot.legend
utils.model_utils.shem.cpu
torch.sort
bix.max_scores.append
utils.exp_utils.import_module.get_train_generators
torch.FloatTensor.cuda.size
self.downsample
targets_pos.long
numpy.delete.size
argparse.ArgumentParser
tensor.sort.sort
batchgenerators.transforms.crop_and_pad_transforms.CenterCropTransform
cf.dim.negative_count.torch.zeros.cuda
dets.cpu.size
keep.pre_nms_class_ids.unsqueeze.float
utils.model_utils.batch_dice
path.split
numpy.sign
self.RPN.super.__init__
utils.model_utils.get_one_hot_encoding
torch.split
b.box_results_list.append
metric_classes.extend
str
rpn_target_deltas.torch.from_numpy.float
class_logits.shape.class_logits.shape.torch.arange.unsqueeze.repeat.view
self.np_anchors.torch.from_numpy.float.cuda
self.final_conv
ratios.flatten.flatten
compute_mrcnn_class_loss
os.path.join
numpy.where
positive_roi_bool.torch.nonzero.squeeze
os.path.exists
torch.nn.functional.smooth_l1_loss
keep.class_ids.unsqueeze.float
pandas.read_pickle.to_pickle
ValueError
torch.LongTensor
target_class_ids.cpu.data.numpy.list.count
self.conv_2
SimpleITK.GetImageFromArray.SetOrigin
torch.nn.InstanceNorm3d
sklearn.metrics.precision_recall_curve
numpy.floor
utils.model_utils.unmold_mask_3D
cf.rpn_bbox_std_dev.torch.from_numpy.float
torch.log
torch.IntTensor.cuda
torch.nn.InstanceNorm2d
torch.tensor.long.cuda
torch.IntTensor.cuda.long
predictor.Predictor
multiprocessing.Pool.close
converter
bix.out_patient_results_list.extend
max
numpy.mean
numpy.meshgrid
w.h.w.h.np.array.torch.from_numpy.float.cuda
numpy.std.GetSize
self.BBRegressor
seg_logits.F.softmax.argmax.cpu
self.conv1
self.P3_conv2
y.shape.y.shape.n_classes.y.shape.np.zeros.astype
bb_logits.view.contiguous
keep.pre_nms_batch_ixs.unsqueeze
torch.cat.contiguous
seg.torch.FloatTensor.cuda.long
net.train_forward.backward
self.cf.num_seg_classes.seg.mutils.get_one_hot_encoding.torch.FloatTensor.cuda
numpy.copy
anchors.repeat.repeat
utils.model_utils.apply_box_deltas_2D
self.cf.wce_weights.torch.tensor.float
torch.FloatTensor.cuda.item
load_dataset.items
scores.argsort
self.cf.class_dict.keys
ratios_meshed.flatten.flatten
self.conv4
pos_indices.squeeze.size
spec_df.pred_score.tolist
any
p_df.pid.isin.tolist
sorted
self.conv_final
get_one_hot_encoding
torch.autograd.Variable
self.cf.exp_dir.split
load_dataset
self.C5
os.walk
torch.optim.Adam.step
torch.cat.append
batch_rpn_rois.shape.batch_rpn_rois.shape.np.arange.np.repeat.torch.from_numpy.float
self.Fpn
evaluator.Evaluator.evaluate_predictions
skimage.segmentation.clear_border
sklearn.metrics.average_precision_score
torch.IntTensor
self.extrapolation_value.self.crop_zdepth.self.crop_width.self.crop_height.CropAndResizeFunction
self.fpn
numpy.random.rand
self.P0_conv2
class_logits.shape.torch.arange.unsqueeze
load_dataset.keys
batchgenerators.transforms.spatial_transforms.SpatialTransform
SimpleITK.ReadImage.GetSpacing
self.save_for_backward
self.net.eval
p_df.pid.isin
numpy.argmin
img.np.flip.np.flip.copy
batch_components.append
torch.nn.Conv3d
ax1.set_title
matplotlib.pyplot.text
mrcnn_bbox.view.size
numpy.std.GetDirection
self.rpn
numpy.reshape
ii.min_pix.count.np.argwhere.ii.ii.np.array.astype
self.spatial_tiling_forward
pid_df.det_type.pid_df.det_type.pid_df.sort_values
order.dets.contiguous
w.h.torch.sqrt.mutils.log2.round.int.clamp
box_widths.box_heights.np.stack.reshape
numpy.concatenate.clamp
numpy.zeros_like
img.torch.from_numpy.float
numpy.log
box_ind.detach.detach
get_mirrored_patch_crops
torch.nn.MaxPool3d
SimpleITK.ResampleImageFilter.SetReferenceImage
utils.model_utils.box_refinement
compute_rpn_bbox_loss
pandas.read_pickle
multiprocessing.Pool.join
utils.model_utils.clip_boxes_2D
numpy.load
logger.warning
os.mkdir
utils.model_utils.bbox_overlaps_3D
r.int.box_results_list.append
torch.nn.functional.binary_cross_entropy
matplotlib.pyplot.xlabel
numpy.take
self.loss_samples_forward
self.P5_conv1
torch.nn.functional.cross_entropy.item
utils.model_utils.batch_dice.item
SimpleITK.GetArrayFromImage
sample_negative_indices.append
self.P1_conv1
logging.FileHandler
SimpleITK.Image.SetDirection
self.P4_conv1
class_ids.size.torch.arange.long.cuda
self.P2_upsample
time.time
sample_proposals.self.cf.window.mutils.clip_to_window.cpu.data.numpy.repeat
scales_xy.flatten.flatten
_ext.crop_and_resize.crop_and_resize_gpu_forward
crop_and_resize.CropAndResizeFunction
numpy.load.astype
self.forward
callable
ax1.set_position
b.batch_gt_class_ids.torch.from_numpy.int
self.net.train_forward
numpy.ceil
grad_outputs.torch.zeros_like.resize_
matplotlib.pyplot.yscale
out_max_scores.append
apply_wbc_to_patient
matplotlib.gridspec.GridSpec.update
_ext.nms.gpu_nms
predictor.Predictor.load_saved_predictions
self.BatchGenerator.super.__init__
self.net.test_forward
self.sigmoid.view
numpy.arange
multiprocessing.Pool.map
numpy.array.astype
matplotlib.pyplot.hist
roi_probs_neg.max.sort
ii.split
torch.FloatTensor
num_out.keep.cuda.order.contiguous
numpy.delete.sort
cf.mask_shape.cf.mask_shape.cf.mask_shape.ra3D
torch.nn.init.normal_
self.data_aug_forward
SimpleITK.ReadImage
dir
collectPaths
z.z.w.h.w.h.np.array.torch.from_numpy.float
ax1.get_position
cuda_functions.roi_align_2D.roi_align.crop_and_resize.CropAndResizeFunction
C3_layers.append
zoom_factor.mask.scipy.ndimage.zoom.astype
torch.nonzero
configs.configs.configs
b.batch_proposals.torch.nonzero.squeeze
utils.exp_utils.import_module.FPN
aggregate_meta_info
image.size
negative_roi_bool.torch.nonzero.squeeze
batch.torch.LongTensor.cuda
class_logits.shape.torch.arange.unsqueeze.repeat
get_one_hot_encoding.size
enumerate
rpn_bbox.view.permute
anchors.append
b.batch_gt_masks.torch.from_numpy.float.cuda
self.classifier
batchgenerators.transforms.abstract_transforms.Compose
batchgenerators.transforms.utility_transforms.ConvertSegToBoundingBoxCoordinates
utils.model_utils.gt_anchor_matching
numpy.delete.unsqueeze
rpn_class_logits.view.permute
batch_2D.update
utils.model_utils.generate_pyramid_anchors
seg_logits.F.softmax.detach
positive_roi_bool.torch.nonzero.size
numpy.newaxis.seg_preds.np.array.np.round.astype
rpn_scores.boxes.torch.cat.cpu.data.numpy
stream.isatty
out_coords.append
self.Interpolate.super.__init__
boxes1_repeat.boxes1.repeat.view.chunk
self.model.self.add_mrcnn_configs.self.add_mrcnn_configs.self.add_mrcnn_configs.self.add_mrcnn_configs.self.add_mrcnn_configs.self.add_mrcnn_configs.self.add_det_unet_configs
numpy.std.GetPixelIDValue
keep_bool.torch.nonzero.size
list
train_results_list.append
self.P3_conv1
out_box_coords.append
torch.round
m.bias.data.zero_
torch.exp
logger.cf.model.net.cuda.eval
self.P6_conv1
detection_monitoring_plot
print
_import_symbols
torch.nn.init.kaiming_normal_
keep.batch_ixs.unsqueeze
torch.nn.MaxPool2d
matplotlib.pyplot.close
import_module.configs
logger.info
spec.loader.exec_module
batchgenerators.transforms.spatial_transforms.MirrorTransform
self.net.super.__init__
numpy.random.choice
rpn_target_deltas.torch.from_numpy.float.cuda
pos_indices.squeeze.squeeze
self.ResBlock.super.__init__
min
df.pid.unique
batch_rpn_rois.view
self.sigmoid
self.mask
torch.tensor.long
slice
pandas.read_csv
chunk_dict.np.flip.np.flip.copy
s.int.roi_results.append
generate_anchors
file_path.split
iou_df.det_type.iou_df.det_type.iou_df.sort_values
numpy.newaxis.seg_logits.F.softmax.argmax.cpu.data.numpy.astype
SimpleITK.Image
ix_scores.unsqueeze
torch.load
self.RoIAlign.super.__init__
float
get_train_generators
cf.mask_shape.cf.mask_shape.ra2D
int.extend
batch_pids.append
logger.cf.model.net.cuda
tensor.sort.size
sklearn.metrics.roc_auc_score
get_coords
utils.exp_utils.import_module.net
proposals.shape.np.array.torch.from_numpy.cuda
self.P1_upsample
logging.getLogger
torch.save
roi_masks.size.torch.arange.int.cuda
ix_scores.sort
utils.dataloader_utils.unpack_dataset
keep.pre_nms_batch_ixs.unsqueeze.float
b.batch_gt_boxes.torch.from_numpy.float.cuda
next.keys
self.init_indices
join
proposal_layer
keep.pre_nms_class_ids.unsqueeze
coords_mesh_grid.append
utils.model_utils.shem
b.batch_gt_masks.torch.from_numpy.float
net.state_dict
SimpleITK.Image.SetOrigin
pc.results_dict.append
torch.max
sklearn.metrics.roc_curve
ii.split.lstrip
batchgenerators.dataloading.multi_threaded_augmenter.MultiThreadedAugmenter
self.logger.info
numpy.random.RandomState
self.conv5
order.size.negative_count.int.ohem_poolsize.torch.tensor.min
numpy.array.append
bboxes_list.append
self.test_df.to_pickle
bb_logits.view.view
numpy.pad
spec_df.det_type.tolist
roi.sitk.GetArrayFromImage.astype
seg_logits.F.softmax.cpu
os.path.dirname
neg_indices.squeeze.size
self.cf.dim.scale.np.array.torch.from_numpy.float
self.extrapolation_value.self.crop_width.self.crop_height.CropAndResizeFunction
fold_df.class_label.any
q.tolist.tolist
keep.pre_nms_scores.unsqueeze
cf.scale.torch.from_numpy.float.cuda
train
deltas.repeat.repeat
pre_nms_scores.size.torch.arange.long.cuda
spec_df.class_label.unique
neg_indices.squeeze.squeeze
get_mirrored_patch_crops.append
boxes2.repeat.repeat
torch.nn.init._calculate_fan_in_and_fan_out
int
box_centers_x.box_centers_y.np.stack.reshape
roi_rater_list.extend
torch.FloatTensor.cuda
src_imgs.astype
BBRegressor
compute_iou_3D
torch.sqrt
super
importlib.util.module_from_spec
metrics.keys
utils.model_utils.compute_overlaps
matplotlib.pyplot.subplot.axis
torch.IntTensor.cuda.size
create_data_gen_pipeline
rpn_match.torch.nonzero.squeeze
numpy.all
sample_proposals.size
plotting.plot_batch_prediction
cf.dim.cf.rpn_bbox_std_dev.np.reshape.torch.from_numpy.float
mrcnn_bbox.view.view
parse_requirements
target_shape.img.resize.astype
cuda_functions.nms_3D.pth_nms.nms_gpu
cf.dim.cf.rpn_bbox_std_dev.np.reshape.torch.from_numpy.float.cuda
numpy.full
SimpleITK.ResampleImageFilter
rpn_scores.boxes.torch.cat.cpu
b.proposal_boxes.argsort
Interpolate
b.batch_gt_class_ids.torch.from_numpy.int.cuda
_ext.crop_and_resize.crop_and_resize_forward
numpy.tile
predictor.Predictor.predict_test_set
range.append
positive_samples.rand_idx.cuda
boxes1_repeat.boxes1.repeat.view.size
numpy.zeros
rpn_class_logits.view.contiguous
cand.class_targets.count
class_logits.shape.class_logits.shape.torch.arange.unsqueeze.repeat.view.cuda
compute_mrcnn_bbox_loss
self.batch_tiling_forward
keep_scores.append
positive_roi_ix.target_class_ids.long
positive_roi_bool.torch.nonzero.squeeze.size
import_module
next
utils.exp_utils.import_module.configs
self.conv_class
SimpleITK.Resample
self.figure_list.ax1.set_xlabel
setuptools.find_packages
AssertionError
getattr
fold_df.class_label.unique
len
pickle.load
neg_ix.cpu.data.numpy
argparse.ArgumentParser.add_argument
anchor_matches.torch.nonzero.squeeze
hdlr.close
curses.tigetnum
out_list.append
order.size
evaluator.Evaluator.score_test_df
self.cf.wce_weights.torch.tensor.float.cuda
logger.cf.model.net.cuda.train
sys.path.append
batch_ixs.append
divmod
logging.getLogger.setLevel
utils.dataloader_utils.fold_generator
nms_2to3D
cf.rpn_bbox_std_dev.torch.from_numpy.float.cuda
roi_probs_neg.max
b.batch_gt_boxes.torch.from_numpy.float
utils.exp_utils.import_module.get_test_generator
collections.OrderedDict.items
spec_df.class_label.tolist
numpy.array.items
self.net.load_state_dict
matplotlib.use
refine_detections
test
ColorHandler
matplotlib.pyplot.title
pre_nms_scores.size
torch.optim.Adam.zero_grad
mask.unsqueeze.repeat
pool_size.pool_size.pool_size.ra3D
utils.model_utils.unmold_mask_2D
keep_coords.append
sample_positive_indices.append
final_slices.append
torch.nn.BatchNorm3d
compute_bbox_loss
w.h.w.h.np.array.torch.from_numpy.float
utils.model_utils.NDConvGenerator
cuda_functions.nms_2D.pth_nms.nms_gpu
self.np_anchors.torch.from_numpy.float
batch_segs.np.array.astype
anchor_class_match.torch.from_numpy.cuda
self.interp
torch.tensor
sample_deltas.append
self.C4
i.endswith
header.keys
Warning
utils.exp_utils.ModelSelector
scipy.ndimage.zoom
numpy.cumsum
coords_mesh_grid.np.array.astype
featuremap.size
self.P4_conv2
keep_z.append
seg_preds.append
pickle.dump
torch.no_grad
numpy.concatenate
numpy.searchsorted
os.path.join.split
numpy.min
img.torch.FloatTensor.cuda
numpy.argmax
keep_max.append
RuntimeError
utils.model_utils.clip_boxes_3D
boxes1_repeat.boxes1.repeat.view.repeat
compute_mrcnn_class_loss.item
p_df.pid.tolist
probs.contiguous.view
numpy.maximum
separate_values_dict.values
torch.optim.Adam
seg_logits.F.softmax.detach.cpu.data.numpy
torch.arange
detection_masks.permute.cpu.data.numpy
os.remove
detection_masks.permute.cpu
first_element.cuda.cuda
line.startswith
pos_indices.cpu.data.numpy
torch.min
scipy.ndimage.measurements.center_of_mass
order.size.negative_count.int.ohem_poolsize.torch.tensor.min.int
k.header.split
utils.model_utils.apply_box_deltas_3D
self.figure_list.ax1.grid
torch.nn.LeakyReLU
numpy.random.RandomState.shuffle
pool_indices.size
format
TrainingPlot.update_and_save
batch_anchors.clone
pos_indices.squeeze.cpu
copy_and_unpack_data
_ext.crop_and_resize.crop_and_resize_backward
matplotlib.pyplot.figure
names_list.append
skimage.transform.resize
pandas.concat
positive_ix.target_class_ids.long
compute_mrcnn_bbox_loss.item
seg_logits.F.softmax.argmax.cpu.data.numpy
sum_tensor
y.shape.y.shape.y.shape.n_classes.y.shape.np.zeros.astype
get_z_crops
evaluator.Evaluator
img_arr.np.std.astype
batch_rpn_rois.shape.batch_rpn_rois.shape.np.arange.np.repeat.torch.from_numpy.float.cuda.unsqueeze
torch.max.size
torch.stack
collections.OrderedDict
abs
utils.model_utils.clip_to_window
self.ColorHandler.super.__init__
self.relu
dict
cf.dim.ix.detections.astype
torch.nn.init.uniform_
p.x.np.concatenate.astype
self.mask.permute
bb_logits.view.permute
smax.np.copy.argmax
batch_data.np.array.astype
pr.tolist.tolist
utils.dataloader_utils.get_class_balanced_patients
keep.class_scores.unsqueeze
compute_rpn_class_loss
self.C2
seg_logits.F.softmax.detach.cpu
box_centers_z.box_centers_x.box_centers_y.np.stack.reshape
batch.dict_of_patient_results.append
cf.scale.torch.from_numpy.float
self.figure_list.append
input.sum.sum
self.PatientBatchIterator.super.__init__
C4_layers.append
bix.results_dict.append
seg_logits.F.softmax.cpu.data.numpy
compute_iou_2D
scipy.ndimage.measurements.label
detection_target_layer
utils.model_utils.clip_boxes_numpy
spec_df.class_label.any
isinstance
net.modules
torch.nn.Sigmoid
optimizer.load_state_dict
utils.model_utils.unique1d
roi_masks.size
ln2.cuda.cuda
self.figure_list.ax1.set_ylabel
anchor_target_deltas.torch.from_numpy.float.cuda
numpy.std.GetOrigin
self.C3
boxes_list.append
merge_2D_to_3D_preds_per_patient
torch.nonzero.any
utils.exp_utils.get_logger.info
optimizer.state_dict
seg.astype.astype
conv.cf.backbone.FPN.cuda
z.z.w.h.w.h.np.array.torch.from_numpy.float.cuda
self.conv_4
ii.split.split
SimpleITK.ResampleImageFilter.Execute
class_dict.keys
self.predict_patient
pool.map.append
boxes2.repeat.chunk
boxes.shape.n_pad_boxes.torch.zeros.cuda
self.CropAndResize.super.__init__
pred_deltas.size
exp_path.split
layer_outputs.append
bb_reg_layer_outputs.append
bix.out_patient_results_list.append
boxes1_repeat.boxes1.repeat.view
roi_masks.size.torch.arange.int
logger.cf.model.net.cuda.train_forward
self.cf.num_seg_classes.batch.mutils.get_one_hot_encoding.torch.FloatTensor.cuda
multiprocessing.Pool
numpy.delete.chunk
utils.exp_utils.prep_exp
cl_df.groupby.agg
compute_class_loss
ix.box_results_list.append
num_out.keep.cuda
all_stats.append
cf.class_dict.items
numpy.any
self.Mask.super.__init__
numpy.flip
img.torch.from_numpy.float.cuda
class_layer_outputs.append
matplotlib.pyplot.imshow
torch.cat
negative_count.torch.zeros.int.cuda
w.h.torch.sqrt.mutils.log2.round.int
_ext.crop_and_resize.crop_and_resize_gpu_backward
numpy.diagonal
numpy.zeros.astype
class_logits_list.append
ax1.get_position.keys
ax1.legend
binary_mask.astype.astype
utils.model_utils.shem.size
curses.setupterm
self.Classifier.super.__init__
logging.getLogger.info
rpn_class_logits.view.view
matplotlib.gridspec.GridSpec
torch.zeros
self.linear_bbox
numpy.argwhere
numpy.round
probs.repeat.repeat
open
aux.sort.sort
SimpleITK.Image.SetSpacing
os.path.realpath
self.P5_conv2
normalized_boxes.unsqueeze
sc.monitor_metrics.count
keep.append
score_level_name.monitor_metrics.append
utils.exp_utils.import_module
rpn_match.torch.from_numpy.cuda
torch.randperm
ax1.plot
b.results_dict.append
plotting.TrainingPlot_2Panel
batch_rpn_rois.shape.batch_rpn_rois.shape.np.arange.np.repeat.torch.from_numpy.float.cuda.repeat
compute_overlaps
torch.nn.functional.softmax
self.return_metrics
sample_proposals.self.cf.window.mutils.clip_to_window.cpu.data.numpy
target_class_ids.cpu.data.numpy
utils.model_utils.log2
scipy.stats.norm.pdf
probs.contiguous
crop_coords.append
new_img_batch.append
negative_roi_bool.torch.nonzero.size
target_class_ids.torch.nonzero.size
class_ids.np.array.torch.from_numpy.cuda
cuda_functions.roi_align_3D.roi_align.crop_and_resize.CropAndResizeFunction
torch.zeros_like
w.h.torch.sqrt.mutils.log2.round
iou.view
numpy.repeat
tuple
level_boxes.detach.detach
sample_class_ids.append
set
torch.nn.ConvTranspose2d
negative_count.torch.zeros.int
grad_outputs.contiguous.contiguous
logger.cf.model.net.cuda.parameters
scores.sort
range
compute_mrcnn_mask_loss
my_transforms.append
conv
get_roi_ap_from_df
numpy.transpose
torch.utils.ffi.create_extension
self.net.test_forward.append
torch.cat.view
SimpleITK.GetImageFromArray
numpy.array
ix.batch_ixs.int
torch.nn.BatchNorm2d
utils.exp_utils.create_csv_output
type_list.count
df.match_iou.unique
self.spatial_tiling_forward.append
b_keep.pre_nms_scores.sort
C5_layers.append
detections.cpu.data.numpy
self.C1
pandas.DataFrame
self.block
pos_indices.shape.torch.LongTensor.cuda
self.conv_bbox
numpy.load.items
handle.write
utils.exp_utils.get_logger
pandas.DataFrame.to_csv
zeros.cuda.cuda
os.makedirs
self.BBRegressor.super.__init__

@developer Could please help me check this issue? May I pull a request to fix it? Thank you very much.