comet-ml / kangas

🦘 Explore multimedia datasets at scale
https://github.com/comet-ml/kangas/wiki
Apache License 2.0
1.04k stars 46 forks source link

object of type Progressbar has no len() #84

Closed fnauman closed 1 year ago

fnauman commented 1 year ago

Thanks for the great library.

I installed kangas using:

pip install kangas

I then tried running the tutorial: Integrations.ipynb

When I run:

dg = kg.read_dataframe(df)

I get the following error:

image

I am using version: 2.2.4.

Any ideas on how to solve this?

dsblank commented 1 year ago

Hmmm... can you try:

pip install tqdm

To see if that helps?

dsblank commented 1 year ago

I have confirmed that this is an issue in Kangas, and will be fixed on the next release. Installing tqdm is a workaround for the moment.

Thanks @fnauman for reporting! Let us know if you are doing interesting things with Kangas. We'd love to hear about it!

dsblank commented 1 year ago

Pushed out a new version of Kangas, version 2.2.5, with changes that should address the issue.

fnauman commented 1 year ago

Thanks, that solved it!