from lasagne.layers.special import TransformerLayer

Skip to first unread message

May 12, 2020, 11:56:52 AM5/12/20
to lasagne-users
when I run"from lasagne.layers.special import TransformerLayer",I encountered the following error,is there any solution?Thanks  a lot to reply.
ImportError                               Traceback (most recent call last)
<ipython-input-60-eb8a837d2b93> in <module>
----> 7 from lasagne.layers.special import TransformerLayer
      8 from lasagne.layers.special import standardize

D:\anaconda\lib\site-packages\lasagne\layers\ in <module>
      5 from .. import init
      6 from .. import nonlinearities
----> 7 from ..utils import as_tuple, floatX, int_types
      8 from ..random import get_rng
      9 from .base import Layer, MergeLayer

ImportError: cannot import name 'int_types' from 'lasagne.utils' (D:\anaconda\lib\site-packages\lasagne\

Reply all
Reply to author
0 new messages