Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Profile picture
SmarmyDolphin68
Moderator
8 Questions, 47 Answers
  Active since 10 January 2023
  Last activity one year ago

Reputation

0

Badges 1

40 × Eureka!
0 Votes
30 Answers
491 Views
0 Votes 30 Answers 491 Views
Hi, I am trying to upload a plot to an existing task using the old_task = Task.get_task() function and then calling old_task.get_logger().report_matplotlib_f...
3 years ago
0 Votes
1 Answers
417 Views
0 Votes 1 Answers 417 Views
Hi, I have a CSV file that I want to upload to my Trains experiment. Is there any functionality in trains that automatically converts the CSV and converts it...
3 years ago
0 Votes
24 Answers
474 Views
0 Votes 24 Answers 474 Views
Hey folks, when I run clearml-init on an 'on-premise' server (which can only be accessed via VPN) it gives an error and fails to create the clearml.conf file...
3 years ago
0 Votes
30 Answers
596 Views
0 Votes 30 Answers 596 Views
Hi, I'm trying to upload an artifact to my connected Azure Storage Container with from trains import Task task = Task.init(project_name="Test", task_name="te...
3 years ago
0 Votes
2 Answers
487 Views
0 Votes 2 Answers 487 Views
Hey, I was just exploring the UI, is there any way to add custom notes for a model like observations and conclusions for any experiment?
3 years ago
0 Votes
4 Answers
480 Views
0 Votes 4 Answers 480 Views
2 years ago
0 Votes
2 Answers
538 Views
0 Votes 2 Answers 538 Views
Hey, I see this in between my training epochs, what could be causing this? Because I see no affect of the following INFO on the training or reporting to Clea...
2 years ago
0 Votes
2 Answers
616 Views
0 Votes 2 Answers 616 Views
3 years ago
0 Hi, I Am Trying To Upload A Plot To An Existing Task Using The

I tried it, and it is uploading it to Debug Samples ( Task.get_task() ) with task.get_logger().report_matplotlib_figure() , but with a Task.init() , it's uploading it to Plots.

Checking with the RC package now

3 years ago
0 Hi, I Am Trying To Upload A Plot To An Existing Task Using The

Okay, my bad, the code snippet I sent is correctly uploading it to 'Plots' but in the actual script I use this:
` def plot_graphs(input_df,output_df,task):

# Plotting all the graphs
for metric in df_cols:


    # Assigning X and Y axes data
    in_x = input_df["frameNum"]
    in_y = input_df[metric]
    out_x = output_df["frameNum"]
    out_y = output_df[metric]

    # Creating a new figure
    plt.figure()

    plt.xlabel('Frame Number')
    ...
3 years ago
0 Hi, I Am Trying To Upload A Plot To An Existing Task Using The

` from trains import Task
import matplotlib.pyplot as plt
import numpy as np
import time

task = Task.get_task(task_id='task_id')

for i in range(0,10):

x_1 = np.random.rand(50)
y_1 = np.random.rand(50)

x_2 = np.random.rand(50)
y_2 = np.random.rand(50)
plt.figure()
plt.scatter(x_1, y_1, alpha=0.5)
plt.scatter(x_2, y_2, alpha=0.5)
# Plot will be reported automatically
# plt.show()
task.get_logger().report_matplotlib_figure(title="My Plot Title", serie...
3 years ago
0 Hi, I Am Trying To Upload A Plot To An Existing Task Using The

Oh! With the sleep() function? Let me try it again

3 years ago
0 Hi, I Am Trying To Upload A Plot To An Existing Task Using The

It's going to Debug Samples with the RC too

3 years ago
0 Hi, I Am Trying To Upload A Plot To An Existing Task Using The

Are you doing 

plt.imshow

Nope

And yes, I set the report_image=False

3 years ago
3 years ago
0 Hi, I Am Trying To Upload A Plot To An Existing Task Using The

Understood, I'll look into it!

My use case is that, let's say I'm training with a file called train.py in which I have Task.init() , now after the training is finished, I generate some more graphs with a file called graphs.py and want to attach/upload to this training task which has finished. That's when I realised Task.get_task() is not working as intended, but it is when I have a Task.init() before it.

3 years ago
0 Hi, I Am Trying To Upload A Plot To An Existing Task Using The

AgitatedDove14 , here's the code snippet you requested

3 years ago
0 Hi, I Am Trying To Upload A Plot To An Existing Task Using The

AgitatedDove14 , thanks a lot! I'll get back with a script in a day or two.

3 years ago
0 Hi, I Am Trying To Upload A Plot To An Existing Task Using The

Indeed, sleep() did the trick but it's going into the Debug Samples tab and not the Plots, any reason why? Earlier (with Task.init() followed by Task.get_task() ) the same plt plots got reported to 'Plots'.

3 years ago
0 Hi, I Am Trying To Upload A Plot To An Existing Task Using The

No, the sample code I sent above works as intended, uploads to 'Plots'. But the main code that I've written, which is almost exactly similar to the sample code behaves differently.

3 years ago
0 Hi, I Am Trying To Upload A Plot To An Existing Task Using The

0.16.1-320

you mean 0.16?

Ah my bad, I picked up the version from docker-compose file :D

3 years ago
0 Hi, I Am Looking To Upload "Already Trained Models" As Experiments In My Clearml Server. How Should I Go About Doing That? Clearml Picks Up The Tensorboard Automatically While It'S Training And Reports It But How Would I Do This If I Had Everything Alread

AgitatedDove14 , Let me clarify, I meant, let's say I have all the data like checkpoints, test and train logdirs, scripts that were used to train a model. So, how would I upload all of that to the ClearML server without retraining a model, so that the 'Scalars', 'Debug Samples', 'Hyperparameters', everything show up on ClearML server like they generally do?

2 years ago
0 Hi, I'M Trying To Upload An Artifact To My Connected Azure Storage Container With

Oh it worked! I did the pip install multiple times earlier, but to no avail. I think it's because of the env variables? Let me try to unset those and provide it within the trains.conf

3 years ago
0 Hi, I'M Trying To Upload An Artifact To My Connected Azure Storage Container With

I did that, and it works flawlessly. I swear I installed the Azure blob storage package multiple times, anyway thanks a lot again for the detailed debugging O:)

3 years ago
0 Hi, I'M Trying To Upload An Artifact To My Connected Azure Storage Container With

` 2020-12-03 13:31:27,296 - trains.storage - ERROR - Azure blob storage driver not found. Please install driver using "pip install 'azure.storage.blob>=2.0.1'"
Traceback (most recent call last):
File "test.py", line 3, in <module>
task = Task.init(project_name="Test", task_name="debugging")
File "/home/sam/VirtualEnvs/test/lib/python3.8/site-packages/trains/task.py", line 461, in init
task.output_uri = cls.__default_output_uri
File "/home/sam/VirtualEnvs/test/lib/python3.8/site-...

3 years ago
0 Hi, I'M Trying To Upload An Artifact To My Connected Azure Storage Container With

Ahh okay, commented out the whole thing and got the same error as earlier ( Could not get access credentials )

3 years ago
0 Hi, I'M Trying To Upload An Artifact To My Connected Azure Storage Container With

This is the whole error dump:
`
2020-12-03 13:31:27,296 - trains.storage - ERROR - Azure blob storage driver not found. Please install driver using "pip install 'azure.storage.blob>=2.0.1'"
Traceback (most recent call last):
File "test.py", line 3, in <module>
task = Task.init(project_name="Test", task_name="debugging")
File "/home/sam/VirtualEnvs/test/lib/python3.8/site-packages/trains/task.py", line 461, in init
task.output_uri = cls.__default_output_uri
File "/home/sam/Virtu...

3 years ago
0 Hi, I'M Trying To Upload An Artifact To My Connected Azure Storage Container With

It says container name is optional in azure.storage , if I don't provide the container name, and remove it from the end of default_uri , would that work?

3 years ago
0 Hi, I'M Trying To Upload An Artifact To My Connected Azure Storage Container With

I tried setting the variables with export but got this error:
` Traceback (most recent call last):
File "test.py", line 1, in <module>
from trains import Task
File "/home/sam/VirtualEnvs/test/lib/python3.8/site-packages/trains/init.py", line 4, in <module>
from .task import Task
File "/home/sam/VirtualEnvs/test/lib/python3.8/site-packages/trains/task.py", line 28, in <module>
from .backend_interface.metrics import Metrics
File "/home/sam/VirtualEnvs/test/lib/pyth...

3 years ago
0 Hi, I'M Trying To Upload An Artifact To My Connected Azure Storage Container With

Should we also provide credentials for the Storage Account on the Web UI under 'Profile' section?

3 years ago
0 Hi, I'M Trying To Upload An Artifact To My Connected Azure Storage Container With

This is what I get with the ' https:// ' , this is atleast getting a response from Azure
` 2020-12-03 13:48:49,667 - trains.Task - INFO - No repository found, storing script code instead
TRAINS results page: http://<IP>:8080/projects/<hash>/output/log
2020-12-03 13:48:51,505 - trains.Task - INFO - Waiting for repository detection and full package requirement analysis
2020-12-03 13:48:53,315 - trains.Task - INFO - Finished repository detection and package analysis
2020-12-03 13:48:53,315 -...

3 years ago
Show more results compactanswers