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
Hi People, I Looked On This Line When Trains Try To Save Image.

Hi people,
I looked on this line when trains try to save image.
https://github.com/allegroai/trains/blob/772fd7f7508d0f5b31428084856b2e5485a013e2/trains/binding/frameworks/tensorflow_bind.py#L411
Why not use get instead? I got key error.
I fixed few lines using get function and checks in the _decode_image method and now it works.
Last time this file modified was in nov19 so it no so up to date

  
  
Posted 4 years ago
Votes Newest

Answers 7


Thanks CharmingShrimp37 !
Could you PR the fix ?
It will be just in time for the 0.16 release 🙂

  
  
Posted 4 years ago

done

  
  
Posted 4 years ago

yea no problem 🙂

  
  
Posted 4 years ago

AgitatedDove14 I would like a little help in the PR. I checkout to a new branch, made the changes but I can't push it to the remote repo. What do I need to do now?

  
  
Posted 4 years ago

Hi CharmingShrimp37
Go to Github to your newly forked repo, you should have a green button suggesting to take your branch and making it a PR. It is that simple 🙂

  
  
Posted 4 years ago

ok will try

  
  
Posted 4 years ago

Let me know if there is an issue 🙂

  
  
Posted 4 years ago
1K Views
7 Answers
4 years ago
one year ago
Tags