TomTomTommi/HiNet

A circular import bug

Opened this issue · 0 comments

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.