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
PompousBeetle71
Moderator
11 Questions, 49 Answers
  Active since 10 January 2023
  Last activity one year ago

Reputation

0

Badges 1

49 × Eureka!
0 Votes
2 Answers
1K Views
0 Votes 2 Answers 1K Views
4 years ago
0 Votes
9 Answers
1K Views
0 Votes 9 Answers 1K Views
Hi there, I'm training a pytorch model and save it every epoch. It seems like the model wights are overridden and I can't choose the best model after the exp...
4 years ago
0 Votes
7 Answers
1K Views
0 Votes 7 Answers 1K Views
Hi all, After solving my multiprocessing issue I've found the following issue: I have a machine with 2 GPUs. Starting an agent there specifying --gpus all di...
4 years ago
0 Votes
11 Answers
1K Views
0 Votes 11 Answers 1K Views
Hi everyone, Additional arguments to the script execution, is it possible? how can it be done? So at the moment when my script is being executed the sys.argv...
4 years ago
0 Votes
2 Answers
1K Views
0 Votes 2 Answers 1K Views
4 years ago
0 Votes
24 Answers
1K Views
0 Votes 24 Answers 1K Views
Hi there, I've encountered a problematic behavior in python. When defining an argument a default value of None connecting to trains server then copy the task...
4 years ago
0 Votes
6 Answers
1K Views
0 Votes 6 Answers 1K Views
I wanted to suggest something. We're creating a lot of projects and it starts getting a bit difficult to navigate through them. I think an option to have a h...
4 years ago
0 Votes
16 Answers
1K Views
0 Votes 16 Answers 1K Views
Hi, I'm getting a lot of the following logs trains.frameworks - WARNING - Could not retrieve model location, skipping auto model logging I'm fine with it and...
4 years ago
0 Votes
8 Answers
1K Views
0 Votes 8 Answers 1K Views
Hi, I'm having some issues that I can't seem to find where the problem is or how to solve it. I'm running some code on the worker when I'm trying to download...
4 years ago
0 Votes
8 Answers
1K Views
0 Votes 8 Answers 1K Views
Hi, another question. I tried to not auto_connect_arg_parser but in that case I need to do the Task.init before I'm parsing the arguments. I don't want that ...
4 years ago
0 Votes
13 Answers
1K Views
0 Votes 13 Answers 1K Views
Hi, I've recently upgraded to 0.15.1 from 0.14.2, and for some reason a code that previously worked in which I'm getting the tags of a model using InputModel...
4 years ago
0 Hi, I'Ve Recently Upgraded To 0.15.1 From 0.14.2, And For Some Reason A Code That Previously Worked In Which I'M Getting The Tags Of A Model Using

AgitatedDove14 You were right. I can get them as system tags.
I've wrote a class that wraps an training session and interaction with trains as upon loading/saving the experiment I need more than just the 'model.bin'
So I use these tags to match a specific aux files that were saved with their model.

4 years ago
0 Hi, I'Ve Recently Upgraded To 0.15.1 From 0.14.2, And For Some Reason A Code That Previously Worked In Which I'M Getting The Tags Of A Model Using

TimelyPenguin76 the tags names are 'Epoch 1', 'Step 5705'
the return value of the InputModel(<Put a string copy from the UI with the tag id>).tags is an empty array.

4 years ago
0 Hi, Another Question. I Tried To Not

I've solved the first part by importing trains after parsing the arguments. Still not sure about the second part of my question.

4 years ago
0 Hi, Another Question. I Tried To Not

AgitatedDove14 yes, exactly.

4 years ago
0 Hi, Another Question. I Tried To Not

AgitatedDove14
I think exclusion of arguments from the arg praser is a good idea.
Regarding the other parameters such as the working directory and script path. I just want to automate it as when running the script from my local machine for the "template" of the experiment it gets values that won't work when running in the worker. I just thought it can be automated from the code.

4 years ago
0 Hi All, After Solving My Multiprocessing Issue I'Ve Found The Following Issue: I Have A Machine With 2 Gpus. Starting An Agent There Specifying

AgitatedDove14 I can't try the new agent at the moment, the OS is Ubuntu 18.04 more specifically: amazon/Deep Learning Base AMI (Ubuntu 18.04) Version 22.0 and no docker. Running on the machine.

4 years ago
0 Hi All, After Solving My Multiprocessing Issue I'Ve Found The Following Issue: I Have A Machine With 2 Gpus. Starting An Agent There Specifying

AgitatedDove14 I'm using that code in the meanwhile
` ### This script checks the number of GPUs, create a list like 0,1,2...

Then adds '--gpus' before that list of GPUs

NUM_GPUS=nvidia-smi -L | wc -l
NUM_GPUS=$(($NUM_GPUS-1))
OUT=()
if [ $NUM_GPUS -ge 0 ]
then
for i in $(seq 0 $NUM_GPUS); do OUT+=( "$i" ); done
echo ${OUT[*]// /|} | tr ' ' ',' | awk '{print "--gpus "$1}'
else
echo ""
fi `

4 years ago
0 Hi Everyone, Additional Arguments To The Script Execution, Is It Possible? How Can It Be Done? So At The Moment When My Script Is Being Executed The

SuccessfulKoala55 No, that's not what I mean.
Take a look at the process in the machine:
/home/ubuntu/.trains/venvs-builds/3.6/bin/python -u path/to/script/my_script.py
That's how the process starts. Therefore, when I try to get sys.argv all I get is path/to/script/my_script.py .
I'm talking about allowing to have arguments that are not being injected to the argparse. So it will look like:
` /home/ubuntu/.trains/venvs-builds/3.6/bin/python -u path/to/script/my_script.py --...

4 years ago
0 Hi Everyone, Additional Arguments To The Script Execution, Is It Possible? How Can It Be Done? So At The Moment When My Script Is Being Executed The

I created a wrapper to work like executing python -m torch.distributed.launch --nproc_per_node 2 ./my_script.py but from my script. I do call trains.init in the subprocesses, I the actually difference between the subproceses supposed to be, in terms or arguments, local_rank that's all.It may be possible and that I'm not distributing the model between the GPUs in an optimal way or at least in a way that matches your framework.
If you have an example it would be great.

4 years ago
0 Hi Everyone, Additional Arguments To The Script Execution, Is It Possible? How Can It Be Done? So At The Moment When My Script Is Being Executed The

AgitatedDove14 Hi, So I solve that by passing to the created processes the arguments injected into the argprase as part of the commandline. The examples helped.

4 years ago
0 Hi, I'Ve Recently Upgraded To 0.15.1 From 0.14.2, And For Some Reason A Code That Previously Worked In Which I'M Getting The Tags Of A Model Using

AgitatedDove14 My solution actually works better when I want to copy the model + aux to a different s3 folder for deployment as the aux is very light and I can copy the model without downloading it. But thanks for the suggestion.

4 years ago
0 Hi, I'M Getting A Lot Of The Following Logs

I actually tried to print the logging.getLogger("trains.frameworks").level and it was ERROR as expected. Therefore I'm not quite sure that's the problem... next I thought to patch your functions.

4 years ago
0 Hi, I'M Getting A Lot Of The Following Logs

the solution that worked: [logging.getLogger(name).setLevel(logging.ERROR) for name in logging.root.manager.loggerDict if "trains" in name]

4 years ago
0 Hi, I'M Getting A Lot Of The Following Logs

AgitatedDove14 It didn't help 😕

4 years ago
0 Hi, I'M Getting A Lot Of The Following Logs

AgitatedDove14 thanks, I'll try

4 years ago
0 Hi, I'M Getting A Lot Of The Following Logs

AgitatedDove14
These were the loggers names I can see locally running the code, it might differ running remotely.
['trains.utilities.pyhocon.config_parser', 'trains.utilities.pyhocon', 'trains.utilities', 'trains', 'trains.config', 'trains.storage', 'trains.metrics', 'trains.Repository Detection']
regarding repreduce it, have a long data processing after initializing the task and before setting the input model/output model.

4 years ago
0 Hi, I'M Getting A Lot Of The Following Logs

AgitatedDove14 I've tried the drastic measure suggested above as I had a log file of 1gb filled with the trains.frameworks - WARNING - Could not retrieve model location, skipping auto model logging
It didn't work :S

4 years ago
0 Hi, I'M Getting A Lot Of The Following Logs

AgitatedDove14 Drastic indeed, I belive I will lose all the trains logs that way. In that case I prefer to keep the redundant logs.
If you'll find a more specific solution I'll love to know what it is 🙂

4 years ago
Show more results compactanswers