Commit d93ffd0b authored by Xin Pan's avatar Xin Pan
Browse files

Allow softplacement for ResNet

parent 6515a419
......@@ -58,7 +58,8 @@ def train(hps):
save_summaries_secs=60,
save_model_secs=300,
global_step=model.global_step)
sess = sv.prepare_or_wait_for_session()
sess = sv.prepare_or_wait_for_session(
config=tf.ConfigProto(allow_soft_placement=True))
step = 0
lrn_rate = 0.1
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment