forked from PulseFocusPlatform/PulseFocusPlatform
Compare commits
15 Commits
master
...
setupchang
Author | SHA1 | Date |
---|---|---|
p02945817 | 3b4ac9cae1 | |
p02945817 | ab8ffcf61a | |
p02945817 | d16b7893a5 | |
p02945817 | becb5ea553 | |
p02945817 | 2ffcc98ac4 | |
p02945817 | 128444f997 | |
p02945817 | efc062138b | |
p02945817 | 1735bc6975 | |
p02945817 | 1d613070e3 | |
p02945817 | 7f873243cf | |
p02945817 | e66910c48b | |
p02945817 | 914394829b | |
p02945817 | aca022de7a | |
p02945817 | 63b8e759b1 | |
p02945817 | ccd2951448 |
|
@ -0,0 +1,3 @@
|
|||
# Default ignored files
|
||||
/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.10 (PulseFocusPlatform)" 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/PulseFocusPlatform.iml" filepath="$PROJECT_DIR$/.idea/PulseFocusPlatform.iml" />
|
||||
</modules>
|
||||
</component>
|
||||
</project>
|
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="VcsDirectoryMappings">
|
||||
<mapping directory="$PROJECT_DIR$" vcs="Git" />
|
||||
</component>
|
||||
</project>
|
10
setup.py
10
setup.py
|
@ -1,16 +1,13 @@
|
|||
# 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.
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
||||
# See the License
|
||||
|
||||
|
||||
import os.path as osp
|
||||
import glob
|
||||
|
@ -37,7 +34,6 @@ def package_model_zoo():
|
|||
|
||||
valid_cfgs = []
|
||||
for cfg in cfgs:
|
||||
# exclude dataset base config
|
||||
if osp.split(osp.split(cfg)[0])[1] not in ['datasets']:
|
||||
valid_cfgs.append(cfg)
|
||||
model_names = [
|
||||
|
|
Loading…
Reference in New Issue