Hi, thank you very much for the sharing code. But there seems to be something wrong about a circular import.
In model.py,you use from hinet import Hinet,but in hinet.py,you use from model import *,which will cause a circular import bug.Actually,there is no need to use from model import * in hinet.py,import torch.nn as nn is enough.
Hi, thank you very much for the sharing code. But there seems to be something wrong about a circular import. In
model.py
,you usefrom hinet import Hinet
,but inhinet.py
,you usefrom model import *
,which will cause a circular import bug.Actually,there is no need to usefrom model import *
inhinet.py
,import torch.nn as nn
is enough.