-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #35 from jensenliang-w/opensource-v2.4.0
v2.4.0版本更新发布
- Loading branch information
Showing
3,453 changed files
with
324,507 additions
and
123,061 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
|
||
# The configuration for business database mysql | ||
# mysql is used to save modeling processes, modeling information, member information, and more | ||
# ************************************************ | ||
db.mysql.url=jdbc:mysql://127.0.0.1:3306/wefe_board?serverTimezone=GMT%2B8 | ||
db.mysql.host=127.0.0.1 | ||
db.mysql.port=3306 | ||
db.mysql.database=wefe_board | ||
db.mysql.username=xxx | ||
db.mysql.password=xxxxxxx | ||
is_local=false | ||
# ************************************************ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# Copyright 2021 Tianmian Tech. 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. | ||
|
||
# Copyright (c) 2019 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. | ||
|
||
import sys | ||
import os.path as osp | ||
import logging | ||
# add python path of PadleDetection to sys.path | ||
parent_path = osp.abspath(osp.join(__file__, *(['..'] * 3))) | ||
if parent_path not in sys.path: | ||
sys.path.append(parent_path) | ||
|
||
from ppdet.utils.download import download_dataset | ||
|
||
logging.basicConfig(level=logging.INFO) | ||
|
||
download_path = osp.split(osp.realpath(sys.argv[0]))[0] | ||
download_dataset(download_path, 'coco') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# All rights `PaddleDetection` reserved | ||
# References: | ||
# @TechReport{fddbTech, | ||
# author = {Vidit Jain and Erik Learned-Miller}, | ||
# title = {FDDB: A Benchmark for Face Detection in Unconstrained Settings}, | ||
# institution = {University of Massachusetts, Amherst}, | ||
# year = {2010}, | ||
# number = {UM-CS-2010-009} | ||
# } | ||
|
||
DIR="$( cd "$(dirname "$0")" ; pwd -P )" | ||
cd "$DIR" | ||
|
||
# Download the data. | ||
echo "Downloading..." | ||
# external link to the Faces in the Wild data set and annotations file | ||
wget http://tamaraberg.com/faceDataset/originalPics.tar.gz | ||
wget http://vis-www.cs.umass.edu/fddb/FDDB-folds.tgz | ||
wget http://vis-www.cs.umass.edu/fddb/evaluation.tgz | ||
|
||
# Extract the data. | ||
echo "Extracting..." | ||
tar -zxf originalPics.tar.gz | ||
tar -zxf FDDB-folds.tgz | ||
tar -zxf evaluation.tgz | ||
|
||
# Generate full image path list and groundtruth in FDDB-folds: | ||
cd FDDB-folds | ||
cat `ls|grep -v"ellipse"` > filePath.txt && cat *ellipse* > fddb_annotFile.txt | ||
cd .. | ||
echo "------------- All done! --------------" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# Copyright 2021 Tianmian Tech. 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. | ||
|
||
# Copyright (c) 2019 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. | ||
|
||
import sys | ||
import os.path as osp | ||
import logging | ||
# add python path of PadleDetection to sys.path | ||
parent_path = osp.abspath(osp.join(__file__, *(['..'] * 3))) | ||
if parent_path not in sys.path: | ||
sys.path.append(parent_path) | ||
|
||
from ppdet.utils.download import download_dataset | ||
|
||
logging.basicConfig(level=logging.INFO) | ||
|
||
download_path = osp.split(osp.realpath(sys.argv[0]))[0] | ||
download_dataset(download_path, 'fruit') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
apple | ||
banana | ||
orange |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# Copyright 2021 Tianmian Tech. 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. | ||
|
||
# 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. | ||
|
||
import sys | ||
import os.path as osp | ||
import logging | ||
# add python path of PadleDetection to sys.path | ||
parent_path = osp.abspath(osp.join(__file__, *(['..'] * 3))) | ||
if parent_path not in sys.path: | ||
sys.path.append(parent_path) | ||
|
||
from ppdet.utils.download import download_dataset | ||
|
||
logging.basicConfig(level=logging.INFO) | ||
|
||
download_path = osp.split(osp.realpath(sys.argv[0]))[0] | ||
download_dataset(download_path, 'roadsign_voc') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
speedlimit | ||
crosswalk | ||
trafficlight | ||
stop |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
# Copyright 2021 Tianmian Tech. 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. | ||
|
||
# Copyright (c) 2019 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. | ||
|
||
import sys | ||
import os.path as osp | ||
import logging | ||
import argparse | ||
|
||
# add python path of PadleDetection to sys.path | ||
parent_path = osp.abspath(osp.join(__file__, *(['..'] * 3))) | ||
if parent_path not in sys.path: | ||
sys.path.append(parent_path) | ||
|
||
from ppdet.utils.download import create_voc_list | ||
logging.basicConfig(level=logging.INFO) | ||
|
||
|
||
def main(config): | ||
voc_path = config.dataset_dir | ||
create_voc_list(voc_path) | ||
|
||
|
||
if __name__ == '__main__': | ||
parser = argparse.ArgumentParser() | ||
default_voc_path = osp.split(osp.realpath(sys.argv[0]))[0] | ||
parser.add_argument( | ||
"-d", | ||
"--dataset_dir", | ||
default=default_voc_path, | ||
type=str, | ||
help="VOC dataset directory, default is current directory.") | ||
config = parser.parse_args() | ||
|
||
main(config) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# Copyright 2021 Tianmian Tech. 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. | ||
|
||
# Copyright (c) 2019 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. | ||
|
||
import sys | ||
import os.path as osp | ||
import logging | ||
# add python path of PadleDetection to sys.path | ||
parent_path = osp.abspath(osp.join(__file__, *(['..'] * 3))) | ||
if parent_path not in sys.path: | ||
sys.path.append(parent_path) | ||
|
||
from ppdet.utils.download import download_dataset, create_voc_list | ||
|
||
logging.basicConfig(level=logging.INFO) | ||
|
||
download_path = osp.split(osp.realpath(sys.argv[0]))[0] | ||
download_dataset(download_path, 'voc') | ||
create_voc_list(download_path) |
Oops, something went wrong.