Error when loading model using torch.hub
julkaztwittera opened this issue · 3 comments
julkaztwittera commented
Every time I try to load the model using the instruction from Readme.md
using torch.hub, I get such an error:
torch/hub/facebookresearch_co-tracker_master/cotracker/models/core/cotracker/blocks.py", line 237, in <lambda>
approx_gelu = lambda: nn.GELU(approximate="tanh")
TypeError: __init__() got an unexpected keyword argument 'approximate'
wshjtuk commented
how did you solve this problem
justy93 commented
Hello, I have the same error trying to initialize the model. Has anyone came across this and was able to solve it? Thank you