it's from the github issue you sent me but i don't know what the "application" part is or the "NV-InferRequest:...."
sure. Removing the task.connect(args_)
does not fix my situation
Ok, going to ask the server admins, will keep you posted, thanks!
@<1523701087100473344:profile|SuccessfulKoala55> hey Jake, how do i check how many envs it caches? doing ls -la .clearml/venvs-cache
gives me two folders
I am tagging AgitatedDove14 since I sort of need an answer asap...!
well.. it initially worked but now i get the same thing 😕 SuccessfulKoala55
well, i have run the keras mnist example that is in the clearml-serving READme. Now I'm just trying to send a request to make a prediction via curl
` Using cached repository in "/root/.clearml/vcs-cache/DeployKit_cloud.git.3e6952dd2fa4054e353465fe2d40daa3/DeployKit_cloud.git"
fatal: Could not read from remote repository. `
i'm not sure how to double check this is the case when it happens... usually we have all requirements specified with git repo
when an agent launches a task, it builds a venv, copies the code, runs it, etc. in my case, the code writes files (such as data it downloaded, or model files, etc) and writes them in subfolders. I'm interested in recovering the entire folder structure.
this is because if I run a different task, everything from the previous task is overwritten.
furthermore, I need the folder structure for other things downstream
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)
...
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, )
Hi CostlyOstrich36
I added this instruction at the very end of my postprocess
functionshutil.rmtree("~/.clearml")
Sent it to you via DM!
Same thing SuccessfulKoala55 😞
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
can you elaborate a bit on the token side? i'm not sure exactly what would be a bad practice here
using clearML agent