Closed Skorkmaz88 closed 5 years ago
My simple solution was : https://github.com/Skorkmaz88/face-alignment/commit/7ca0f9eaa8020110d529b81a6853a6c01e672472 in my fork
Hi @Skorkmaz88,
You can either do that (reverting to previous name of the function), or update to the latest pytorch version.
It has to be newer than 0.4 then, as repo's Readme still has the statement:
pytorch (>=0.4)
As Pytorch 0.4.0 , if I am not mistaken , https://pytorch.org/docs/0.4.0/nn.html#torch-nn-functional, doesn't have this function.
@Skorkmaz88 Sorry for this, I will update the readme accordingly.
The function was introduced in 0.4.1
When trying to use prediction:
Pytorch Version: 0.4.0
OS: Windows 10
Python Version: 3.6.4 |Anaconda, Inc.| (default, Jan 16 2018, 10:22:32) [MSC v.1900 64 bit (AMD64)] Possible reason could something like this ?
https://pytorch.org/docs/stable/nn.html?highlight=interpolate 70
-- https://discuss.pytorch.org/t/attributeerror-module-torch-nn-functional-has-no-attribute-instance-norm/15997/4
Trace is below : `--------------------------------------------------------------------------- AttributeError Traceback (most recent call last)