Skip to content
This repository has been archived by the owner on Apr 4, 2024. It is now read-only.

A circular import bug #17

Open
loofahsponge opened this issue Jan 24, 2024 · 0 comments
Open

A circular import bug #17

loofahsponge opened this issue Jan 24, 2024 · 0 comments

Comments

@loofahsponge
Copy link

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.

@loofahsponge loofahsponge changed the title Something wrong about a circular import A circular import bug Jan 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant