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

SequenceBudget is not available #4

Open
casszhao opened this issue May 7, 2022 · 1 comment
Open

SequenceBudget is not available #4

casszhao opened this issue May 7, 2022 · 1 comment

Comments

@casszhao
Copy link

casszhao commented May 7, 2022

Hi, I am using spectra 0.0.1 the code uses SequenceBudget from lpsmap, however, I have a look at the lpsmap github, there is no SequenceBudget class or module from lpsmap. I have tried installed lpsmap via pip and also tried installed via git mannually (lpsmap 1.1.dev0), Do you mind having an update regarding this?

The Traceback is:

Exception has occurred: ImportError
cannot import name 'SequenceBudget' from 'lpsmap' (/home/cass/PycharmProjects/lp-sparsemap/lpsmap/__init__.py)
  File "/home/cass/PycharmProjects/spectra-rationalization/rationalizers/modules/sparsemap.py", line 6, in <module>
    from lpsmap import (
  File "/home/cass/PycharmProjects/spectra-rationalization/rationalizers/modules/generators.py", line 11, in <module>
    from rationalizers.modules.sparsemap import (
  File "/home/cass/PycharmProjects/spectra-rationalization/rationalizers/lightning_models/highlights/bernoulli.py", line 11, in <module>
    from rationalizers.modules.generators import (
  File "/home/cass/PycharmProjects/spectra-rationalization/rationalizers/lightning_models/__init__.py", line 1, in <module>
    from rationalizers.lightning_models.highlights.bernoulli import BernoulliRationalizer
  File "/home/cass/PycharmProjects/spectra-rationalization/rationalizers/predict.py", line 7, in <module>
    from rationalizers.lightning_models import available_models
  File "/home/cass/PycharmProjects/spectra-rationalization/rationalizers/__main__.py", line 4, in <module>
    from rationalizers import predict, train, resume
@nunonmg
Copy link
Collaborator

nunonmg commented Jun 13, 2023

Hi, have you tried cloning the fork of the LP-SparseMAP repo that I have in the instructions?

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

2 participants