open3d.ml.torch.datasets.ParisLille3D

class open3d.ml.torch.datasets.ParisLille3D(dataset_path, name='ParisLille3D', cache_dir='./logs/cache', use_cache=False, num_points=65536, class_weights=[65075320, 33014819, 656096, 61715, 296523, 4052947, 172132, 4212295, 10599237], test_result_folder='./test', val_files=['Lille2.ply'], **kwargs)

ParisLille3D dataset, used in visualizer, training, or test

__init__(dataset_path, name='ParisLille3D', cache_dir='./logs/cache', use_cache=False, num_points=65536, class_weights=[65075320, 33014819, 656096, 61715, 296523, 4052947, 172132, 4212295, 10599237], test_result_folder='./test', val_files=['Lille2.ply'], **kwargs)

Initialize :param dataset_path: path to the dataset :type dataset_path: str :param kwargs:

Returns

The corresponding class.

Return type

class

static get_label_to_names()

Returns a label to names dict.

Returns

A dict where keys are label numbers and vals are the corresponding names.

get_split(split)

Returns a dataset split.

Parameters
  • split – A string identifying the dataset split. Usually one of

  • 'test', 'validation', 'all'. ('training',) –

Returns

A dataset split object providing the requested subset of the data.

get_split_list(split)
is_tested(attr)

Checks whether a datum has been tested.

Parameters

attr – The attributes associated with the datum

Returns

True if the test result has been stored for the datum with the specified attribute or else returns False.

save_test_result(results, attr)

Saves the output of a model.

Parameters
  • results – The output of a model for the datum associated with ‘attr’.

  • attr – The attributes that correspond to the outputs ‘results’.