Compare commits
125 Commits
niyinglin_
...
master
After Width: | Height: | Size: 24 MiB |
After Width: | Height: | Size: 13 KiB |
@ -0,0 +1,7 @@
|
|||||||
|
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
|
@ -0,0 +1,17 @@
|
|||||||
|
# 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 *
|
@ -0,0 +1,22 @@
|
|||||||
|
#!/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 ../../
|
@ -0,0 +1,3 @@
|
|||||||
|
# 默认忽略的文件
|
||||||
|
/shelf/
|
||||||
|
/workspace.xml
|
@ -0,0 +1,12 @@
|
|||||||
|
<?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>
|
@ -0,0 +1,6 @@
|
|||||||
|
<component name="InspectionProjectProfileManager">
|
||||||
|
<settings>
|
||||||
|
<option name="USE_PROJECT_PROFILE" value="false" />
|
||||||
|
<version value="1.0" />
|
||||||
|
</settings>
|
||||||
|
</component>
|
@ -0,0 +1,4 @@
|
|||||||
|
<?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>
|
@ -0,0 +1,8 @@
|
|||||||
|
<?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>
|
@ -0,0 +1,6 @@
|
|||||||
|
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
|
After Width: | Height: | Size: 559 KiB |
After Width: | Height: | Size: 99 KiB |
After Width: | Height: | Size: 359 KiB |
After Width: | Height: | Size: 50 KiB |
After Width: | Height: | Size: 114 KiB |
After Width: | Height: | Size: 66 KiB |
After Width: | Height: | Size: 180 KiB |
After Width: | Height: | Size: 34 KiB |
After Width: | Height: | Size: 11 KiB |
After Width: | Height: | Size: 496 KiB |
After Width: | Height: | Size: 118 KiB |
After Width: | Height: | Size: 380 KiB |
After Width: | Height: | Size: 1.7 MiB |
After Width: | Height: | Size: 73 KiB |
After Width: | Height: | Size: 406 KiB |
After Width: | Height: | Size: 3.0 MiB |
After Width: | Height: | Size: 542 KiB |
After Width: | Height: | Size: 7.0 KiB |
After Width: | Height: | Size: 68 KiB |
After Width: | Height: | Size: 54 KiB |
After Width: | Height: | Size: 247 KiB |
After Width: | Height: | Size: 32 KiB |
After Width: | Height: | Size: 96 KiB |
After Width: | Height: | Size: 238 KiB |
After Width: | Height: | Size: 152 KiB |
After Width: | Height: | Size: 28 KiB |
After Width: | Height: | Size: 199 KiB |
After Width: | Height: | Size: 215 KiB |
After Width: | Height: | Size: 162 KiB |
After Width: | Height: | Size: 71 KiB |
After Width: | Height: | Size: 200 KiB |
After Width: | Height: | Size: 284 KiB |
After Width: | Height: | Size: 150 KiB |
After Width: | Height: | Size: 636 KiB |
After Width: | Height: | Size: 14 KiB |
After Width: | Height: | Size: 193 KiB |
After Width: | Height: | Size: 190 KiB |
After Width: | Height: | Size: 472 KiB |
After Width: | Height: | Size: 477 KiB |
After Width: | Height: | Size: 432 KiB |
After Width: | Height: | Size: 59 KiB |
After Width: | Height: | Size: 19 KiB |
After Width: | Height: | Size: 285 KiB |
After Width: | Height: | Size: 29 KiB |
After Width: | Height: | Size: 30 KiB |
After Width: | Height: | Size: 205 KiB |
After Width: | Height: | Size: 493 KiB |
After Width: | Height: | Size: 475 KiB |
After Width: | Height: | Size: 139 KiB |
After Width: | Height: | Size: 548 KiB |
After Width: | Height: | Size: 40 KiB |
After Width: | Height: | Size: 205 KiB |
After Width: | Height: | Size: 101 KiB |
After Width: | Height: | Size: 123 KiB |
After Width: | Height: | Size: 85 KiB |
After Width: | Height: | Size: 155 KiB |
After Width: | Height: | Size: 2.9 MiB |
After Width: | Height: | Size: 575 KiB |
After Width: | Height: | Size: 121 KiB |
After Width: | Height: | Size: 178 KiB |
After Width: | Height: | Size: 908 KiB |
After Width: | Height: | Size: 71 KiB |
After Width: | Height: | Size: 133 KiB |