hellochick / ICNet-tensorflow

TensorFlow-based implementation of "ICNet for Real-Time Semantic Segmentation on High-Resolution Images".
405 stars 153 forks source link

Dimension 0 in both shapes must be equal, but are 21 and 19. Shapes are [21] and [19]. for 'conv6_cls_2/Assign' (op: 'Assign') with input shapes: [21], [19]. #108

Closed caijh23 closed 5 years ago

caijh23 commented 5 years ago

I cannot train with my own dataset using the pretrained model icnet_cityscapes_train_30k_bnnomerge.npy

songshan0321 commented 4 years ago

How did u solve it? I get the same error even after doing this: restore_var = [v for v in tf.global_variables() if 'conv6_cls' not in v.name]