I am trying to use the CoAtNet class in the following link CoAtNet Class from Github but I always have error while I am running the following lines:
from torch import nn, sqrt import torch import sys from math import sqrt #sys.path.append('.') from model.conv.MBConv import MBConvBlock from model.attention.SelfAttention import ScaledDotProductAttention
and I get this error:
ModuleNotFoundError: No module named 'model'
from this line:
from model.conv.MBConv import MBConvBlock
can any one helps me Regards in advance !