atosystem / SpeechCLIP

SpeechCLIP: Integrating Speech with Pre-Trained Vision and Language Model, Accepted to IEEE SLT 2022
https://atosystem.github.io/blogs/speechclip
BSD 3-Clause "New" or "Revised" License
108 stars 6 forks source link

ImportError: cannot import name 'LightningLoggerBase' from 'pytorch_lightning.loggers' #3

Closed seongq closed 1 year ago

seongq commented 1 year ago

I cloned your codes and installed pytorch_lightning. When I run your code "example.py", I meet a error message "ImportError: cannot import name 'LightningLoggerBase' from 'pytorch_lightning.loggers'"

Can you let me know how can I fix it?

atosystem commented 1 year ago

Hi @seongq Is your pytorch_lightning using the same version as mentioned in the requirement.txt?

seongq commented 1 year ago

Oh, I again cloned. I installed each package required step by step, following requirement.txt Finally, I can extract embeddings from audio files. Thank you!

atosystem commented 1 year ago

Nice! I will close this issue.