deeplab-training icon indicating copy to clipboard operation
deeplab-training copied to clipboard

Shapes must be equal rank, but are 0 and 1

Open cmdrootaccess opened this issue 5 years ago • 4 comments

after running sh train-pqr.sh am getting the error

ValueError: Shapes must be equal rank, but are 0 and 1
        From merging shape 0 with other shapes. for 'pad_to_bounding_box/stack_4' (op: 'Pack') with input shapes: [], [3].

cmdrootaccess avatar Mar 08 '20 11:03 cmdrootaccess

i changed your current input_preprocess.py to the one on https://raw.githubusercontent.com/tensorflow/models/master/research/deeplab/input_preprocess.py and its now training.

now sure what your changes were about. maybe you can explain

cmdrootaccess avatar Mar 08 '20 16:03 cmdrootaccess

@cmdrootaccess Hi, did the change worked for you? for me it's still the same issue

nazimcode avatar Apr 18 '20 11:04 nazimcode

@assasins353 For me it's helped.

AlexandraZajdel avatar Apr 22 '20 11:04 AlexandraZajdel