You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Log is:
Downloading split 'validation' to '/home/tommytao/fiftyone/coco-2017/validation' if necessary
Found annotations at '/home/tommytao/fiftyone/coco-2017/raw/instances_val2017.json'
Images already downloaded
Uncaught exception
Traceback (most recent call last):
File "51app.py", line 4, in
dataset = foz.load_zoo_dataset(
File "/home/tommytao/miniconda3/envs/ai/lib/python3.8/site-packages/fiftyone/zoo/datasets/init.py", line 195, in load_zoo_dataset
info, dataset_dir = download_zoo_dataset(
File "/home/tommytao/miniconda3/envs/ai/lib/python3.8/site-packages/fiftyone/zoo/datasets/init.py", line 116, in download_zoo_dataset
return zoo_dataset.download_and_prepare(
File "/home/tommytao/miniconda3/envs/ai/lib/python3.8/site-packages/fiftyone/zoo/datasets/init.py", line 1022, in download_and_prepare
) = self._download_and_prepare(split_dir, scratch_dir, split)
File "/home/tommytao/miniconda3/envs/ai/lib/python3.8/site-packages/fiftyone/zoo/datasets/base.py", line 770, in _download_and_prepare
num_samples, classes, downloaded = fouc.download_coco_dataset_split(
File "/home/tommytao/miniconda3/envs/ai/lib/python3.8/site-packages/fiftyone/utils/coco.py", line 1617, in download_coco_dataset_split
if d is None:
UnboundLocalError: local variable 'd' referenced before assignment
What areas of FiftyOne does this bug affect?
App: FiftyOne application issue
Core: Core fiftyone Python library issue
Server: Fiftyone server issue
Willingness to contribute
The FiftyOne Community encourages bug fix contributions. Would you or another
member of your organization be willing to contribute a fix for this bug to the
FiftyOne codebase?
Yes. I can contribute a fix for this bug independently.
Yes. I would be willing to contribute a fix for this bug with guidance
from the FiftyOne community.
No. I cannot contribute a bug fix at this time.
The text was updated successfully, but these errors were encountered:
Instructions
System information
Commands to reproduce
Describe the problem
I wrote app.py to load coco-2017 dataset and launch web app of fiftyone, but crash with Exception
Code to reproduce issue
Other info / logs
Log is:
Downloading split 'validation' to '/home/tommytao/fiftyone/coco-2017/validation' if necessary
Found annotations at '/home/tommytao/fiftyone/coco-2017/raw/instances_val2017.json'
Images already downloaded
Uncaught exception
Traceback (most recent call last):
File "51app.py", line 4, in
dataset = foz.load_zoo_dataset(
File "/home/tommytao/miniconda3/envs/ai/lib/python3.8/site-packages/fiftyone/zoo/datasets/init.py", line 195, in load_zoo_dataset
info, dataset_dir = download_zoo_dataset(
File "/home/tommytao/miniconda3/envs/ai/lib/python3.8/site-packages/fiftyone/zoo/datasets/init.py", line 116, in download_zoo_dataset
return zoo_dataset.download_and_prepare(
File "/home/tommytao/miniconda3/envs/ai/lib/python3.8/site-packages/fiftyone/zoo/datasets/init.py", line 1022, in download_and_prepare
) = self._download_and_prepare(split_dir, scratch_dir, split)
File "/home/tommytao/miniconda3/envs/ai/lib/python3.8/site-packages/fiftyone/zoo/datasets/base.py", line 770, in _download_and_prepare
num_samples, classes, downloaded = fouc.download_coco_dataset_split(
File "/home/tommytao/miniconda3/envs/ai/lib/python3.8/site-packages/fiftyone/utils/coco.py", line 1617, in download_coco_dataset_split
if d is None:
UnboundLocalError: local variable 'd' referenced before assignment
What areas of FiftyOne does this bug affect?
App
: FiftyOne application issueCore
: Corefiftyone
Python library issueServer
: Fiftyone server issueWillingness to contribute
The FiftyOne Community encourages bug fix contributions. Would you or another
member of your organization be willing to contribute a fix for this bug to the
FiftyOne codebase?
from the FiftyOne community.
The text was updated successfully, but these errors were encountered: