@ -0,0 +1,53 @@
|
|||||||
|
# ---> Eagle
|
||||||
|
# Ignore list for Eagle, a PCB layout tool
|
||||||
|
|
||||||
|
# Backup files
|
||||||
|
*.s#?
|
||||||
|
*.b#?
|
||||||
|
*.l#?
|
||||||
|
*.b$?
|
||||||
|
*.s$?
|
||||||
|
*.l$?
|
||||||
|
|
||||||
|
# Eagle project file
|
||||||
|
# It contains a serial number and references to the file structure
|
||||||
|
# on your computer.
|
||||||
|
# comment the following line if you want to have your project file included.
|
||||||
|
eagle.epf
|
||||||
|
|
||||||
|
# Autorouter files
|
||||||
|
*.pro
|
||||||
|
*.job
|
||||||
|
|
||||||
|
# CAM files
|
||||||
|
*.$$$
|
||||||
|
*.cmp
|
||||||
|
*.ly2
|
||||||
|
*.l15
|
||||||
|
*.sol
|
||||||
|
*.plc
|
||||||
|
*.stc
|
||||||
|
*.sts
|
||||||
|
*.crc
|
||||||
|
*.crs
|
||||||
|
|
||||||
|
*.dri
|
||||||
|
*.drl
|
||||||
|
*.gpi
|
||||||
|
*.pls
|
||||||
|
*.ger
|
||||||
|
*.xln
|
||||||
|
|
||||||
|
*.drd
|
||||||
|
*.drd.*
|
||||||
|
|
||||||
|
*.s#*
|
||||||
|
*.b#*
|
||||||
|
|
||||||
|
*.info
|
||||||
|
|
||||||
|
*.eps
|
||||||
|
|
||||||
|
# file locks introduced since 7.x
|
||||||
|
*.lck
|
||||||
|
|
@ -0,0 +1,19 @@
|
|||||||
|
MIT License Copyright (c) <year> <copyright holders>
|
||||||
|
|
||||||
|
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, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is furnished
|
||||||
|
to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice (including the next
|
||||||
|
paragraph) shall be included in all copies or substantial portions of the
|
||||||
|
Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
|
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS
|
||||||
|
OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||||
|
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
|
||||||
|
OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
@ -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 |
After Width: | Height: | Size: 474 KiB |
After Width: | Height: | Size: 618 KiB |
After Width: | Height: | Size: 442 KiB |
After Width: | Height: | Size: 704 KiB |
After Width: | Height: | Size: 99 KiB |
After Width: | Height: | Size: 359 KiB |
After Width: | Height: | Size: 285 KiB |
After Width: | Height: | Size: 10 KiB |
After Width: | Height: | Size: 31 KiB |
After Width: | Height: | Size: 986 KiB |
After Width: | Height: | Size: 57 KiB |
After Width: | Height: | Size: 182 KiB |
After Width: | Height: | Size: 69 KiB |
After Width: | Height: | Size: 157 KiB |
After Width: | Height: | Size: 289 KiB |
After Width: | Height: | Size: 32 KiB |