Compare commits
10 Commits
master
...
heminghao_
Author | SHA1 | Date |
---|---|---|
|
1c6e431b69 | 3 years ago |
|
7ebed7d607 | 3 years ago |
|
abf72d39aa | 3 years ago |
|
a66a05e45f | 3 years ago |
|
97435dcc0f | 3 years ago |
|
767151f7c9 | 3 years ago |
|
70080edf95 | 3 years ago |
|
a15a0cfdae | 3 years ago |
|
04452bcdba | 3 years ago |
|
d62bb98680 | 3 years ago |
@ -0,0 +1,14 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: UTF-8 -*-
|
||||
|
||||
class Arc:
|
||||
def __init__(self, argv):
|
||||
self.id = int(argv[0])
|
||||
self.from_node = int(argv[1])
|
||||
self.to_node = int(argv[2])
|
||||
self.len = float(argv[3])
|
||||
self.road_class = argv[4]
|
||||
self.geometry_list = [float(ele) for ele in argv[5:9]]
|
||||
self.direction = float(argv[9])
|
||||
|
||||
|
@ -0,0 +1,10 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: UTF-8 -*-
|
||||
|
||||
class ArcMany:
|
||||
def __init__(self, argv2):
|
||||
self.geometry_list2 = [float(ele) for ele in argv2[0:2]]
|
||||
self.id = int(argv2[2])
|
||||
|
||||
|
||||
|
@ -0,0 +1,11 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: UTF-8 -*-
|
||||
|
||||
class CarPath:
|
||||
def __init__(self, argv4):
|
||||
self.path = int(argv4[0])
|
||||
self.id = int(argv4[1])
|
||||
self.time_stage = int(argv4[2])
|
||||
|
||||
|
||||
|
@ -0,0 +1,3 @@
|
||||
class CarQuery:
|
||||
def __init__(self, argv):
|
||||
self.geo = [float(ele) for ele in argv[0:2]]
|
@ -0,0 +1,10 @@
|
||||
class CarRecord:
|
||||
def __init__(self, argv):
|
||||
self.car = int(argv[0])
|
||||
self.car_id = int(argv[10])
|
||||
self.time = argv[1]
|
||||
self.geo = [float(ele) for ele in argv[2:4]]
|
||||
self.hight = float(argv[4])
|
||||
self.speed = float(argv[5])
|
||||
self.direction = float(argv[6])
|
||||
self.id = int(argv[8])
|
Before Width: | Height: | Size: 24 MiB |
Before Width: | Height: | Size: 13 KiB |
@ -1,7 +0,0 @@
|
||||
include LICENSE.txt
|
||||
include README.md
|
||||
include docs/en/whl_en.md
|
||||
recursive-include deploy/python predict_cls.py preprocess.py postprocess.py det_preprocess.py
|
||||
recursive-include deploy/utils get_image_list.py config.py logger.py predictor.py
|
||||
|
||||
recursive-include ppcls/ *.py *.txt
|
@ -1,17 +0,0 @@
|
||||
# Copyright (c) 2020 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 applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
__all__ = ['PaddleClas']
|
||||
from .paddleclas import PaddleClas
|
||||
from ppcls.arch.backbone import *
|
@ -1,22 +0,0 @@
|
||||
#!/bin/bash
|
||||
dataset_url=$1
|
||||
|
||||
package_check_list=(imageio tqdm Cython pycocotools tb_paddle scipy pandas wget h5py sklearn opencv-python visualdl)
|
||||
for package in ${package_check_list[@]}; do
|
||||
if python -c "import ${package}" >/dev/null 2>&1; then
|
||||
echo "${package} have already installed"
|
||||
else
|
||||
echo "${package} NOT FOUND"
|
||||
pip install ${package}
|
||||
echo "${package} installed"
|
||||
fi
|
||||
done
|
||||
|
||||
cd dataset
|
||||
rm -rf ILSVRC2012
|
||||
wget -nc ${dataset_url}
|
||||
tar xf ILSVRC2012_val.tar
|
||||
ln -s ILSVRC2012_val ILSVRC2012
|
||||
cd ILSVRC2012
|
||||
ln -s val_list.txt train_list.txt
|
||||
cd ../../
|
@ -1,3 +0,0 @@
|
||||
# 默认忽略的文件
|
||||
/shelf/
|
||||
/workspace.xml
|
@ -1,12 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module type="PYTHON_MODULE" version="4">
|
||||
<component name="NewModuleRootManager">
|
||||
<content url="file://$MODULE_DIR$" />
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
</component>
|
||||
<component name="PyDocumentationSettings">
|
||||
<option name="format" value="GOOGLE" />
|
||||
<option name="myDocStringFormat" value="Google" />
|
||||
</component>
|
||||
</module>
|
@ -1,6 +0,0 @@
|
||||
<component name="InspectionProjectProfileManager">
|
||||
<settings>
|
||||
<option name="USE_PROJECT_PROFILE" value="false" />
|
||||
<version value="1.0" />
|
||||
</settings>
|
||||
</component>
|
@ -1,4 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.9" project-jdk-type="Python SDK" />
|
||||
</project>
|
@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectModuleManager">
|
||||
<modules>
|
||||
<module fileurl="file://$PROJECT_DIR$/.idea/deploy.iml" filepath="$PROJECT_DIR$/.idea/deploy.iml" />
|
||||
</modules>
|
||||
</component>
|
||||
</project>
|
@ -1,6 +0,0 @@
|
||||
projectKey=deploy
|
||||
serverUrl=http://localhost:9000
|
||||
serverVersion=8.1.0.31237
|
||||
dashboardUrl=http://localhost:9000/dashboard?id=deploy
|
||||
ceTaskId=AYA_xvBwrgFtfprwzYuQ
|
||||
ceTaskUrl=http://localhost:9000/api/ce/task?id=AYA_xvBwrgFtfprwzYuQ
|
Before Width: | Height: | Size: 559 KiB |
Before Width: | Height: | Size: 99 KiB |
Before Width: | Height: | Size: 359 KiB |
Before Width: | Height: | Size: 50 KiB |
Before Width: | Height: | Size: 114 KiB |
Before Width: | Height: | Size: 66 KiB |
Before Width: | Height: | Size: 180 KiB |
Before Width: | Height: | Size: 34 KiB |
Before Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 496 KiB |
Before Width: | Height: | Size: 118 KiB |
Before Width: | Height: | Size: 380 KiB |
Before Width: | Height: | Size: 1.7 MiB |
Before Width: | Height: | Size: 73 KiB |
Before Width: | Height: | Size: 406 KiB |
Before Width: | Height: | Size: 3.0 MiB |
Before Width: | Height: | Size: 542 KiB |
Before Width: | Height: | Size: 7.0 KiB |
Before Width: | Height: | Size: 68 KiB |
Before Width: | Height: | Size: 54 KiB |
Before Width: | Height: | Size: 247 KiB |
Before Width: | Height: | Size: 32 KiB |
Before Width: | Height: | Size: 96 KiB |
Before Width: | Height: | Size: 238 KiB |
Before Width: | Height: | Size: 152 KiB |
Before Width: | Height: | Size: 28 KiB |
Before Width: | Height: | Size: 199 KiB |
Before Width: | Height: | Size: 215 KiB |
Before Width: | Height: | Size: 162 KiB |
Before Width: | Height: | Size: 71 KiB |
Before Width: | Height: | Size: 200 KiB |
Before Width: | Height: | Size: 284 KiB |
Before Width: | Height: | Size: 150 KiB |
Before Width: | Height: | Size: 636 KiB |
Before Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 193 KiB |
Before Width: | Height: | Size: 190 KiB |
Before Width: | Height: | Size: 472 KiB |
Before Width: | Height: | Size: 477 KiB |
Before Width: | Height: | Size: 432 KiB |
Before Width: | Height: | Size: 59 KiB |
Before Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 285 KiB |
Before Width: | Height: | Size: 29 KiB |
Before Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 205 KiB |
Before Width: | Height: | Size: 493 KiB |
Before Width: | Height: | Size: 475 KiB |
Before Width: | Height: | Size: 139 KiB |
Before Width: | Height: | Size: 548 KiB |
Before Width: | Height: | Size: 40 KiB |
Before Width: | Height: | Size: 205 KiB |
Before Width: | Height: | Size: 101 KiB |
Before Width: | Height: | Size: 123 KiB |
Before Width: | Height: | Size: 85 KiB |