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

import experiments.bruteforce_optim as bo #2

Open
rousseau opened this issue Apr 24, 2020 · 2 comments
Open

import experiments.bruteforce_optim as bo #2

rousseau opened this issue Apr 24, 2020 · 2 comments

Comments

@rousseau
Copy link

Hi,

import experiments.bruteforce_optim as bo
ModuleNotFoundError: No module named 'experiments.bruteforce_optim'

it seems that this module is missing.

@lihenryhfl
Copy link

Yes, I have the same issue. Is this file missing?

@trevoravant
Copy link

I believe there are a few errors in this repo that prevent it from running correctly. Regarding this particular issue, bo calls the functions optim_approx(), optim_bf(), and optim_greedy() which are actually found in seqlip.py. So to fix this issue, I believe you have to do import seqlip instead of import experiments.bruteforce_optim as bo and change bo.optim_approx() to seqlip.optim_approx() (and similar for optim_bf() and optim_greedy()).

I am not affiliated with this project, but have tried to fix the errors in this repo and have forked the project at the link below. I seem to have gotten the MNIST example working (still working on the AlexNet example):
https://github.com/trevoravant/lipEstimation

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

3 participants