Эх сурвалжийг харах

fix some bugs (#2152)

* modify installation_other_devices.md for export (#2133)

* fix resize about w,h order (#2132)

* Update README.md

* Update document_scene_information_extraction.md

* Update document_scene_information_extraction_en.md

* Update document_scene_information_extraction_en.md

* bugfix

* update doc (#2138)

* Support Cython generator type (#2136)

* update doc (#2140)

* [Feat] Add pipeline serving (#2077)

* Support pipeline serving

* Refactor

* Update det and instance_seg apps

* Fix bugs and enhance typing

* Set device when creating app

* Add TS apps

* Add ppchatocrv3 app

* Fix bugs and add anomaly detection app

* Fix bugs

* Update ppchatocrv3

* Update ppchatocrv3 APIs

* Update serving CLI

* Update ppchatocrv3

* Update and fix

* Fix bugs

* Update APIs

* Fix and update

* Remove bs setting

* new doc (#2134)

* update readme (#2139)

* uodate readme

* update readme

---------

Co-authored-by: cuicheng01 <45199522+cuicheng01@users.noreply.github.com>

* fix README.md

* fix README_en.md

* Develop (#2142)

* update doc

* update README

* update README

* Update README.md

* Update README_en.md

* str path (#2144)

* str path

* bugfix

* add faiss-cpu

* bugfix

* Update README.md

* Update pipeline_develop_guide.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* update readme link (#2146)

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* update readme_en link,multihardware (#2147)

* update readme link

* update readme_en link

* update link multihardware

---------

Co-authored-by: dyning <dyning.2003@163.com>

* Update README.md

* Update README.md

* Update README.md

* Update installation_other_devices.md

* Update installation_other_devices.md

* fix bug (#2150)

---------

Co-authored-by: a31413510 <31413510@qq.com>
Co-authored-by: Tingquan Gao <gaotingquan@baidu.com>
Co-authored-by: Lin Manhui <bob1998425@hotmail.com>
Co-authored-by: AmberC0209 <55582609+AmberC0209@users.noreply.github.com>
Co-authored-by: Tingquan Gao <35441050@qq.com>
Co-authored-by: dyning <dyning.2003@163.com>
Co-authored-by: changdazhou <142379845+changdazhou@users.noreply.github.com>
cuicheng01 1 жил өмнө
parent
commit
88d599fba1
1 өөрчлөгдсөн 11 нэмэгдсэн , 10 устгасан
  1. 11 10
      paddlex/paddlex_cli.py

+ 11 - 10
paddlex/paddlex_cli.py

@@ -112,19 +112,20 @@ def install(args):
     if "serving" in plugins:
         plugins.remove("serving")
         _install_serving_deps()
+        return
 
     if plugins:
         repo_names = plugins
-        if len(repo_names) == 0:
-            repo_names = get_all_supported_repo_names()
-        setup(
-            repo_names=repo_names,
-            no_deps=args.no_deps,
-            platform=args.platform,
-            update_repos=args.update_repos,
-            use_local_repos=args.use_local_repos,
-        )
-        return
+    elif len(plugins) == 0:
+        repo_names = get_all_supported_repo_names()
+    setup(
+        repo_names=repo_names,
+        no_deps=args.no_deps,
+        platform=args.platform,
+        update_repos=args.update_repos,
+        use_local_repos=args.use_local_repos,
+    )
+    return
 
 
 def _get_hpi_params(serial_number, update_license):