WuJie1010 / Facial-Expression-Recognition.Pytorch

A CNN based pytorch implementation on facial expression recognition (FER2013 and CK+), achieving 73.112% (state-of-the-art) in FER2013 and 94.64% in CK+ dataset
MIT License
1.78k stars 548 forks source link

'str' object is not callable #134

Closed sykweon closed 2 years ago

sykweon commented 2 years ago

Hello, I'm trying to run your "visualize.py" code on google colab. I'm keep having TypeError: 'str' object is not callable on line "outputs = net(inputs)"

type(inputs) is class 'torch.Tensor' and type(net) is class 'torchvision.models.vgg.VGG' which looks fine to me. Any advice please?