我刚刚开始学习tensorlayer,这是一个基于tensorflow框架的优秀的高级包装器,用于深度学习。有人知道如何做参数网格搜索来调优DNN吗?有没有什么方法可以让我使用sklearn中的GridSearchCV来调优tensorlayer中的网络参数?非常感谢。
发布于 2018-04-29 23:18:26
你可以做这样的事情。
for .... (different hyper-parameter):
with tf.Graph().as_default() as graph: # clear all variables of TF
tl.layers.clear_layers_name() # clear all layer name of TL
sess = tf.InteractiveSession()
# define and train a new model herehttps://stackoverflow.com/questions/42333971
复制相似问题