clearml-server
clearml-server copied to clipboard
Erratic behavior of the "debug sample" visualizer
I am experiencing erratic behavior of the "debug sample" visualizer.
I am uploading some image to an experiement that is in the "completed" state,
Sometime (but not always), the visualizer does not allow me to click on the left/right arrow to visualize other samples (like if there was no other sample available)
sorry if I do not have a better reproduction pipeline, The behavior is quite random, but was observed on 2 different machines, (both chrome and firefox).
from clearml import Task
from PIL import Image
import numpy as np
# Connect to your experiment
task = Task.get_task(task_id="<your_id>")
# Generate and log multiple images
mylist = [1000, 1001,1002,1003, 1007, 1005]
for i in mylist: # Numbe of images to upload
# Create a random image
image_array = np.random.randint(0, 255, (100, 100, 3), dtype=np.uint8)
image = Image.fromarray(image_array)
# Save the image locally
image_path = f"example_image_{i}.png"
image.save(image_path)
# Upload the image with unique iteration
task.get_logger().report_image(
title="Image",
series="Generated Images", # Use the same series name
iteration=i, # Unique iteration number
local_path=image_path,
)
clearML server: 1.16.2 clearML python package: 1.16.4