Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
Hi, I Am Getting

Hi,
I am getting

 line 57, in get_local_copy
    if helper.base_url == "file://":
AttributeError: 'NoneType' object has no attribute 'base_url' 

when trying to run Dataset.get even though I am passing correct dataset project, name and version arguments.
In the source code I can see that it is because helper object which is created from helper = StorageHelper.get(remote_url) is None, but I have no idea why is that since the remote_url is pointing to correct location. Any hints?

  
  
Posted one year ago
Votes Newest

Answers 11


from clearml import Dataset
dataset = Dataset.get(
        dataset_project,
        dataset_name,
        dataset_version)

It is just that - the Dataset is stored in Azure Storage Account.

  
  
Posted one year ago

I also checked the account_name and account_key from clearml.conf file but it seems fine.

  
  
Posted one year ago

Hi @<1566596960691949568:profile|UpsetWalrus59> , can you add a standalone code snippet that reproduces this behavior?

  
  
Posted one year ago

and previously I was able to retrieve it, I think the trouble started after I finalized dataset.

  
  
Posted one year ago

And you made sure that the file is on the blob?

  
  
Posted one year ago

What version of clearml are you using?

  
  
Posted one year ago

1.10.3

  
  
Posted one year ago

Yes, I can see it in the blob and it is not empty:
image

  
  
Posted one year ago

Dataset.get only fetches the dataset object, it doesn't try accessing files yet. What else are you doing in your code that reproduces your issue?

  
  
Posted one year ago

I reinstalled clearml and it works

  
  
Posted one year ago

Nothing else, is just import and this one line of Dataset.get

  
  
Posted one year ago
1K Views
11 Answers
one year ago
one year ago
Tags