serhii.net

In the middle of the desert you can say anything you want

09 Dec 2019

Day 343

Python unittest

  • When creating a TestCase, all vars set up in setUp should belong to the class – self.xxx
  • The functions run in alphabetical order but it’s not something I should depend on

Stack / ideas

Some kind of ML language switcher that trains on my input – I write something in L1, delete, write same keystrokes on L2 => training instance. Also based on window class and time maybe?

Tensorflow ‘could not find valid device for node’

“Could not find valid device for node.” while eagerly executing. - means wrong input type.

Nel mezzo del deserto posso dire tutto quello che voglio.