Closed radao closed 1 year ago
Hmm, strange I'm not able to reproduce on Python 3.9 or 3.10.
This is the change that was made: https://github.com/voxel51/eta/pull/574/files
The idea is to update the stream
property of all logging.StreamHandler
instances in your current logging setup so that the progress bar can be intertwined cleanly with any logging you might be doing within your loop.
Are you able to track down the type
of whatever logger.handlers[idx]
is? The code in _get_stdout_loggers()
should only be grabbing StreamHandler
objects...
I thought perhaps setting logging.StreamHandler.stream
was disallowed in Python 3.10 or something, but that doesn't seem to be the case 🤔
In the meantime, you can bypass this error via:
import fiftyone as fo
import fiftyone.zoo as foz
fo.config.show_progress_bars = False
# Show should now work as the progress bar code won't run
dataset = foz.load_zoo_dataset("quickstart")
The new release seems to have broke the
fo_dataset.add_samples
method. This is withfiftyone==0.18.0
: