assert self.binded

 
assert self.binded
Error code:

mod_new.bind(for_training=False,data_shapes=[('data',(1,3,data_shape_w,data_shape_w))],label_shapes=mod_new.label_shapes)
  File "D:\Anaconda3\lib\site-packages\mxnet\module\module.py", line 231, in label_shapes
    assert self.binded

 

resolvent:

Remove parameter: Label_ shapes

mod_new.bind(for_training=False,data_shapes=[('data',(1,3,data_shape_w,data_shape_w))])

 


Read More: