"User warning" displays per iteration.
I consider that this is a PyTorch problem.
/opt/conda/conda-bld/pytorch_1580803991946/work/aten/src/ATen/native/cudnn/RNN.cpp:1232: UserWarning: RNN module weights are not part of single contiguous chunk of memory. This means they need to be compacted at every call, possibly greatly increasing memory usage. To compact weights again call flatten_parameters().
Although it's not a problem for the performance, it's hard to trace the training progress.
A simple solution is that we add warnings.simplefilter('ignore').
However, the program also ignores another warning.
Environment Python==3.7.4 torch==1.5.0.dev20200204
"User warning" displays per iteration. I consider that this is a PyTorch problem.
Although it's not a problem for the performance, it's hard to trace the training progress.
A simple solution is that we add
warnings.simplefilter('ignore')
. However, the program also ignores another warning.