HRESULT failed

Author: LarsKarlssonsCreated Sep 14, 2022Updated Oct 22, 2023

Expected behavior

I just installed and started using DeepFaceLab_DirectX12_build_05_04_2022 yesterday and things went smoothly until about 8 hours into the training. I was expecting the behavior to continue to run smoothly and train over the night.

Actual behavior

I got this message and I have no idea what it means or how to solve it:

2022-09-14 00:41:00.440554: F tensorflow/core/common_runtime/dml/dml_upload_heap.cc:56] HRESULT failed with 0x887a0005: chunk->resource->Map(0, nullptr, &upload_heap_data)

Press any key to continue . . .

Steps to reproduce

Nothing happens when I press a key to continue. I found a thread here where a guy wrote that it can be fixed by doing a tensorflow update (in the project). He wrote: Simply go to the folder “DeepFake\ _internal\python-3.6.8”, open the terminal, and enter “python -m pip install tensorflow”. I assume that the “terminal” means to open the python application and type in “python -m pip install tensorflow” and press enter. I tried doing this but nothing happens or I am doing something wrong.

Other relevant information

  • DeepFaceLab_DirectX12_build_05_04_2022
  • Python 3.6.8 (I did not install Python, it was either already installed on the computer or came with DFL)
  • CPU Intel(R) Iris(R) Xe Graphics
  • Windows 10 Home
  • 64-bit operating system, x64-based processor
  • Processor 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz 2.80 GHz
  • Installed RAM 16,0 GB (15,7 GB usable)