解决 tf-pose 安装出现的问题

一、出现的问题

 Warning! ***HDF5 library version mismatched error***
    The HDF5 header files used to compile this application do not match
    the version used by the HDF5 library to which this application is linked.
    Data corruption or segmentation faults may occur if the application continues.
    This can happen when an application was compiled by one version of HDF5 but
    linked with a different version of static or shared HDF5 library.
    You should recompile the application or check your shared library related
    settings such as 'LD_LIBRARY_PATH'.
    You can, at your own risk, disable this warning by setting the environment
    variable 'HDF5_DISABLE_VERSION_CHECK' to a value of '1'.
    Setting it to 2 or higher will suppress the warning messages totally.
    Headers are 1.8.15, library is 1.8.18
          SUMMARY OF THE HDF5 CONFIGURATION
          =================================

    General Information:
    -------------------
                       HDF5 Version: 1.8.18
                      Configured on: 2017-05-31
                      Configured by: NMake Makefiles
                     Configure mode: CMAKE 3.8.0
                        Host system: Windows-6.3.9600
                  Uname information: Windows
                           Byte sex: little-endian
                          Libraries:
                 Installation point: C:/bld/hdf5_1496269860661/_b_env/Library

    Compiling Options:
    ------------------
                   Compilation Mode: RELEASE
                         C Compiler: C:/Program Files (x86)/Microsoft Visual Studio
    14.0/VC/bin/amd64/cl.exe
                             CFLAGS: /DWIN32 /D_WINDOWS /W3
                          H5_CFLAGS:
                          AM_CFLAGS:
                           CPPFLAGS:
                        H5_CPPFLAGS:
                        AM_CPPFLAGS:
                   Shared C Library: YES
                   Static C Library: YES
      Statically Linked Executables: OFF
                            LDFLAGS: /machine:x64
                         AM_LDFLAGS:
                    Extra libraries: C:/bld/hdf5_1496269860661/_b_env/Library/lib/z.
    lib
                           Archiver:
                             Ranlib:
                  Debugged Packages:
                        API Tracing: OFF

    Languages:
    ----------
                            Fortran: OFF
                   Fortran Compiler:
              Fortran 2003 Compiler:
                      Fortran Flags:
                   H5 Fortran Flags:
                   AM Fortran Flags:
             Shared Fortran Library: YES
             Static Fortran Library: YES

                                C++: ON
                       C++ Compiler: C:/Program Files (x86)/Microsoft Visual Studio
    14.0/VC/bin/amd64/cl.exe
                          C++ Flags: /DWIN32 /D_WINDOWS /W3 /GR /EHsc
                       H5 C++ Flags:
                       AM C++ Flags:
                 Shared C++ Library: YES
                 Static C++ Library: YES

    Features:
    ---------
                      Parallel HDF5: OFF
                 High Level library: ON
                       Threadsafety: ON
                Default API Mapping: v18
     With Deprecated Public Symbols: ON
             I/O filters (external):  DEFLATE
                                MPE:
                         Direct VFD:
                            dmalloc:
    Clear file buffers before write: ON
               Using memory checker: OFF
             Function Stack Tracing: OFF
          Strict File Format Checks: OFF
       Optimization Instrumentation:

二、分析与解决的办法

出现这个问题主要是由于h5py版本与tensorflow不匹配,后期尝试了下更改版本,成功解决了!

pip install h5py==2.8.0rc1

三、参考博客

参考博客

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

SanXiMeng

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值