MXNet version: pip install mxnet-cu80(1.5.0), OS: CentOS7
I try to use memonger_v2 in insightface(train_parall.py under insightface/recognition) as below:
from memonger_v2 import search_plan_to_layer
def get_symbol_embedding():
embedding = eval(config.net_name).get_symbol()
if config.memonger:
worker_data_shape = {'data' : (config.per_batch_size, 3, 112, 112)}
type_dict = {k: np.float32 for k in worker_data_shape}
last_block = ""
embedding = search_plan_to_layer(embedding, last_block, 1000, type_dict=type_dict, **worker_data_shape)
......
embedding is a dim=512 feature reduction layer after stride=16 feature map from resnet. All activation layer used in resnet is PReLU.
MXNet version: pip install mxnet-cu80(1.5.0), OS: CentOS7 I try to use memonger_v2 in insightface(train_parall.py under insightface/recognition) as below:
embedding
is a dim=512 feature reduction layer after stride=16 feature map from resnet. All activation layer used in resnet is PReLU.The memonger output is as below:
And also the error msg: