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
Answered
Hello, Does Anybody Know What Triggers A New Model To Be Added In A Project (Working In Pytorch) ? I'M New To Trains And Adding It To My Script Generated A Huge Amount Of Models (Almost 1 Per Datapoint I Would Say) And It Would Also Prompt

Hello, does anybody know what triggers a new model to be added in a project (working in Pytorch) ? I'm new to trains and adding it to my script generated a huge amount of models (almost 1 per datapoint I would say) and it would also prompt
trains.Task - INFO - Task connect, second input model is not supported, adding into comment sectionall the time. Anybody encountered that so far ?

  
  
Posted 4 years ago
Votes Newest

Answers 6


Hi MiniatureShells8
The torch.save triggers the model creation.
If you are using the same filename, then the same model in the system will be used.
New filenames will create new models.
What exactly is your use case ?

  
  
Posted 4 years ago

I think i've just found out what happened thanks to your reply. Basically my DataLoader is computing some preprocessing on the raw data on the first epoch and then saves the resulting tensors for them to be used in the further epochs... As i'm using torch.Save to save those tensors, it triggers the trains api.

  
  
Posted 4 years ago

You can disable it with:

Task.init('example', 'train', auto_connect_frameworks={'pytorch': False})

  
  
Posted 4 years ago

Okay good to know, doing that would mean i'll not have my models saved at all (they would be locally of course, but not visible on the trains app), only my tensorboard calls would be saved, is that correct ?

  
  
Posted 4 years ago

Correct 🙂

  
  
Posted 4 years ago

Okay thank you very much for your help, much appreciated ❤

  
  
Posted 4 years ago
992 Views
6 Answers
4 years ago
one year ago
Tags