"See the documentation of nn.Upsample for details.".format(mode) #166
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When I run the firsttest case, the following error is prompted,What do I need to do?
/home/luh/anaconda3/envs/simswap/lib/python3.6/site-packages/torch/serialization.py:656: SourceChangeWarning: source code of class 'torch.nn.parallel.data_parallel.DataParallel' has changed. Saved a reverse patch to DataParallel.patch. Run
patch -p0 < DataParallel.patchto revert your changes.warnings.warn(msg, SourceChangeWarning)
/home/luh/anaconda3/envs/simswap/lib/python3.6/site-packages/torch/serialization.py:656: SourceChangeWarning: source code of class 'torch.nn.modules.conv.Conv2d' has changed. Tried to save a patch, but couldn't create a writable file Conv2d.patch. Make sure it doesn't exist and your working directory is writable.
warnings.warn(msg, SourceChangeWarning)
/home/luh/anaconda3/envs/simswap/lib/python3.6/site-packages/torch/serialization.py:656: SourceChangeWarning: source code of class 'torch.nn.modules.batchnorm.BatchNorm2d' has changed. Saved a reverse patch to BatchNorm2d.patch. Run
patch -p0 < BatchNorm2d.patchto revert your changes.warnings.warn(msg, SourceChangeWarning)
/home/luh/anaconda3/envs/simswap/lib/python3.6/site-packages/torch/serialization.py:656: SourceChangeWarning: source code of class 'torch.nn.modules.activation.PReLU' has changed. Saved a reverse patch to PReLU.patch. Run
patch -p0 < PReLU.patchto revert your changes.warnings.warn(msg, SourceChangeWarning)
/home/luh/anaconda3/envs/simswap/lib/python3.6/site-packages/torch/serialization.py:656: SourceChangeWarning: source code of class 'torch.nn.modules.pooling.MaxPool2d' has changed. Saved a reverse patch to MaxPool2d.patch. Run
patch -p0 < MaxPool2d.patchto revert your changes.warnings.warn(msg, SourceChangeWarning)
/home/luh/anaconda3/envs/simswap/lib/python3.6/site-packages/torch/serialization.py:656: SourceChangeWarning: source code of class 'torch.nn.modules.container.Sequential' has changed. Saved a reverse patch to Sequential.patch. Run
patch -p0 < Sequential.patchto revert your changes.warnings.warn(msg, SourceChangeWarning)
/home/luh/anaconda3/envs/simswap/lib/python3.6/site-packages/torch/serialization.py:656: SourceChangeWarning: source code of class 'torch.nn.modules.pooling.AdaptiveAvgPool2d' has changed. Saved a reverse patch to AdaptiveAvgPool2d.patch. Run
patch -p0 < AdaptiveAvgPool2d.patchto revert your changes.warnings.warn(msg, SourceChangeWarning)
/home/luh/anaconda3/envs/simswap/lib/python3.6/site-packages/torch/serialization.py:656: SourceChangeWarning: source code of class 'torch.nn.modules.linear.Linear' has changed. Saved a reverse patch to Linear.patch. Run
patch -p0 < Linear.patchto revert your changes.warnings.warn(msg, SourceChangeWarning)
/home/luh/anaconda3/envs/simswap/lib/python3.6/site-packages/torch/serialization.py:656: SourceChangeWarning: source code of class 'torch.nn.modules.activation.Sigmoid' has changed. Saved a reverse patch to Sigmoid.patch. Run
patch -p0 < Sigmoid.patchto revert your changes.warnings.warn(msg, SourceChangeWarning)
/home/luh/anaconda3/envs/simswap/lib/python3.6/site-packages/torch/serialization.py:656: SourceChangeWarning: source code of class 'torch.nn.modules.dropout.Dropout' has changed. Saved a reverse patch to Dropout.patch. Run
patch -p0 < Dropout.patchto revert your changes.warnings.warn(msg, SourceChangeWarning)
/home/luh/anaconda3/envs/simswap/lib/python3.6/site-packages/torch/serialization.py:656: SourceChangeWarning: source code of class 'torch.nn.modules.batchnorm.BatchNorm1d' has changed. Saved a reverse patch to BatchNorm1d.patch. Run
patch -p0 < BatchNorm1d.patchto revert your changes.warnings.warn(msg, SourceChangeWarning)
/home/luh/anaconda3/envs/simswap/lib/python3.6/site-packages/torch/nn/functional.py:3455: UserWarning: Default upsampling behavior when mode=bilinear is changed to align_corners=False since 0.4.0. Please specify align_corners=True if the old behavior is desired. See the documentation of nn.Upsample for details.
"See the documentation of nn.Upsample for details.".format(mode)