mirror of
https://github.com/lltcggie/waifu2x-caffe.git
synced 2025-06-26 13:42:48 +00:00
batch_sizeを指定した場合、ネットに入力するデータのサイズが間違っていたのを優勢
This commit is contained in:
parent
0cb997f2b7
commit
4942a6d07b
@ -455,7 +455,7 @@ Waifu2x::eWaifu2xError Waifu2x::ReconstructImage(boost::shared_ptr<caffe::Net<fl
|
||||
}
|
||||
|
||||
// ネットワークに画像を入力
|
||||
input_layer->Reset(block, dummy_data, input_block_plane_size * batch_size);
|
||||
input_layer->Reset(block, dummy_data, input_block_plane_size * processNum);
|
||||
|
||||
// 計算
|
||||
auto out = net->ForwardPrefilled(nullptr);
|
||||
|
Loading…
x
Reference in New Issue
Block a user