voxel51 / fiftyone

Refine high-quality datasets and visual AI models
https://fiftyone.ai
Apache License 2.0
8.85k stars 558 forks source link

[INSTALL] 0 Samples with ActivityNet #3822

Open FawazAlkho opened 11 months ago

FawazAlkho commented 11 months ago

System information

Code

import fiftyone as fo
import fiftyone.zoo as foz

src = r"C:\Users\Fawaz\Desktop\Dataset\ActivityNet100"
dataset = foz.load_zoo_dataset("activitynet-100", source_dir=src)
print(dataset.count())

session = fo.launch_app(dataset)

Describe the problem

I finally got the window of the app to work but it seems that it shows no samples so I assume there is an issue with my setup but I could not figure it out. Executing the print(dataset.count) prints 0 samples which indicates that the data was not loaded correctly; however, I am sure I followed the tutorial step by step (with the decompressed folders of ActivityNet in a folder called v1-2). And once I ran the above it did show progress bars that were completed indicating that each of the train,val,test samples were loaded so like 2438/2438 for example. I cannot find out why it doesn't load samples or show them.

Other info/logs

Now once I run the above I get:

Downloading split 'train' to 'C:\Users\Fawaz\fiftyone\activitynet-100\train' if necessary
Downloading split 'test' to 'C:\Users\Fawaz\fiftyone\activitynet-100\test' if necessary
Downloading split 'validation' to 'C:\Users\Fawaz\fiftyone\activitynet-100\validation' if necessary
Dataset info written to 'C:\Users\Fawaz\fiftyone\activitynet-100\info.json'
Loading existing dataset 'activitynet-100'. To reload from disk, either delete the existing dataset or provide a custom `dataset_name` to use
0
danielgural commented 10 months ago

Can you add some more information for me?

I was able to load in the test split without errors

vtsouval commented 1 week ago

Hello,

I tried to download the dataset, but I receive an error:

"requests.exceptions.ConnectionError: HTTPConnectionPool(host='ec2-52-25-205-214.us-west-2.compute.amazonaws.com', port=80): Max retries exceeded with url: /files/activity_net.v1-2.min.json (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x78caaa50c220>: Failed to establish a new connection: [Errno 111] Connection refused'))"

Is there a way I can get the dataset?