Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: cannot import name 'LERFModelConfig' from 'lerf.lerf' #67

Open
GCChen97 opened this issue Dec 22, 2023 · 1 comment
Open

Comments

@GCChen97
Copy link

Hi, I tried to install lerf and got ImportError: cannot import name 'LERFModelConfig' from 'lerf.lerf' after running ns-install-cli.

After that, running ns-train -h also got the same ImportError. How to solve this problem?

@GCChen97
Copy link
Author

Add from .lerf import LERFModelConfig;from .lerf import LERFModel in __init__.py seems work for the ImportError

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant