91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 15.32MB
    文件類型: .zip
    金幣: 1
    下載: 0 次
    發布日期: 2023-07-14
  • 語言: Python
  • 標簽: dlib??人臉識別??

資源簡介

我的環境:win10+python3.7+TensorFlow1.13.1gpu(conda的虛擬環境) 能成功匹配安裝版本

資源截圖

代碼片段和文件信息

“““setup?for?the?dlib?project
?Copyright?(C)?2015??Ehsan?Azar?(dashesy@linux.com)
?License:?Boost?Software?License???See?LICENSE.txt?for?the?full?license.

This?file?basically?just?uses?CMake?to?compile?the?dlib?python?bindings?project
located?in?the?tools/python?folder?and?then?puts?the?outputs?into?standard
python?packages.

To?build?the?dlib:
????python?setup.py?build
To?build?and?install:
????python?setup.py?install
To?package?the?wheel?(after?pip?installing?twine?and?wheel):
????python?setup.py?bdist_wheel
To?upload?the?binary?wheel?to?PyPi
????twine?upload?dist/*.whl
To?upload?the?source?distribution?to?PyPi
????python?setup.py?sdist?
????twine?upload?dist/dlib-*.tar.gz
To?exclude?certain?options?in?the?cmake?config?use?--no:
????for?example:
????--no?USE_AVX_INSTRUCTIONS:?will?set?-DUSE_AVX_INSTRUCTIONS=no
Additional?options:
????--compiler-flags:?pass?flags?onto?the?compiler?e.g.?--compiler-flags?“-Os?-Wall“?passes?-Os?-Wall?onto?GCC.
????-G:?Set?the?CMake?generator.??E.g.?-G?“Visual?Studio?14?2015“
????--clean:?delete?any?previous?build?folders?and?rebuild.??You?should?do?this?if?you?change?any?build?options
?????????????by?setting?--compiler-flags?or?--no?since?the?last?time?you?ran?a?build.??This?will
?????????????ensure?the?changes?take?effect.
????--set:?set?arbitrary?cmake?options?e.g.?--set?CUDA_HOST_COMPILER=/usr/bin/gcc-6.4.0
???????????passes?-DCUDA_HOST_COMPILER=/usr/bin/gcc-6.4.0?to?CMake.
“““
import?os
import?re
import?sys
import?shutil
import?platform
import?subprocess
import?multiprocessing
from?distutils?import?log
from?math?import?ceilfloor

from?setuptools?import?setup?Extension
from?setuptools.command.build_ext?import?build_ext
from?distutils.version?import?LooseVersion


def?get_extra_cmake_options():
????“““read?--clean?--no?--set?--compiler-flags?and?-G?options?from?the?command?line?and?add?them?as?cmake?switches.
????“““
????_cmake_extra_options?=?[]
????_clean_build_folder?=?False

????opt_key?=?None

????argv?=?[arg?for?arg?in?sys.argv]??#?take?a?copy
????#?parse?command?line?options?and?consume?those?we?care?about
????for?arg?in?argv:
????????if?opt_key?==?‘compiler-flags‘:
????????????_cmake_extra_options.append(‘-DCMAKE_CXX_FLAGS={arg}‘.format(arg=arg.strip()))
????????elif?opt_key?==?‘G‘:
????????????_cmake_extra_options?+=?[‘-G‘?arg.strip()]
????????elif?opt_key?==?‘no‘:
????????????_cmake_extra_options.append(‘-D{arg}=no‘.format(arg=arg.strip()))
????????elif?opt_key?==?‘set‘:
????????????_cmake_extra_options.append(‘-D{arg}‘.format(arg=arg.strip()))

????????if?opt_key:
????????????sys.argv.remove(arg)
????????????opt_key?=?None
????????????continue

????????if?arg?==?‘--clean‘:
????????????_clean_build_folder?=?True
????????????sys.argv.remove(arg)
????????????continue

????????if?arg?==?‘--yes‘:
????????????print(“The?--yes?options?to?dlib‘s?setup.py?don‘t?do?anything?since?all?these?options?“)
????????????print(“are?on?

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2019-03-10?15:09??dlib-19.17\
?????文件????????2509??2019-03-10?15:09??dlib-19.17\ISSUE_TEMPLATE.md
?????文件?????????256??2019-03-10?15:09??dlib-19.17\MANIFEST.in
?????目錄???????????0??2019-03-10?15:09??dlib-19.17\dlib\
?????目錄???????????0??2019-03-10?15:09??dlib-19.17\dlib\config_reader\
?????文件???????12778??2019-03-10?15:09??dlib-19.17\dlib\config_reader\config_reader_thread_safe_1.h
?????文件????????1414??2019-03-10?15:09??dlib-19.17\dlib\config_reader\config_reader_thread_safe_abstract.h
?????文件???????22447??2019-03-10?15:09??dlib-19.17\dlib\config_reader\config_reader_kernel_1.h
?????文件???????14778??2019-03-10?15:09??dlib-19.17\dlib\config_reader\config_reader_kernel_abstract.h
?????文件?????????976??2019-03-10?15:09??dlib-19.17\dlib\smart_pointers_thread_safe.h
?????文件?????????703??2019-03-10?15:09??dlib-19.17\dlib\reference_counter.h
?????文件?????????327??2019-03-10?15:09??dlib-19.17\dlib\bridge.h
?????目錄???????????0??2019-03-10?15:09??dlib-19.17\dlib\image_keypoint\
?????文件????????6460??2019-03-10?15:09??dlib-19.17\dlib\image_keypoint\build_separable_poly_filters.h
?????文件?????????891??2019-03-10?15:09??dlib-19.17\dlib\image_keypoint\draw_surf_points_abstract.h
?????文件???????12131??2019-03-10?15:09??dlib-19.17\dlib\image_keypoint\fine_hog_image.h
?????文件???????11084??2019-03-10?15:09??dlib-19.17\dlib\image_keypoint\nearest_neighbor_feature_image.h
?????文件????????6440??2019-03-10?15:09??dlib-19.17\dlib\image_keypoint\surf_abstract.h
?????文件????????8987??2019-03-10?15:09??dlib-19.17\dlib\image_keypoint\hessian_pyramid_abstract.h
?????文件???????10608??2019-03-10?15:09??dlib-19.17\dlib\image_keypoint\surf.h
?????文件???????11023??2019-03-10?15:09??dlib-19.17\dlib\image_keypoint\binned_vector_feature_image_abstract.h
?????文件???????13386??2019-03-10?15:09??dlib-19.17\dlib\image_keypoint\hog_abstract.h
?????文件???????22968??2019-03-10?15:09??dlib-19.17\dlib\image_keypoint\poly_image.h
?????文件???????12174??2019-03-10?15:09??dlib-19.17\dlib\image_keypoint\poly_image_abstract.h
?????文件???????10135??2019-03-10?15:09??dlib-19.17\dlib\image_keypoint\fine_hog_image_abstract.h
?????文件???????19410??2019-03-10?15:09??dlib-19.17\dlib\image_keypoint\hessian_pyramid.h
?????文件????????9191??2019-03-10?15:09??dlib-19.17\dlib\image_keypoint\nearest_neighbor_feature_image_abstract.h
?????文件????????1413??2019-03-10?15:09??dlib-19.17\dlib\image_keypoint\draw_surf_points.h
?????文件???????21101??2019-03-10?15:09??dlib-19.17\dlib\image_keypoint\hog.h
?????文件???????12308??2019-03-10?15:09??dlib-19.17\dlib\image_keypoint\binned_vector_feature_image.h
?????文件???????14593??2019-03-10?15:09??dlib-19.17\dlib\image_keypoint\hashed_feature_image.h
............此處省略3962個文件信息

評論

共有 條評論