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/configs
apollo_public_repos/apollo-model-centerpoint/configs/dd3d/dd3d_v2_99_kitti.yml
_base_: '../_base_/kitti_mono.yml' batch_size: 4 #total bs 16 iters: 100000 train_dataset: transforms: - type: LoadImage reader: pillow to_chw: False to_rgb: False - type: ResizeShortestEdge short_edge_length: [288, 304, 320, 336, 352, 368, 384, 400, 416, 448, 480, 512, 544, 576] ...
0
apollo_public_repos/apollo-model-centerpoint
apollo_public_repos/apollo-model-centerpoint/test_tipc/common_func.sh
#!/bin/bash function func_parser_key(){ strs=$1 IFS=":" array=(${strs}) tmp=${array[0]} echo ${tmp} } function func_parser_value(){ strs=$1 IFS=":" array=(${strs}) tmp=${array[1]} echo ${tmp} } function func_set_params(){ key=$1 value=$2 if [ ${key}x = "null"x ];th...
0
apollo_public_repos/apollo-model-centerpoint
apollo_public_repos/apollo-model-centerpoint/test_tipc/prepare.sh
#!/bin/bash source test_tipc/common_func.sh FILENAME=$1 # MODE be one of ['lite_train_lite_infer'] MODE=$2 dataline=$(cat ${FILENAME}) # parser params IFS=$'\n' lines=(${dataline}) # The training params model_name=$(func_parser_value "${lines[1]}") trainer_list=$(func_parser_value "${lines[14]}") # MODE be one of...
0
apollo_public_repos/apollo-model-centerpoint
apollo_public_repos/apollo-model-centerpoint/test_tipc/README.md
# 飞桨训推一体认证(TIPC) ## 1. 简介 飞桨除了基本的模型训练和预测,还提供了支持多端多平台的高性能推理部署工具。本文档提供了Paddle3D中所有模型的飞桨训推一体认证 (Training and Inference Pipeline Certification(TIPC)) 信息和测试工具,方便用户查阅每种模型的训练推理部署打通情况,并可以进行一键测试。 <div align="center"> <img src="docs/guide.png" width="1000"> </div> ## 2. 测试工具简介 ### 目录介绍 ```shell test_tipc/ ├── configs/...
0
apollo_public_repos/apollo-model-centerpoint
apollo_public_repos/apollo-model-centerpoint/test_tipc/test_train_inference_python.sh
#!/bin/bash source test_tipc/common_func.sh FILENAME=$1 # MODE be one of ['lite_train_lite_infer' 'lite_train_whole_infer' 'whole_train_whole_infer', 'whole_infer', 'klquant_whole_infer'] MODE=$2 dataline=$(awk 'NR==1, NR==51{print}' $FILENAME) # parser params IFS=$'\n' lines=(${dataline}) # The training params mo...
0
apollo_public_repos/apollo-model-centerpoint/test_tipc
apollo_public_repos/apollo-model-centerpoint/test_tipc/docs/test_train_infer_python.md
# Linux端基础训练预测功能测试 Linux端基础训练预测功能测试的主程序为`test_train_inference_python.sh`,可以测试基于Python的模型训练、评估、推理等基本功能,包括裁剪、量化、蒸馏。 ## 1. 测试结论汇总 - 训练相关: | 算法名称 | 模型名称 | 单机单卡 | | :---- |:-------| :---- | | CNN | PAConv | 正常训练 | - 预测相关:基于训练是否使用量化,可以将训练产出的模型可以分为`正常模型`和`量化模型`,这两类模型对应的预测功能汇总如下, | 模型类型 |device | batchsize | t...
0
apollo_public_repos/apollo-model-centerpoint/test_tipc/configs
apollo_public_repos/apollo-model-centerpoint/test_tipc/configs/paconv/train_infer_python.txt
===========================train_params=========================== model_name:PAConv python:python3.7 gpu_list:0 Global.use_gpu:True|True Global.auto_cast:fp32 Global.epoch_num:lite_train_lite_infer=1|whole_train_whole_infer=500 Global.save_model_dir:./output/ Train.loader.batch_size_per_card:lite_train_lite_infer=2|wh...
0
apollo_public_repos/apollo-model-centerpoint/test_tipc/configs
apollo_public_repos/apollo-model-centerpoint/test_tipc/configs/paconv/paconv_modelnet40.yml
batch_size: 1 epochs: 1 train_dataset: type: ModelNet40 dataset_root: ./test_tipc/data/mini_modelnet40 num_points: 1024 transforms: - type: GlobalScale min_scale: 0.667 max_scale: 1.5 size: 3 - type: GlobalTranslate translation_std: 0.2 distribution: uniform - type: Sh...
0
apollo_public_repos/apollo-model-centerpoint
apollo_public_repos/apollo-model-centerpoint/paddle3d/env.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
apollo_public_repos/apollo-model-centerpoint/paddle3d/__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
apollo_public_repos/apollo-model-centerpoint/paddle3d/sample.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/apis/config.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/apis/checkpoint.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/apis/__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/apis/pipeline.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/apis/scheduler.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/apis/trainer.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/apis/manager.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/datasets/metrics.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/datasets/__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/datasets/generate_gt_database.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/datasets/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/datasets
apollo_public_repos/apollo-model-centerpoint/paddle3d/datasets/modelnet40/modelnet40_metric.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/datasets
apollo_public_repos/apollo-model-centerpoint/paddle3d/datasets/modelnet40/__init__.py
from .modelnet40_cls import ModelNet40
0
apollo_public_repos/apollo-model-centerpoint/paddle3d/datasets
apollo_public_repos/apollo-model-centerpoint/paddle3d/datasets/modelnet40/modelnet40_cls.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/datasets
apollo_public_repos/apollo-model-centerpoint/paddle3d/datasets/kitti/kitti_mono_det.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/datasets
apollo_public_repos/apollo-model-centerpoint/paddle3d/datasets/kitti/kitti_det.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/datasets
apollo_public_repos/apollo-model-centerpoint/paddle3d/datasets/kitti/kitti_depth_det.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/datasets
apollo_public_repos/apollo-model-centerpoint/paddle3d/datasets/kitti/__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/datasets
apollo_public_repos/apollo-model-centerpoint/paddle3d/datasets/kitti/kitti_metric.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/datasets
apollo_public_repos/apollo-model-centerpoint/paddle3d/datasets/kitti/kitti_utils.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/datasets
apollo_public_repos/apollo-model-centerpoint/paddle3d/datasets/kitti/kitti_pointcloud_det.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/datasets
apollo_public_repos/apollo-model-centerpoint/paddle3d/datasets/nuscenes/nuscenes_manager.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/datasets
apollo_public_repos/apollo-model-centerpoint/paddle3d/datasets/nuscenes/nuscenes_utils.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/datasets
apollo_public_repos/apollo-model-centerpoint/paddle3d/datasets/nuscenes/__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/datasets
apollo_public_repos/apollo-model-centerpoint/paddle3d/datasets/nuscenes/nuscenes_multiview_det.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/datasets
apollo_public_repos/apollo-model-centerpoint/paddle3d/datasets/nuscenes/nuscenes_det.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/datasets
apollo_public_repos/apollo-model-centerpoint/paddle3d/datasets/nuscenes/nuscenes_metric.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/datasets
apollo_public_repos/apollo-model-centerpoint/paddle3d/datasets/nuscenes/nuscenes_pointcloud_det.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/datasets
apollo_public_repos/apollo-model-centerpoint/paddle3d/datasets/waymo/waymo_det.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/datasets
apollo_public_repos/apollo-model-centerpoint/paddle3d/datasets/waymo/__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/datasets
apollo_public_repos/apollo-model-centerpoint/paddle3d/datasets/waymo/waymo_metric.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/datasets
apollo_public_repos/apollo-model-centerpoint/paddle3d/datasets/waymo/waymo_pointcloud_det.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/datasets
apollo_public_repos/apollo-model-centerpoint/paddle3d/datasets/waymo/waymo_utils.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/datasets
apollo_public_repos/apollo-model-centerpoint/paddle3d/datasets/apollo/apollo_pointcloud_det.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/datasets
apollo_public_repos/apollo-model-centerpoint/paddle3d/datasets/apollo/__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/datasets
apollo_public_repos/apollo-model-centerpoint/paddle3d/datasets/apollo/apollo_metric.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/datasets
apollo_public_repos/apollo-model-centerpoint/paddle3d/datasets/apollo/apollo_utils.py
import numpy as np from typing import List, Tuple from paddle3d.geometries import BBoxes2D, BBoxes3D, CoordMode import warnings def assess_apollo_object_difficulties(kitti_records: np.ndarray, distances_thres: List = [20, 50]): # 0~20m: easy, 20~50m: moderate, 50m~: hard n...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d/datasets
apollo_public_repos/apollo-model-centerpoint/paddle3d/datasets/apollo/apollo_det.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/datasets
apollo_public_repos/apollo-model-centerpoint/paddle3d/datasets/semantic_kitti/semantic_kitti_seg.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/datasets
apollo_public_repos/apollo-model-centerpoint/paddle3d/datasets/semantic_kitti/__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/datasets
apollo_public_repos/apollo-model-centerpoint/paddle3d/datasets/semantic_kitti/semantic_kitti.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/datasets
apollo_public_repos/apollo-model-centerpoint/paddle3d/datasets/semantic_kitti/semantic_kitti_metric.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/utils/grid.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/utils/box.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/utils/checkpoint.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/utils/amp_utils.py
from collections.abc import Mapping, Sequence from typing import List import paddle def dtype2float32(src_tensors): if isinstance(src_tensors, paddle.Tensor) and src_tensors.dtype != 'float32': return src_tensors.astype('float32') elif isinstance(src_tensors, Sequence): retu...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d
apollo_public_repos/apollo-model-centerpoint/paddle3d/utils/timer.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/utils/download.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/utils/box_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
apollo_public_repos/apollo-model-centerpoint/paddle3d/utils/__init__.py
from .amp_utils import dtype2float32 from .box import * from .box_coder import * from .box_utils import * from .checkpoint import * from .common import * from .depth import * from .download import * from .grid import * from .logger import * from .timer import * from .transform import * from .xarfile import * from .tran...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d
apollo_public_repos/apollo-model-centerpoint/paddle3d/utils/logger.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/utils/box_utils.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/utils/shm_utils.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/utils/common.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/utils/xarfile.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/utils/depth.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/utils/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 applic...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d
apollo_public_repos/apollo-model-centerpoint/paddle3d/utils/transform3d.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/models/__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/classification/__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/classification
apollo_public_repos/apollo-model-centerpoint/paddle3d/models/classification/paconv/paconv.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/classification
apollo_public_repos/apollo-model-centerpoint/paddle3d/models/classification/paconv/__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/classification
apollo_public_repos/apollo-model-centerpoint/paddle3d/models/classification/paconv/score_net.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/losses/disentangled_box3d_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
apollo_public_repos/apollo-model-centerpoint/paddle3d/models/losses/__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/losses/focal_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
apollo_public_repos/apollo-model-centerpoint/paddle3d/models/losses/utils.py
import functools import paddle def reduce_loss(loss, reduction): """Reduce loss as specified. This function is modified from https://github.com/open-mmlab/mmdetection/blob/master/mmdet/models/losses/utils.py#L9 Args: loss (Tensor): Elementwise loss tensor. reduction (str): Options are "...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d/models
apollo_public_repos/apollo-model-centerpoint/paddle3d/models/losses/reg_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 appli...
0
apollo_public_repos/apollo-model-centerpoint/paddle3d/models
apollo_public_repos/apollo-model-centerpoint/paddle3d/models/losses/weight_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
apollo_public_repos/apollo-model-centerpoint/paddle3d/models/losses/iou_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
apollo_public_repos/apollo-model-centerpoint/paddle3d/models/losses/smooth_l1_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
apollo_public_repos/apollo-model-centerpoint/paddle3d/models/layers/pyramid_pool.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/layers/layer_libs.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/layers/__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/layers/param_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/layers/petr_transformer.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/layers/positional_encoding.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/layers/normalization.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/layers/layer_norm.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/layers/transformer_layers.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/segmentation/__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/segmentation
apollo_public_repos/apollo-model-centerpoint/paddle3d/models/segmentation/squeezesegv3/squeezesegv3.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/segmentation
apollo_public_repos/apollo-model-centerpoint/paddle3d/models/segmentation/squeezesegv3/squeezesegv3_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/segmentation
apollo_public_repos/apollo-model-centerpoint/paddle3d/models/segmentation/squeezesegv3/__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/necks/fpn.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/necks/__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/necks/cp_fpn.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/necks/second_fpn.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/heads/__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