Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

training after an epoch initial checpoint still from pretrained model #22

Open
LiuPearl1 opened this issue Dec 11, 2018 · 0 comments
Open

Comments

@LiuPearl1
Copy link

I have succeeded in training. After one epoch, the model restore and Initialize variable. But I find the variable were initialized from pretrained model. Does this mean that the variable in ResNet are not changed after training?

Like this:
learning_rate = 0.006867579, cross_entropy = 0.716586, train_px_accuracy = 0.81120086, train_mean_iou = 0.3955025 (17.789 sec) INFO:tensorflow:learning_rate = 0.006865475, cross_entropy = 0.43522605, train_px_accuracy = 0.8115431, train_mean_iou = 0.3969977 (17.650 sec) INFO:tensorflow:learning_rate = 0.0068633705, cross_entropy = 0.40337503, train_px_accuracy = 0.8122774, train_mean_iou = 0.3994764 (17.608 sec) INFO:tensorflow:learning_rate = 0.006861266, cross_entropy = 0.2647943, train_px_accuracy = 0.8138005, train_mean_iou = 0.40384638 (17.601 sec) INFO:tensorflow:Saving checkpoints for 662 into ./model/aspp_dense_attention/model.ckpt. INFO:tensorflow:Loss for final step: 11.729751. INFO:tensorflow:Start training. INFO:tensorflow:Calling model_fn. INFO:tensorflow:Initialize variable resnet_v2_101/block1/unit_1/bottleneck_v2/conv1/BatchNorm/beta:0 from checkpoint ./ini_checkpoints/resnet_v2_101/resnet_v2_101.ckpt with resnet_v2_101/block1/unit_1/bottleneck_v2/conv1/BatchNorm/beta INFO:tensorflow:Initialize variable resnet_v2_101/block1/unit_1/bottleneck_v2/conv1/BatchNorm/gamma:0 from checkpoint ./ini_checkpoints/resnet_v2_101/resnet_v2_101.ckpt with resnet_v2_101/block1/unit_1/bottleneck_v2/conv1/BatchNorm/gamma INFO:tensorflow:Initialize variable resnet_v2_101/block1/unit_1/bottleneck_v2/conv1/BatchNorm/moving_mean:0 from checkpoint ./ini_checkpoints/resnet_v2_101/resnet_v2_101.ckpt with resnet_v2_101/block1/unit_1/bottleneck_v2/conv1/BatchNorm/moving_mean...........

Can you explain it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant