open3d.ml.tf.pipelines.ObjectDetection

class open3d.ml.tf.pipelines.ObjectDetection(model, dataset=None, name='ObjectDetection', main_log_dir='./logs/', device='cuda', split='train', **kwargs)

Pipeline for object detection.

__init__(model, dataset=None, name='ObjectDetection', main_log_dir='./logs/', device='cuda', split='train', **kwargs)

Initialize.

Parameters
  • model – network

  • dataset – dataset, or None for inference model

  • device – ‘gpu’ or ‘cpu’

  • kwargs

Returns

The corresponding class.

Return type

class

load_ckpt(ckpt_path=None, is_resume=True)
run_inference(data)

Run inference on given data.

Parameters

data – A raw data.

Returns

Returns the inference results.

run_test()

Run test with test data split, computes mean average precision of the prediction results.

run_train()

Run training on train sets.

run_valid()
save_ckpt(epoch)
save_config(writer)
save_logs(writer, epoch)