question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

"'SupervisionSet' object has no attribute 'lazy'"

See original GitHub issue

When running lhotse cut simple I get the above error, which comes from this line:

if all(m is None or m.lazy for m in (supervision_set, feature_set, recording_set)):

Looking at SupervisionSet I don’t see an attribute lazy, so I guess there was a code change that removed it without also modifying the above code?

edit: I fixed it by putting if False so it goes into the non lazy branch and making load_manifest_lazy_or_eager always load non-lazily

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
armusccommented, Jul 1, 2022

it works, thanks

1reaction
pzelaskocommented, Jun 27, 2022

I haven’t tested it with a feature manifest input, I’ll follow up on this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

AttributeError: module 'tensorboard' has no attribute 'lazy' #1862
v2.train' has no attribute 'SessionRunHook' instead. Is it possible you had tb-nightly installed as well as 1.12.2? They ...
Read more >
AttributeError: module 'tensorboard' has no attribute 'lazy'
Show activity on this post. First pip uninstall tensorflow-tensorboard and then pip install tensorboard .
Read more >
AttributeError: module 'tensorboard' has no attribute 'lazy'
I'm using tensorboard, but getting this error. import tensorboard.lazy as _lazy AttributeError: module 'tensorboard' has no attribute 'lazy'.
Read more >
API Reference — lhotse 1.12.0.dev documentation
Indicates whether this manifest was opened in lazy (read-on-the-fly) mode or not. Apply transform_fn to each item in this manifest and return a...
Read more >
xgboost.pdf - Read the Docs
tools is usually available with your Python distribution, if not ... commands will reuse that shared object instead of compiling it again.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found