xiaolai-sqlai / gluon-reid

A code gallery for person re-identification with mxnet-gluon, and I will reproduce many STOA algorithm.
176 stars 28 forks source link

the net can't be hybridized #7

Open mmchen88 opened 5 years ago

mmchen88 commented 5 years ago

when opt.hybridize=True AssertionError: Argument data must have NDArray type, but got Symbol resnet0_hybridsequential2_activation7 in the line: parts_2 = nd.split(x2, axis=2, num_outputs=2)

mmchen88 commented 5 years ago

when opt.hybridize=True x in the hybrid_forward(self, F, x) is a Symbol data, while when opt.hybridize=False x in the hybrid_forward(self, F, x) is a NDArray

Wengjpv commented 5 years ago

when opt.hybridize=True x in the hybrid_forward(self, F, x) is a Symbol data, while when opt.hybridize=False x in the hybrid_forward(self, F, x) is a NDArray

i met the problem too ,have you found the solution?