|
发表于 2021-8-28 16:51:22
|
显示全部楼层
请问楼主,我全部按https://dfldata.xyz/forum.php?mo ... p;extra=&page=1 这里步骤安装成功了,但是重建的头像都是全黑的方块,不知道你遇到过吗?需要注意什么?我是win10,cpu和gpu都试过,也下过github的版本试了,也都是黑的,而且没有别的包错了,谢谢
其中第二步的第一个图报这个:
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
请知道原因的大神说明下,多谢了 |
|