Closed inverai closed 5 years ago
self.model.bind(for_training = False, data_shapes=[('data', (self.batch_size, 3, 100, 100))])
change 1 to 3, then : ---> 22 self.model.forward(Batch([mxnet.nd.array(batch_data)])) MXNetError: [21:53:02] C:\Jenkins\workspace\mxnet-tag\mxnet\src\executor\graph_executor.cc:858: Shape of unspecifie arg: conv1_weight changed. This can cause the new executor to not share parameters with the old one. Please check for error in network.If this is intended, set partial_shaping=True to suppress this warning.
@inverai
Can you run the command python3 get_face_feature_v2_mxnet.py
or python3 get_face_feature_v3_mxnet.py
directly and can you get the right result?
...
---> 2 face_feature_extractor = MobileFaceFeatureExtractor(model_file, epoch, batch_size, context, gpu_id)