|
发表于 2021-8-28 16:06:00
|
显示全部楼层
全部按步骤安装成功了,但是重建的头像都是全黑的
第二部的第一个图报这个:
Detecting test1.jpg
K:\anaconda3\envs\DFDNet\lib\site-packages\torch\nn\functional.py:718: UserWarning: Named tensors and all their associated APIs are an experimental feature and subject to change. Please do not use them for anything important until they are released as stable. (Triggered internally at ..\c10/core/TensorImpl.h:1156.)
return torch.max_pool2d(input, kernel_size, stride, padding, dilation, ceil_mode)
Detecting test2.jpg
Detecting test3.jpg
Detecting test4.jpg
Detecting test5.jpg
Detecting test6.png
第三步的第一个图报这个:
Restoring test1.jpg
K:\anaconda3\envs\DFDNet\lib\site-packages\torch\_tensor.py:575: UserWarning: floor_divide is deprecated, and will be removed in a future version of pytorch. It currently rounds toward 0 (like the 'trunc' function NOT 'floor'). This results in incorrect rounding for negative values.
To keep the current behavior, use torch.div(a, b, rounding_mode='trunc'), or for actual floor division, use torch.div(a, b, rounding_mode='floor'). (Triggered internally at ..\aten\src\ATen\native\BinaryOps.cpp:467.)
return torch.floor_divide(self, other)
Restoring test2.jpg
Restoring test3.jpg
Restoring test4.jpg
Restoring test5.jpg
Restoring test6.png
请知道原因的大神说明下,多谢了 |
|