repo_id
stringlengths
19
138
file_path
stringlengths
32
200
content
stringlengths
1
12.9M
__index_level_0__
int64
0
0
apollo_public_repos/apollo-model-centerpoint/paddle3d/models/detection/caddn
apollo_public_repos/apollo-model-centerpoint/paddle3d/models/detection/caddn/f2v/frustum_grid_generator.py
# Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d/models/detection/caddn
apollo_public_repos/apollo-model-centerpoint/paddle3d/models/detection/caddn/f2v/frustum_to_voxel.py
# Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d/models/detection
apollo_public_repos/apollo-model-centerpoint/paddle3d/models/detection/pv_rcnn/pv_rcnn.py
# Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d/models/detection
apollo_public_repos/apollo-model-centerpoint/paddle3d/models/detection/pv_rcnn/__init__.py
# Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d/models/detection
apollo_public_repos/apollo-model-centerpoint/paddle3d/models/detection/pointpillars/pointpillars_coder.py
# Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applic...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d/models/detection
apollo_public_repos/apollo-model-centerpoint/paddle3d/models/detection/pointpillars/pointpillars_loss.py
# Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applic...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d/models/detection
apollo_public_repos/apollo-model-centerpoint/paddle3d/models/detection/pointpillars/pointpillars_head.py
# Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applic...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d/models/detection
apollo_public_repos/apollo-model-centerpoint/paddle3d/models/detection/pointpillars/__init__.py
# Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applic...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d/models/detection
apollo_public_repos/apollo-model-centerpoint/paddle3d/models/detection/pointpillars/pointpillars.py
# Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applic...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d/models/detection
apollo_public_repos/apollo-model-centerpoint/paddle3d/models/detection/pointpillars/anchors_generator.py
# Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applic...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d/models/detection
apollo_public_repos/apollo-model-centerpoint/paddle3d/models/detection/bevformer/bevformer.py
# Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d/models/detection
apollo_public_repos/apollo-model-centerpoint/paddle3d/models/detection/bevformer/__init__.py
from . import bevformer, bevformer_head from .bevformer import * from .bevformer_head import *
0
apollo_public_repos/apollo-model-centerpoint/paddle3d/models/detection
apollo_public_repos/apollo-model-centerpoint/paddle3d/models/detection/bevformer/bevformer_head.py
# Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d/models/detection
apollo_public_repos/apollo-model-centerpoint/paddle3d/models/detection/voxel_rcnn/voxel_rcnn.py
# Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d/models/detection
apollo_public_repos/apollo-model-centerpoint/paddle3d/models/detection/voxel_rcnn/__init__.py
# Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d/models/detection
apollo_public_repos/apollo-model-centerpoint/paddle3d/models/detection/dd3d/dd3d.py
# Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applic...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d/models/detection
apollo_public_repos/apollo-model-centerpoint/paddle3d/models/detection/dd3d/__init__.py
# Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applic...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d/models/detection
apollo_public_repos/apollo-model-centerpoint/paddle3d/models/detection/dd3d/prepare_targets.py
# Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applic...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d/models
apollo_public_repos/apollo-model-centerpoint/paddle3d/models/base/base_multiview_detection.py
# Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applic...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d/models
apollo_public_repos/apollo-model-centerpoint/paddle3d/models/base/__init__.py
# Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applic...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d/models
apollo_public_repos/apollo-model-centerpoint/paddle3d/models/base/base_model.py
# Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applic...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d/models
apollo_public_repos/apollo-model-centerpoint/paddle3d/models/base/base_lidar_detection.py
# Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applic...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d/models
apollo_public_repos/apollo-model-centerpoint/paddle3d/models/base/base_mono_detection.py
# Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applic...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d/models
apollo_public_repos/apollo-model-centerpoint/paddle3d/models/base/base_detection.py
# Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applic...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d/models
apollo_public_repos/apollo-model-centerpoint/paddle3d/models/middle_encoders/sparsenet.py
# Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d/models
apollo_public_repos/apollo-model-centerpoint/paddle3d/models/middle_encoders/__init__.py
# Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d/models
apollo_public_repos/apollo-model-centerpoint/paddle3d/models/middle_encoders/sparse_resnet.py
# Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d/models
apollo_public_repos/apollo-model-centerpoint/paddle3d/models/middle_encoders/pillar_scatter.py
# Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d
apollo_public_repos/apollo-model-centerpoint/paddle3d/transforms/normalize.py
# Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applic...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d
apollo_public_repos/apollo-model-centerpoint/paddle3d/transforms/__init__.py
# Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applic...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d
apollo_public_repos/apollo-model-centerpoint/paddle3d/transforms/samplingV2.py
# Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License") # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d
apollo_public_repos/apollo-model-centerpoint/paddle3d/transforms/reader.py
# Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applic...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d
apollo_public_repos/apollo-model-centerpoint/paddle3d/transforms/anchor_generator.py
# Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License") # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d
apollo_public_repos/apollo-model-centerpoint/paddle3d/transforms/functional.py
# Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applic...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d
apollo_public_repos/apollo-model-centerpoint/paddle3d/transforms/transform.py
# Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License") # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d
apollo_public_repos/apollo-model-centerpoint/paddle3d/transforms/sampling.py
# Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License") # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d
apollo_public_repos/apollo-model-centerpoint/paddle3d/transforms/target_generator.py
# Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applic...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d
apollo_public_repos/apollo-model-centerpoint/paddle3d/transforms/base.py
# Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applic...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d
apollo_public_repos/apollo-model-centerpoint/paddle3d/geometries/__init__.py
# Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applic...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d
apollo_public_repos/apollo-model-centerpoint/paddle3d/geometries/pointcloud.py
# Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applic...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d
apollo_public_repos/apollo-model-centerpoint/paddle3d/geometries/structure.py
# Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applic...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d
apollo_public_repos/apollo-model-centerpoint/paddle3d/geometries/bbox.py
# Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applic...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d
apollo_public_repos/apollo-model-centerpoint/paddle3d/ops/__init__.py
# Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applic...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d
apollo_public_repos/apollo-model-centerpoint/paddle3d/ops/setup.py
import paddle from paddle.utils.cpp_extension import CppExtension, CUDAExtension, setup from paddle3d.ops import custom_ops for op_name, op_dict in custom_ops.items(): sources = op_dict.pop('sources', []) flags = None if paddle.device.is_compiled_with_cuda(): extension = CUDAExtension fla...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d/ops
apollo_public_repos/apollo-model-centerpoint/paddle3d/ops/grid_sample_3d/grid_sample_3d.cc
// Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requir...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d/ops
apollo_public_repos/apollo-model-centerpoint/paddle3d/ops/grid_sample_3d/grid_sample_3d.h
// Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requir...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d/ops
apollo_public_repos/apollo-model-centerpoint/paddle3d/ops/grid_sample_3d/grid_sample_3d.cu
// Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requir...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d/ops
apollo_public_repos/apollo-model-centerpoint/paddle3d/ops/pointnet2/sampling.cc
// Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d/ops
apollo_public_repos/apollo-model-centerpoint/paddle3d/ops/pointnet2/sampling_gpu.cu
// Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d/ops
apollo_public_repos/apollo-model-centerpoint/paddle3d/ops/pointnet2/gather_points.cc
// Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d/ops
apollo_public_repos/apollo-model-centerpoint/paddle3d/ops/pointnet2/voxel_query.cc
// Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d/ops
apollo_public_repos/apollo-model-centerpoint/paddle3d/ops/pointnet2/voxel_query_gpu.cu
#include <curand_kernel.h> #include <math.h> #include <stdio.h> #include <stdlib.h> #include "paddle/extension.h" #define THREADS_PER_BLOCK 256 #define DIVUP(m, n) ((m) / (n) + ((m) % (n) > 0)) __global__ void voxel_query_kernel_stack(int M, int R1, int R2, int R3, int nsampl...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d/ops
apollo_public_repos/apollo-model-centerpoint/paddle3d/ops/pointnet2/gather_points_gpu.cu
// Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d/ops/pointnet2
apollo_public_repos/apollo-model-centerpoint/paddle3d/ops/pointnet2/pointnet2_batch/ball_query_batch.cc
// Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d/ops/pointnet2
apollo_public_repos/apollo-model-centerpoint/paddle3d/ops/pointnet2/pointnet2_batch/ball_query_gpu_batch.cu
// Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d/ops/pointnet2
apollo_public_repos/apollo-model-centerpoint/paddle3d/ops/pointnet2/pointnet2_batch/group_points_gpu_batch.cu
// Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d/ops/pointnet2
apollo_public_repos/apollo-model-centerpoint/paddle3d/ops/pointnet2/pointnet2_batch/group_points_batch.cc
// Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d/ops/pointnet2
apollo_public_repos/apollo-model-centerpoint/paddle3d/ops/pointnet2/pointnet2_stack/group_points_stack.cc
// Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d/ops/pointnet2
apollo_public_repos/apollo-model-centerpoint/paddle3d/ops/pointnet2/pointnet2_stack/group_points_gpu_stack.cu
// Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d/ops/pointnet2
apollo_public_repos/apollo-model-centerpoint/paddle3d/ops/pointnet2/pointnet2_stack/ball_query_gpu_stack.cu
// Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d/ops/pointnet2
apollo_public_repos/apollo-model-centerpoint/paddle3d/ops/pointnet2/pointnet2_stack/ball_query_stack.cc
// Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d/ops
apollo_public_repos/apollo-model-centerpoint/paddle3d/ops/assign_score_withk/assign_score_withk_cuda.cc
/* This code is based on https://github.com/CVMI-Lab/PAConv/blob/main/obj_cls/cuda_lib/src/gpu/assign_score_withk_gpu.cu Ths copyright of CVMI-Lab/PAConv is as follows: Apache-2.0 License [see LICENSE for details]. */ #include "paddle/extension.h" #include <vector> #define CHECK_INPUT(x) PD_CHECK(x.is_cpu(), #x " must...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d/ops
apollo_public_repos/apollo-model-centerpoint/paddle3d/ops/assign_score_withk/assign_score_withk_kernel.cu
/* This code is based on https://github.com/CVMI-Lab/PAConv/blob/main/obj_cls/cuda_lib/src/gpu/assign_score_withk_gpu.cu Ths copyright of CVMI-Lab/PAConv is as follows: Apache-2.0 License [see LICENSE for details]. */ #include "paddle/extension.h" #include <vector> #include <cuda.h> #include <cuda_runtime.h> #define B...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d/ops
apollo_public_repos/apollo-model-centerpoint/paddle3d/ops/voxel/voxelize_op.cc
// Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d/ops
apollo_public_repos/apollo-model-centerpoint/paddle3d/ops/voxel/voxelize_op.cu
// Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d/ops
apollo_public_repos/apollo-model-centerpoint/paddle3d/ops/ms_deform_attn/ms_deform_attn_cuda_kernel.h
// Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d/ops
apollo_public_repos/apollo-model-centerpoint/paddle3d/ops/ms_deform_attn/ms_deform_attn.cu
// Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d/ops
apollo_public_repos/apollo-model-centerpoint/paddle3d/ops/ms_deform_attn/ms_deform_attn.cc
// Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d/ops
apollo_public_repos/apollo-model-centerpoint/paddle3d/ops/centerpoint_postprocess/iou3d_nms_kernel.cu
// Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d/ops
apollo_public_repos/apollo-model-centerpoint/paddle3d/ops/centerpoint_postprocess/postprocess.cu
// Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d/ops
apollo_public_repos/apollo-model-centerpoint/paddle3d/ops/centerpoint_postprocess/postprocess.cc
// Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d/ops
apollo_public_repos/apollo-model-centerpoint/paddle3d/ops/iou3d_nms/iou3d_cpu.cpp
// Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d/ops
apollo_public_repos/apollo-model-centerpoint/paddle3d/ops/iou3d_nms/iou3d_nms.cpp
// Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d/ops
apollo_public_repos/apollo-model-centerpoint/paddle3d/ops/iou3d_nms/iou3d_nms_kernel.cu
// Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d/ops
apollo_public_repos/apollo-model-centerpoint/paddle3d/ops/iou3d_nms/iou3d_nms.h
// Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d/ops
apollo_public_repos/apollo-model-centerpoint/paddle3d/ops/iou3d_nms/iou3d_cpu.h
// Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d/ops
apollo_public_repos/apollo-model-centerpoint/paddle3d/ops/iou3d_nms/iou3d_nms_api.cpp
// Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d/ops
apollo_public_repos/apollo-model-centerpoint/paddle3d/ops/roiaware_pool3d/box_utils.cc
// Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d/ops
apollo_public_repos/apollo-model-centerpoint/paddle3d/ops/roiaware_pool3d/box_utils_gpu.cu
// Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d
apollo_public_repos/apollo-model-centerpoint/paddle3d/slim/__init__.py
# Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applic...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d
apollo_public_repos/apollo-model-centerpoint/paddle3d/slim/quant.py
# Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applic...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d
apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty/__init__.py
from collections.abc import Iterable from typing import List, Union def kitti_eval(gt_annos: List[dict], dt_annos: List[dict], current_classes: Union[None, int, List[int]] = (0, 1, 2), metric_types=("bbox", "bev", "3d"), recall_type='R40', z_a...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty
apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty/kitti_object_eval_python/LICENSE
MIT License Copyright (c) 2018 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, subl...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty
apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty/kitti_object_eval_python/README.md
# Note This code is from [traveller59/kitti-object-eval-python](https://github.com/traveller59/kitti-object-eval-python) # kitti-object-eval-python Fast kitti object detection eval in python(finish eval in less than 10 second), support 2d/bev/3d/aos. , support coco-style AP. If you use command line interface, numba n...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty
apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty/kitti_object_eval_python/kitti_common.py
import concurrent.futures as futures import os import pathlib import re from collections import OrderedDict import numpy as np from skimage import io def get_image_index_str(img_idx): return "{:06d}".format(img_idx) def get_kitti_info_path(idx, prefix, info_type='...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty
apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty/kitti_object_eval_python/evaluate.py
import time import fire import kitti_common as kitti from eval import get_official_eval_result, get_coco_eval_result def _read_imageset_file(path): with open(path, 'r') as f: lines = f.readlines() return [int(line) for line in lines] def evaluate(label_path, result_path, la...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty
apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty/kitti_object_eval_python/eval.py
import io as sysio import time from collections import OrderedDict import numba import numpy as np from scipy.interpolate import interp1d from .rotate_iou import rotate_iou_gpu_eval def get_mAP(prec): sums = 0 for i in range(0, len(prec), 4): sums += prec[i] return sums / 11 * 100 @numba.jit d...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty
apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty/kitti_object_eval_python/rotate_iou.py
##################### # Based on https://github.com/hongzhenwang/RRPN-revise # Licensed under The MIT License # Author: yanyan, scrin@foxmail.com ##################### import math import numba import numpy as np from numba import cuda @numba.jit(nopython=True) def div_up(m, n): return m // n + (m % n > 0) @cuda....
0
apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty
apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty/apollo_object_eval_python/apollo_eval.py
import io as sysio import time from collections import OrderedDict import numba import numpy as np from scipy.interpolate import interp1d from ..kitti_object_eval_python.rotate_iou import rotate_iou_gpu_eval def get_mAP(prec): sums = 0 for i in range(0, len(prec), 4): sums += prec[i] return sums...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty
apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty/semantic_kitti_api/evaluate_panoptic.py
#!/usr/bin/env python3 # This file is covered by the LICENSE file in the root of this project. import argparse import os import yaml import sys import numpy as np import time import json from auxiliary.eval_np import PanopticEval # possible splits splits = ["train", "valid", "test"] if __name__ == '__main__': par...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty
apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty/semantic_kitti_api/evaluate_semantics.py
#!/usr/bin/env python3 # This file is covered by the LICENSE file in the root of this project. import argparse import os import yaml import sys import numpy as np # possible splits splits = ["train", "valid", "test"] # possible backends backends = ["numpy", "torch"] if __name__ == '__main__': parser = argparse.Ar...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty
apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty/semantic_kitti_api/generate_sequential.py
#!/usr/bin/env python3 # This file is covered by the LICENSE file in the root of this project. import argparse import os import yaml import numpy as np from collections import deque import shutil from numpy.linalg import inv import struct import time def parse_calibration(filename): """ read calibration file with g...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty
apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty/semantic_kitti_api/evaluate_mos.py
#!/usr/bin/env python3 # This file is covered by the LICENSE file in the root of this project. # developed by Xieyuanli Chen import argparse import os import yaml import sys import numpy as np # possible splits splits = ["train", "valid", "test"] # possible backends backends = ["numpy", "torch"] if __name__ == '__m...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty
apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty/semantic_kitti_api/LICENSE
The MIT License Copyright (c) 2019, University of Bonn Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, pu...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty
apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty/semantic_kitti_api/requirements.txt
matplotlib>=2.2.3 vispy>=0.5.3 torch>=1.1.0 numpy>=1.14.0 PyYAML>=5.1.1 imgui[glfw]>=1.0.0 glfw>=1.8.3 PyOpenGL>=3.1.0 pyqt5>=5.8.1.1
0
apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty
apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty/semantic_kitti_api/visualize_mos.py
#!/usr/bin/env python3 # This file is covered by the LICENSE file in the root of this project. # developed by Xieyuanli Chen import argparse import os import yaml from auxiliary.laserscan import LaserScan, SemLaserScan from auxiliary.laserscanvis import LaserScanVis if __name__ == '__main__': parser = argparse.Argu...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty
apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty/semantic_kitti_api/Dockerfile
# This file is covered by the LICENSE file in the root of this project. # Use an official ubuntu runtime as a parent image FROM ubuntu:16.04 # Install all system pre-reqs # common pre-reqs RUN apt update RUN apt upgrade -y RUN apt install apt-utils \ build-essential \ curl \ ...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty
apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty/semantic_kitti_api/.pep8
[pep8] max-line-length = 120 indent-size = 2
0
apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty
apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty/semantic_kitti_api/validate_submission.py
#!/usr/bin/env python3 # This file is covered by the LICENSE file in the root of this project. import zipfile import argparse import os import numpy as np class ValidationException(Exception): pass def unpack(compressed): ''' given a bit encoded voxel grid, make a normal voxel grid out of it. ''' uncompresse...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty
apollo_public_repos/apollo-model-centerpoint/paddle3d/thirdparty/semantic_kitti_api/visualize.py
#!/usr/bin/env python3 # This file is covered by the LICENSE file in the root of this project. import argparse import os import yaml from auxiliary.laserscan import LaserScan, SemLaserScan from auxiliary.laserscanvis import LaserScanVis if __name__ == '__main__': parser = argparse.ArgumentParser("./visualize.py") ...
0