Hello, recently I learn the code from https://github.com/pytorch/examples/tree/master/cpp/dcgan. But when I want to run
python display_samples.py -i dcgan-sample-10.png
I didn't find the dcgan-sample-10.png.
can you tell me how to find the image correctly?
And when I run ./dcgan to train, I got some warning:
[W Resize.cpp:19] Warning: An output with one or more elements was resized since it had shape [64, 1, 1, 1], which does not match the required output shape [64, 1, 1, 64].This behavior is deprecated, and in a future PyTorch release outputs will not be resized unless they have zero elements. You can explicitly reuse an out tensor t by resizing it, inplace, to zero elements with t.resize_(0). (function resize_output)
I didn't know how to fix it? could you help me?
Hello, recently I learn the code from https://github.com/pytorch/examples/tree/master/cpp/dcgan. But when I want to run
python display_samples.py -i dcgan-sample-10.png
I didn't find the dcgan-sample-10.png.
can you tell me how to find the image correctly?
And when I run ./dcgan to train, I got some warning:
[W Resize.cpp:19] Warning: An output with one or more elements was resized since it had shape [64, 1, 1, 1], which does not match the required output shape [64, 1, 1, 64].This behavior is deprecated, and in a future PyTorch release outputs will not be resized unless they have zero elements. You can explicitly reuse an out tensor t by resizing it, inplace, to zero elements with t.resize_(0). (function resize_output)
I didn't know how to fix it? could you help me?