tensorpack is still in early development, and API changes can happen. The backward compatibilty will be preserved for several months, with a deprecation warning, so you won't need to look at here very often.
Here are a list of things that were changed, starting from an early version. TensorFlow itself also changed APIs before 1.0 and those are not listed here.
- 2017/06/07. Now the library explicitly depends on msgpack-numpy>=0.3.9. The serialization protocol becomes incompatible if you've been using <0.3.9.
- 2017/05/06.
replace_get_variablewas deprecated in favor of the officialcustom_getterinterface.{freeze,remap}_get_variablewas renamed to{freeze,remap}_variables. - 2017/04/09.
ParamRestorewas renamed toDictRestore. - 2017/03/16.
session_configoption inPredictConfigis deprecated. Usesession_creatorto define how to create session instead. - 2017/02/20. The interface of step callbacks are changed to be the same as
tf.train.SessionRunHook. If you haven't written any custom step callbacks, there is nothing to do. Otherwise please refer to the existing callbacks. - 2017/02/12.
TrainConfig(optimizer=)was deprecated. Now optimizer is set inModelDesc. And gradient processors become part of an optimizer.
- 2017/02/11.
_get_input_vars()inModelDescwas renamed to_get_inputs.InputVarwas renamed toInputDesc. - 2017/01/27.
TrainConfig(step_per_epoch)was renamed tosteps_per_epoch. - 2017/01/25.
Argument order of
models.ConcatWithis changed to follow the API change in TensorFlow upstream. - 2017/01/25.
TrainConfig(callbacks=)now takes a list ofCallbackinstances. - 2017/01/06.
summary.add_moving_summarynow takes any number of positional arguments instead of a list. - 2017/01/05.
The argument
TrainConfig(dataset=)is renamed toTrainConfig(dataflow=). - 2016/12/15.
The
predict_toweroption is inTrainConfignow instead ofTrainer. - 2016/11/10.
The
{input,output}_var_namesargument inPredictConfigis renamed to{input,output}_names. - 2016/11/06.
The inferencer
ClassificationErrornow expects the vector tensor returned byprediction_incorrectinstead of the "wrong" tensor. - 2016/10/17.
Conv2DandFullyConnectusetf.identityby default instead oftf.nn.relu. - 2016/09/01.
The method
_build_graphofModelDescdoesn't takeis_trainingargument anymore. Theis_trainingattribute can be obtained from tower context. - 2016/05/15.
The method
_get_costofModelDescis replaced by_build_graph.