Commit 6a2b761c authored by Ashwin Bharambe's avatar Ashwin Bharambe Committed by Facebook Github Bot

Change debug -> info, revert changes from D6826820

Reviewed By: rbgirshick

Differential Revision: D9133758

fbshipit-source-id: a698a637b294b7f2aef4c181cb47505187be3935
parent 40c39925
...@@ -91,7 +91,7 @@ def initialize_gpu_from_weights_file(model, weights_file, gpu_id=0): ...@@ -91,7 +91,7 @@ def initialize_gpu_from_weights_file(model, weights_file, gpu_id=0):
dst_name = core.ScopedName(unscoped_param_name) dst_name = core.ScopedName(unscoped_param_name)
has_momentum = src_name + '_momentum' in src_blobs has_momentum = src_name + '_momentum' in src_blobs
has_momentum_str = ' [+ momentum]' if has_momentum else '' has_momentum_str = ' [+ momentum]' if has_momentum else ''
logger.debug( logger.info(
'{:s}{:} loaded from weights file into {:s}: {}'.format( '{:s}{:} loaded from weights file into {:s}: {}'.format(
src_name, has_momentum_str, dst_name, src_blobs[src_name] src_name, has_momentum_str, dst_name, src_blobs[src_name]
.shape .shape
...@@ -129,7 +129,7 @@ def initialize_gpu_from_weights_file(model, weights_file, gpu_id=0): ...@@ -129,7 +129,7 @@ def initialize_gpu_from_weights_file(model, weights_file, gpu_id=0):
with c2_utils.CpuScope(): with c2_utils.CpuScope():
workspace.FeedBlob( workspace.FeedBlob(
'__preserve__/{:s}'.format(src_name), src_blobs[src_name]) '__preserve__/{:s}'.format(src_name), src_blobs[src_name])
logger.debug( logger.info(
'{:s} preserved in workspace (unused)'.format(src_name)) '{:s} preserved in workspace (unused)'.format(src_name))
......
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