heaversm / deeplab-training

Training your own Deeplab Model in Tensorflow
37 stars 22 forks source link

Shapes must be equal rank, but are 0 and 1 #2

Open cmdrootaccess opened 4 years ago

cmdrootaccess commented 4 years ago

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 commented 4 years ago

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

nazimcode commented 4 years ago

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

AlexandraZajdel commented 4 years ago

@assasins353 For me it's helped.