Reputation
Badges 1
39 × Eureka!from the clearml logs when setting up the clearml server using kubernetes
i'm looking at the server.py
file and it doesn't have call =
self.
create_api_call(request)
SuccessfulKoala55 do you mean request_handlers.py
you can try to update the clearml.conf
it has agent.cuda_version
i would greatly appreciate that!
i think the call is wrong
` [2022-08-18 20:58:49,892] [9] [INFO] [clearml.request_handlers] GET
[2022-08-18 20:58:49,895] [9] [INFO] [clearml.request_handlers] Basic NUtORklQWUIzM0tIVUFRNUI4SkM6eU4yUXE4RTNvWDlpYlBRVmF1NEpiQXZQMHlUdHozNUluZVY4ZkpuZXNTRnRYbmRlR3I=
[2022-08-18 20:58:49,904] [9] [INFO] [clearml.service_repo] Returned 200 for auth.login in 6ms
[2022-08-18 20:58:50,059] [9] [INFO] [clearml.request_handlers] GET
[2022-08-18 20:58:50,060] [9] [INFO] [clearml.request_handlers] Basic NUtORklQWUIzM0tIVUFRNUI4SkM...
i see what you are saying I dont thinl there would be anything on my system which might do that i can investigate
FLASK_DEBUG: "1"
-> should 1 be a string or int?
sure where do i patch it?
AgitatedDove14 yes it is a flask warning, i'm wondering why the clearml server isn't setup with wsgi?
Failed processing request
http://localhost:8008/auth.login : 'Logger' object is not callable
should it be http://log.info (...)
bugs i understand are better than ones i dont lol
since its a logger object
` from argparse import ArgumentParser
from flask import Flask
from apiserver.config_repo import config
from apiserver.server_init.app_sequence import AppSequence
from apiserver.server_init.request_handlers import RequestHandlers
app = Flask(name, static_url_path="/static")
AppSequence(app).start(request_handlers=RequestHandlers())
=================== MAIN =======================
if name == "main":
p = ArgumentParser(description=doc)
p.add_argument(
"--po...
SuccessfulKoala55 thanks alot for your help i greatly appreciate it, i think you are right that there is something happening with the request, I did some checking i can get it running on another computer (my non work computer), so i think you are right there must be something happening with my work related computer which is causing this to occur 😕 I'll keep trying to drill down on this issue on my work computer to see what the difference is, but I can atleast proceed now to as i g...
i got these extra logs
%env CLEARML_WEB_HOST={-----}
%env CLEARML_API_HOST={-----}
%env CLEARML_FILES_HOST=undefined
%env CLEARML_API_ACCESS_KEY={-----}
%env CLEARML_API_SECRET_KEY={-----}
import numpy as np
import matplotlib.pyplot as plt
import seaborn as sns
from clearml import Task
# Connecting ClearML with the current process,
# from here on everything is logged automatically
# Create a new task, disable automatic matplotlib connect
task = Task.init(project_name='Something', task_name='Something')
# Create plot and explicitly report as figure
N = 50
x = np.random.rand(N)
y = np.random.rand(N)
colors = np.random.rand(N)
area = (30 * np.random.rand(N))**2 # 0 to 15 ...
although i wish it would use the credentials in my clearml.conf file automatically
you can use Task.update_output_model()
to update the name of the output moel