cosense3d.agents.cav_prototype package

Submodules

cosense3d.agents.cav_prototype.base_cav module

class cosense3d.agents.cav_prototype.base_cav.BaseCAV(id: str, mapped_id: int, is_ego: bool, lidar_range: Tensor, memory_len: int, lidar_pose: Tensor | None = None, require_grad: bool = False, seq_len: int = 1, **kwargs)[source]

Bases: object

apply_transform()[source]
forward(tasks, training_mode, **kwargs)[source]
forward_fusion(tasks, training_mode, **kwargs)[source]

To be overloaded.

forward_head(tasks, training_mode, **kwargs)[source]

To be overloaded.

forward_local(tasks, training_mode, **kwargs)[source]

To be overloaded.

forward_localization(tasks, training_mode, **kwargs)[source]

To be overloaded.

get_request_cpm()[source]
get_response_cpm()[source]
has_request()[source]
loss(tasks, **kwargs)[source]

To be overloaded.

post_update_memory()[source]

Update memory after each forward run of a single frame.

pre_update_memory()[source]

Update memory before each forward run of a single frame.

prepare_data()[source]
receive_request(request)[source]
receive_response(response)[source]
reset_data(*args, **kwargs)[source]
transform_data()[source]
update(lidar_pose, is_ego, require_grad)[source]
class cosense3d.agents.cav_prototype.base_cav.BaseSeqCAV(id, mapped_id, is_ego, lidar_range, memory_len, lidar_pose=None, require_grad=False, seq_len=1, **kwargs)[source]

Bases: object

apply_transform(seq_idx)[source]
forward(tasks, training_mode, seq_idx, with_loss)[source]
forward_fusion(tasks, training_mode, seq_idx, with_loss)[source]

To be overloaded.

forward_head(tasks, training_mode, seq_idx, with_loss)[source]

To be overloaded.

forward_local(tasks, training_mode, seq_idx, with_loss)[source]

To be overloaded.

get_data(keys, seq_idx=None)[source]
get_request_cpm()[source]
get_response_cpm()[source]
has_request()[source]
loss(tasks, training_mode, seq_idx, with_loss)[source]

To be overloaded.

post_update_memory(seq_idx, **kwargs)[source]

Update memory after each forward run of a single frame.

pre_update_memory(seq_idx, **kwargs)[source]

Update memory before each forward run of a single frame.

prepare_data(seq_idx)[source]
receive_request(request)[source]
receive_response(response, seq_idx)[source]
reset_data(*args, **kwargs)[source]
task_id(seq_idx)[source]
update(lidar_pose)[source]
class cosense3d.agents.cav_prototype.base_cav.DairV2XCAV(*args, **kwargs)[source]

Bases: BaseCAV

class cosense3d.agents.cav_prototype.base_cav.OPV2VtCAV(*args, **kwargs)[source]

Bases: BaseCAV

class cosense3d.agents.cav_prototype.base_cav.OPV2VtCAV_v2(*args, **kwargs)[source]

Bases: BaseCAV

cosense3d.agents.cav_prototype.streamLTS_collection module

class cosense3d.agents.cav_prototype.streamLTS_collection.LTSCAVLocCorr(*args, **kwargs)[source]

Bases: StreamLidarCAV

apply_transform()[source]
forward_fusion(tasks, training_mode, **kwargs)[source]

To be overloaded.

forward_head(tasks, training_mode, **kwargs)[source]

To be overloaded.

forward_local(tasks, training_mode, **kwargs)[source]

To be overloaded.

forward_localization(tasks, training_mode, **kwargs)[source]

To be overloaded.

get_response_cpm()[source]
prepare_data()[source]
transform_data()[source]
class cosense3d.agents.cav_prototype.streamLTS_collection.LTSDairV2X(*args, **kwargs)[source]

Bases: StreamLidarCAV

forward_fusion(tasks, training_mode, **kwargs)[source]

To be overloaded.

forward_head(tasks, training_mode, **kwargs)[source]

To be overloaded.

forward_local(tasks, training_mode, **kwargs)[source]

To be overloaded.

loss(tasks, **kwargs)[source]

To be overloaded.

class cosense3d.agents.cav_prototype.streamLTS_collection.StreamLidarCAV(*args, **kwargs)[source]

Bases: BaseCAV

apply_transform()[source]
forward_fusion(tasks, training_mode, **kwargs)[source]

To be overloaded.

forward_head(tasks, training_mode, **kwargs)[source]

To be overloaded.

forward_local(tasks, training_mode, **kwargs)[source]

To be overloaded.

get_response_cpm()[source]
loss(tasks, **kwargs)[source]

To be overloaded.

post_update_memory()[source]

Update memory after each forward run of a single frame.

pre_update_memory()[source]

Update memory before each forward run of a single frame.

prepare_data()[source]
prepare_time_scale()[source]
refresh_memory(prev_exists)[source]
property timestamp
transform_data()[source]
transform_ref_pts(reference_points, matrix)[source]
update_memory_timestamps(ref_pts)[source]
vis_local_detection()[source]
vis_local_pred()[source]
vis_poses(ax=None, label=None, his_len=1, **kwargs)[source]
vis_ref_pts(ax=None, label=None, his_len=1, **kwargs)[source]
cosense3d.agents.cav_prototype.streamLTS_collection.slcAttnFusion

alias of slcDenseToSparse

class cosense3d.agents.cav_prototype.streamLTS_collection.slcCIASSD(*args, **kwargs)[source]

Bases: StreamLidarCAV

apply_transform()[source]
forward_fusion(tasks, training_mode, **kwargs)[source]

To be overloaded.

forward_head(tasks, training_mode, **kwargs)[source]

To be overloaded.

forward_local(tasks, training_mode, **kwargs)[source]

To be overloaded.

get_response_cpm()[source]
loss(tasks, **kwargs)[source]

To be overloaded.

post_update_memory()[source]

Update memory after each forward run of a single frame.

pre_update_memory()[source]

Update memory before each forward run of a single frame.

prepare_data()[source]
class cosense3d.agents.cav_prototype.streamLTS_collection.slcDenseToSparse(*args, **kwargs)[source]

Bases: StreamLidarCAV

forward_local(tasks, training_mode, **kwargs)[source]

To be overloaded.

prepare_data()[source]
class cosense3d.agents.cav_prototype.streamLTS_collection.slcFPVRCNN(*args, **kwargs)[source]

Bases: StreamLidarCAV

forward_local(tasks, training_mode, **kwargs)[source]

To be overloaded.

prepare_data()[source]
cosense3d.agents.cav_prototype.streamLTS_collection.slcFcooper

alias of slcDenseToSparse

class cosense3d.agents.cav_prototype.streamLTS_collection.slcNoBoxTime(*args, **kwargs)[source]

Bases: StreamLidarCAV

prepare_data()[source]
update_memory_timestamps(ref_pts)[source]
class cosense3d.agents.cav_prototype.streamLTS_collection.slcNoBoxTimeDairV2X(*args, **kwargs)[source]

Bases: LTSDairV2X

prepare_data()[source]
update_memory_timestamps(ref_pts)[source]

Module contents

cosense3d.agents.cav_prototype.get_prototype(module_full_path: str)[source]