openspeech-team / openspeech

Open-Source Toolkit for End-to-End Speech Recognition leveraging PyTorch-Lightning and Hydra.
https://openspeech-team.github.io/openspeech/
MIT License
670 stars 112 forks source link

a circular import #194

Closed ylwang0425 closed 1 year ago

ylwang0425 commented 1 year ago

Environment info

run in colab and my computer windows and linux

Information

Model I am using (test_conformer in tests): ImportError: cannot import name 'OpenspeechDecoder' from partially initialized module 'openspeech.decoders' (most likely due to a circular import) (/content/openspeech/openspeech/decoders/init.py)

The problem arises when using:

To reproduce

Steps to reproduce the behavior:

1. 2. 3.

Expected behavior

grazder commented 1 year ago

i've got the same problem

Joll123 commented 1 year ago

@grazder have you solved it?

upskyy commented 1 year ago

Solved with #195