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
Hello All! I Was Wondering If Someone Of You Would Know About The Following: I Am Running A Simple Experiment In Colab Just To See How It Works, But It Seems That Clearml Is Not Capturing The Code I Want For The Experiment, Rather It Seems To Be Capturing

Hello all! I was wondering if someone of you would know about the following:
I am running a simple experiment in colab just to see how it works, but it seems that ClearML is not capturing the code I want for the experiment, rather it seems to be capturing like the code that executes a cell in colab. In the libraries for example I don't have the ones that I am using, I have

clearml == 1.13.1
google_cloud_storage == 2.8.0
ipykernel == 5.5.6
pyzmq == 23.2.1

  
  
Posted one year ago
Votes Newest

Answers 3


Hello!

Copyright 2023 Google Inc.

Licensed under the Apache License, Version 2.0 (the "License");

you may not use this file except in compliance with the License.

You may obtain a copy of the License at

None

Unless required by applicable law or agreed to in writing, software

distributed under the License is distributed on an "AS IS" BASIS,

WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

See the License for the specific language governing permissions and

limitations under the License.

"""Custom kernel launcher app to customize socket options."""

from ipykernel import kernelapp
import zmq

We want to set the high water mark on all sockets to 0, as we don't want

the backend dropping any messages. We want to set this before any calls to

bind or connect.

In principle we should override init_sockets, but it's hard to set options

on the zmq.Context there without rewriting the entire method. Instead we

settle for only setting this on iopub, as that's the most important for our

use case.

class ColabKernelApp(kernelapp.IPKernelApp):

def init_iopub(self, context):
context.setsockopt(zmq.RCVHWM, 0)
context.setsockopt(zmq.SNDHWM, 0)
return super().init_iopub(context)

if name == 'main':
ColabKernelApp.launch_instance()

  
  
Posted one year ago

I found a solution, you can create your training script in the space of colab, and then execute it from colab with

!python training.py

and training.py has all that needs from clearML, and it works perfectly!

  
  
Posted one year ago

Hi @<1628202899001577472:profile|SkinnyKitten28> ! What code do you see that is being captured?

  
  
Posted one year ago
974 Views
3 Answers
one year ago
one year ago
Tags
Similar posts