CondConv-tensorflow icon indicating copy to clipboard operation
CondConv-tensorflow copied to clipboard

temperature annealing

Open wbchao1997 opened this issue 4 years ago • 1 comments

The temperature reduces with the training epochs can further improves the accuracy according to the paper, do you know how to implement this? I didn't figure out a proper way using tensorflow.

wbchao1997 avatar May 15 '21 14:05 wbchao1997

The temperature is an attribute of class Routing. Therefore, its value can be modified in each epoch. What you need to do is to use the Tensorflow API to find the Routing object of the model, and then directly assign a new value to the temperature of the Routing object.

prstrive avatar Jun 16 '21 02:06 prstrive