models icon indicating copy to clipboard operation
models copied to clipboard

Slim resnet v1 model fine-tune and pre-trained weights for resnet v2

Open lliu25 opened this issue 9 years ago • 5 comments

https://github.com/tensorflow/models/issues/391 has discussed the problem of "is_training" parameter during fine-tuning. However it is still a bit confusing. For resnet v1 in tf.contrib.slim, is_training is only for batch_norm, and for resnet v1 in tensorflow/models/slim (which is in this issue's scope), is_training is for all the parameters. And in practice, the performance of fine-tuning is better by setting is_training=False for model in tf.contrib.slim (the dataset I want to fine tune on is bit large, I usually run 20,000 iters). The performance of setting is_training=True in model under tensorflow/model is poor. I am not sure if this happens to others, but is there any general rules or guide on using which resnet model? The one under tf.contrib.slim or tensorflow/models?

Meanwhile, is there any chance of providing pre-trained weights for resnet v2? Thanks!

lliu25 avatar Apr 01 '17 20:04 lliu25

@shlens can comment further, but I believe that we have been focusing mostly on tf.contrib.slim to be our definitive version

aselle avatar Apr 01 '17 22:04 aselle

@aselle I see. So is there any plan to add more pre-trained weights? and maybe more models? thanks!

lliu25 avatar Apr 03 '17 20:04 lliu25

@lliu25, we are working on improving our supported models infrastructure so that we can provide more pre-trained checkpoints and models.

aselle avatar Apr 04 '17 17:04 aselle

@aselle thank you so much.

lliu25 avatar Apr 04 '17 18:04 lliu25

Automatically closing due to lack of recent activity. Please update the issue when new information becomes available, and we will reopen the issue. Thanks!

karmel avatar Feb 24 '18 17:02 karmel