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

Doc mismatch leads to ImportError: cannot import name 'report' ? #80

Closed
la-cruche opened this issue Jan 3, 2022 · 1 comment
Closed

Comments

@la-cruche
Copy link

Hi,

I'm using Syne Tune from a SageMaker-managed EC2 instance (notebook instance)

As indicated here, I'm using this code in my backend script:
from syne_tune.report import report
which returns an ImportError: cannot import name 'report'

and when I look in report.py I can see a Reporter but no report

This blog post however proposes a different code:

from syne_tune.report import Reporter
report = Reporter()

Could the README be clarified?

(Note that I cannot check the version: import syne_tune syne_tune.__version__ returns an AttributeError: module 'syne_tune' has no attribute '__version__'

thanks!

@geoalgo
Copy link
Collaborator

geoalgo commented Jan 3, 2022

Thanks for reporting this mismatch, I will take a look now.

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