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 Guys, Just Wondering If Anyone Encountered This Error When Using The Pipeline Controller Object. I Simply Added A Step With The Step-Name And Base_Task_Id As Flags.

Hi guys, just wondering if anyone encountered this error when using the pipeline controller object. I simply added a step with the step-name and base_task_id as flags.

res = session.send(projects.GetAllRequest(name=exact_match_regex(project_name), only_fields=['id']))
AttributeError: 'property' object has no attribute 'send'

  
  
Posted 2 years ago
Votes Newest

Answers 16


and the clearml server version ?

  
  
Posted 2 years ago

Hey AgitatedDove14 , so i have gotten the latest server version (as shown in the image from the bottom right of the user profile page) and still no luck with a simple test example like this using clearml-1.0.6.rc2

from clearml import Task, StorageManager, Dataset, PipelineController

# Creating the pipeline
pipe = PipelineController(target_project= "pipeline-demo", default_execution_queue='128RAMv100', add_pipeline_tags=False)

pipe.add_step(name='predict', base_task_id='17cc79f0dae0426d9354fe08d979980a')

pipe.start()
# Wait until pipeline terminates
pipe.wait()
# cleanup everything
pipe.stop()
print('pipeline completed')

  
  
Posted 2 years ago

hmmm is this the latest?

  
  
Posted 2 years ago

AverageBee39 I cannot reproduce it 😞 (at least on the latest from Github)
I'm assuming the pipeline is created with target_project , anything else I need to add?

  
  
Posted 2 years ago

make sure you follow all the steps :
https://clear.ml/docs/latest/docs/deploying_clearml/upgrade_server_linux_mac
(basically make sure you get the latest docker-compose.yml and the pull it
curl -o /opt/clearml/docker-compose.yml docker-compose -f /opt/clearml/docker-compose.yml pull docker-compose -f /opt/clearml/docker-compose.yml up -d

  
  
Posted 2 years ago

AgitatedDove14 i'm still getting this error in 1.0.6rc2 tho

Exception in thread Thread-1:
Traceback (most recent call last):
File "/home/aaron/.pyenv/versions/3.7.8/lib/python3.7/threading.py", line 926, in _bootstrap_inner
self.run()
File "/home/aaron/.pyenv/versions/3.7.8/lib/python3.7/threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "/home/aaron/.pyenv/versions/dev_env/lib/python3.7/site-packages/clearml/automation/controller.py", line 937, in _daemon
if self._launch_node(self._nodes[name]) and not self._nodes[name].skip_job:
File "/home/aaron/.pyenv/versions/dev_env/lib/python3.7/site-packages/clearml/automation/controller.py", line 643, in _launch_node
project_name=self._target_project)
File "/home/aaron/.pyenv/versions/dev_env/lib/python3.7/site-packages/clearml/backend_interface/util.py", line 56, in get_or_create_project
res = session.send(projects.GetAllRequest(name=exact_match_regex(project_name), only_fields=['id']))
AttributeError: 'property' object has no attribute 'send'

  
  
Posted 2 years ago

Hmm can you test with the latest RC? or even better from the GitHub (that said the Github will break the interface, as we upgraded the pipeline 🙂 )

  
  
Posted 2 years ago

Hmm that's strange... AgitatedDove14 i'm using the 1.0.5 pypi package as well as the most recent server from this command - curl https://raw.githubusercontent.com/allegroai/trains-server/master/docker/docker-compose.yml -o docker-compose.yml (iirc it should be 1.1.1)

  
  
Posted 2 years ago

Oh that is odd... let me check something

  
  
Posted 2 years ago

The release was supposed to be out this week, got delayed by some py2 support issue, anyhow the release will be almost exactly like the latest we now have on the GitHub repo (and I'm assuming it will be out just after the weekend)

  
  
Posted 2 years ago

oh okay i assumed the new docker-compose would pull the latest image. erm i pulled the new image from docker and restarted the server. But it still seems to be sending me the same error tho

  
  
Posted 2 years ago

AgitatedDove14 yup it's with target project, the code was really just...

# Creating the pipeline
pipe = PipelineController(target_project= "pipeline-demo", default_execution_queue='default', add_pipeline_tags=False)
pipe.add_step(name='model-predict', base_task_id='17cc79f0dae0426d9354ds08d979980g')
pipe.start()
# Wait until pipeline terminates
pipe.wait()
# cleanup everything
pipe.stop()
print('pipeline completed')

  
  
Posted 2 years ago

Hi AverageBee39
What's the clearml-server and clearml packge you are using ?
(I looks like some capability that is missing from the server, i.e. needs upgrade ?!)

  
  
Posted 2 years ago

oh ahahah you meant the sdk right? yea i noticed some new pipeline functionalities...was gonna wait for an official release but yea sure i will try it. Thanks mate!

  
  
Posted 2 years ago

I think I found something, let me see if I can reproduce it

  
  
Posted 2 years ago
793 Views
16 Answers
2 years ago
one year ago
Tags