this topic is just a question about something I want to understand, because I don’t know the reason for it.
So, I installed openimages with pip. When I try to use openimages like that:
import openimages openimages.download.download_dataset("example",['castle'])
I’m getting these error message:
AttributeError: module 'openimages' has no attribute 'download'
But when I change the lines to:
from openimages.download import download_dataset download_dataset(dest_dir="example", ['castle'])
then it works.
So can just someone explain, why?