2023-05-14 00:41:17.476475: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cudart64_101.dll D:\ruanjian\Anaconda\envs\tf2\lib\site-packages\h5py\__init__.py:40: UserWarning: h5py is running against HDF5 1.10.5 when it was built against 1.10.4, this may cause problems '{0}.{1}.{2}'.format(*version.hdf5_built_version_tuple) 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.10.4, library is 1.10.5 SUMMARY OF THE HDF5 CONFIGURATION ================================= General Information:什么解决
时间: 2023-06-18 13:05:15 浏览: 77
这个警告是因为你使用的h5py库的头文件版本和链接的HDF5库的版本不匹配。这可能会导致数据损坏或分段错误。你可以尝试重新编译应用程序或检查共享库相关设置,例如LD_LIBRARY_PATH。你也可以通过将环境变量HDF5_DISABLE_VERSION_CHECK设置为1来禁用此警告,但这是有风险的。如果你将其设置为2或更高,将完全禁止警告消息。如果你想解决这个问题,可以尝试重新安装HDF5库,或者使用与你安装的h5py库版本对应的HDF5库版本。
相关问题
2023-06-10 16:51:11.329824: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cudnn64_7.dll 2023-06-10 16:56:47.339190: W tensorflow/stream_executor/cuda/redzone_allocator.cc:312] Internal: Invoking ptxas not supported on Windows Relying on driver to perform ptx compilation. This message will be only logged once. 2023-06-10 16:56:47.537030: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cublas64_100.dll Traceback (most recent call last):
看起来这是一个 TensorFlow 在 Windows 操作系统上运行时遇到的警告和错误消息。警告消息 "Internal: Invoking ptxas not supported on Windows" 表示在 Windows 操作系统上使用 ptxas 编译器的操作不受支持,因此必须依赖驱动程序来执行 ptx 编译。错误消息的具体内容需要查看 Traceback 中的栈跟踪信息才能确定。请提供更多上下文信息以获得更准确的答案。
2023-06-07 17:00:47.251661: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cudart64_110.dll'; dlerror: cudart64_110.dll not found 2023-06-07 17:00:47.252090: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
这是一个 TensorFlow 的警告信息,它表示 TensorFlow 在加载 CUDA 运行库时发生了错误。具体而言,它尝试加载名为 'cudart64_110.dll' 的库文件,但是没有找到该文件。如果您没有安装 GPU 或者 CUDA 驱动程序,则可以忽略此警告。如果您需要使用 GPU 运行 TensorFlow,您需要安装 CUDA 和 cuDNN,并将其配置为 TensorFlow 支持的版本。您可以查看 TensorFlow 的官方文档以获取更多信息。