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 11 months ago
Votes Newest

Answers 11


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 11 months ago

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

  
  
Posted 11 months ago

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 11 months ago

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

  
  
Posted 11 months ago

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

  
  
Posted 11 months ago

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

  
  
Posted 11 months ago

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

  
  
Posted 11 months ago

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

  
  
Posted 11 months ago

What version of clearml are you using?

  
  
Posted 11 months ago

I reinstalled clearml and it works

  
  
Posted 11 months ago

1.10.3

  
  
Posted 11 months ago
552 Views
11 Answers
11 months ago
11 months ago
Tags