Skip to content

Instantly share code, notes, and snippets.

@thepycoder
Created August 16, 2022 11:14
Show Gist options
  • Save thepycoder/16ca144959eb289cee102ab8f790f683 to your computer and use it in GitHub Desktop.
Save thepycoder/16ca144959eb289cee102ab8f790f683 to your computer and use it in GitHub Desktop.
Executing remotely
# ...
# Loggers
data_dict = None
if RANK in {-1, 0}:
loggers = Loggers(save_dir, weights, opt, hyp, LOGGER) # loggers instance
if loggers.clearml:
loggers.clearml.task.execute_remotely(queue='my_queue') # <------ ADD THIS LINE
# Data_dict is either None is user did not choose for ClearML dataset or is filled in by ClearML
data_dict = loggers.clearml.data_dict
# ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment