You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there anybody able to explain why in dump_tensorflow_weights.py:
(1) line 67:
caffe_weights = data.transpose(3, 2, 0, 1)
(2) line 85-86:
new_weights[:, 0] = tmp[:, 1] * 0.5
new_weights[:, 1] = tmp[:, 0] * 0.5
In (1), I know tensorflow uses NHWC format and caffe uses NCHW format so that I cannot realize why transposes (3,2,0,1)
In(2), sincerely request a help to know why it has to make new caffe weight a half of old caffe weight if BoxPredictor_0/BoxEncodingPredictor/weights
The text was updated successfully, but these errors were encountered:
Is there anybody able to explain why in dump_tensorflow_weights.py:
(1) line 67:
caffe_weights = data.transpose(3, 2, 0, 1)
(2) line 85-86:
new_weights[:, 0] = tmp[:, 1] * 0.5
new_weights[:, 1] = tmp[:, 0] * 0.5
In (1), I know tensorflow uses NHWC format and caffe uses NCHW format so that I cannot realize why transposes (3,2,0,1)
In(2), sincerely request a help to know why it has to make new caffe weight a half of old caffe weight if BoxPredictor_0/BoxEncodingPredictor/weights
The text was updated successfully, but these errors were encountered: