
Reputation
Badges 1
125 × Eureka!But where do you manually set the name of each task in this code? the .component
has a name
argument you can provide
logger.report_media( title=name_title, series="Nan", iteration=0, local_path=fig_nan, delete_after_upload=delete_after_upload, ) clearml_task.upload_artifact( name=name_title, artifact_object=fig_nan, wait_on_upload=True, )
So far I have taken one mnist image, and done the following:
` from PIL import Image
import numpy as np
def preprocess(img, format, dtype, h, w, scaling):
sample_img = img.convert('L')
resized_img = sample_img.resize((1, w*h), Image.BILINEAR)
resized = np.array(resized_img)
resized = resized.astype(dtype)
return resized
png img file
img = Image.open('./7.png')
preprocessed img, FP32 formated numpy array
img = preprocess(img, format, "float32", 28, 28, None)
...
Ok gotchu. I'll do that as soon as I can.
ah.. agent was on a different machine..
instead of, say, the binary the task was launched with
Not sure why it tries to establish some http connection, or why it's /
...
SuccessfulKoala55 I can't get it to work... I tried using the pip conf locally and it works, but the agent doesn't seem to be able to install the package
I think the issue is that the host is not trusted... it looks like it looks into the index
i expected to see 2 tasks running, and then when completed the remaining 2 could start. Is this not the expected behavior?
Right, I used --services-mode 2
and it still runs more than 2 tasks simultaneously
And then you'll hook it
tagging @<1523701205467926528:profile|AgitatedDove14> here just in case 😅
I can do curl
http://localhost:8080 but it's a remote server so unless I do X forwarding I can't browse it
does this make more sense? SuccessfulKoala55