Hi, I am also getting a similar error after the announcement that nn.Upsample is DEPRECATED in favor of interpolate:
My ERROR:
AttributeError: module 'torch.nn.functional' has no attribute 'interpolate'

I have added this interpolate layer inside a nn.Sequential.
Any insight into this.