LMMMEng / TransXNet

TransXNet: Learning Both Global and Local Dynamics with a Dual Dynamic Token Mixer for Visual Recognition

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Questions about using TransXNet

GiaoBruce opened this issue · comments

Hi Lou,

   Thanks for your marvelous work TransXNet!
   Recently I am trying to use TransXNet as the encoder to do some dense prediction tasks, I simply do

   **model = TransXNet() or model = transxnet_t()** 

   Then it goes like this

   **TypeError: GELU: __init__() got an unexpected keyword argument 'inplace'**
   
   I am wondering whether this error is related to the version of mmcv.
   Could you tell me how to correctly use TransXNet or kindly provide the requirements.txt ?
   Thanks for your generous reply. :)

Hi, sorry for the late response, I have already change the mmcv version from the 1.4.3 to 1.7.1, the problem has been solved.
Thanks! :)